Home
last modified time | relevance | path

Searched +defs:dev +defs:off (Results 1 – 25 of 200) sorted by relevance

12345678

/aosp_15_r20/external/coreboot/src/device/
H A Di2c_bus.c11 bool i2c_dev_detect(struct device *dev, unsigned int addr) in i2c_dev_detect()
19 struct bus *i2c_link(const struct device *const dev) in i2c_link()
45 int i2c_dev_readb(struct device *const dev) in i2c_dev_readb()
73 int i2c_dev_writeb(struct device *const dev, uint8_t val) in i2c_dev_writeb()
95 int i2c_dev_readb_at(struct device *const dev, uint8_t off) in i2c_dev_readb_at()
132 int i2c_dev_writeb_at(struct device *const dev, const uint8_t off, const uint8_t val) in i2c_dev_writeb_at()
155 int i2c_dev_read_at16(struct device *const dev, uint8_t *const buf, const size_t len, in i2c_dev_read_at16()
156 uint16_t off) in i2c_dev_read_at16()
191 int i2c_dev_read_at(struct device *const dev, uint8_t *const buf, const size_t len, in i2c_dev_read_at()
192 uint8_t off) in i2c_dev_read_at()
[all …]
/aosp_15_r20/external/mesa3d/src/freedreno/drm/virtio/
H A Dvirtio_bo.c139 bo_upload(struct fd_bo *bo, unsigned off, void *src, unsigned len) in bo_upload()
163 virtio_bo_upload(struct fd_bo *bo, void *src, unsigned off, unsigned len) in virtio_bo_upload()
238 bo_from_handle(struct fd_device *dev, uint32_t size, uint32_t handle) in bo_from_handle()
274 virtio_bo_from_handle(struct fd_device *dev, uint32_t size, uint32_t handle) in virtio_bo_from_handle()
297 virtio_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags) in virtio_bo_new()
/aosp_15_r20/external/coreboot/util/intelmetool/
H A Dme.c15 #define read32(addr, off) ( *((uint32_t *) (addr + off)) ) argument
16 #define write32(addr, off, val) ( *((uint32_t *) (addr + off)) = val) argument
95 static inline void pci_read_dword_ptr(struct pci_dev *dev, void *ptr, uint32_t offset) in pci_read_dword_ptr()
566 uint32_t intel_mei_setup(struct pci_dev *dev) in intel_mei_setup()
598 int intel_me_extend_valid(struct pci_dev *dev) in intel_me_extend_valid()
/aosp_15_r20/external/linux-kselftest/tools/testing/selftests/net/
H A Dtap.c83 static int dev_create(const char *dev, const char *link_type, in dev_create()
143 static int dev_delete(const char *dev) in dev_delete()
400 size_t off; in TEST_F() local
412 size_t off; in TEST_F() local
424 size_t off; in TEST_F() local
/aosp_15_r20/external/trusty/arm-trusted-firmware/lib/debugfs/
Ddev.c217 chan_t *attach(int id, int dev) in attach()
233 chan_t *devattach(int id, int dev) in devattach()
657 int seek(int fd, long off, int whence) in seek()
695 int deverrseek(chan_t *channel, long off, int whence) in deverrseek()
704 int devseek(chan_t *channel, long off, int whence) in devseek()
/aosp_15_r20/external/arm-trusted-firmware/lib/debugfs/
H A Ddev.c217 chan_t *attach(int id, int dev) in attach()
233 chan_t *devattach(int id, int dev) in devattach()
657 int seek(int fd, long off, int whence) in seek()
695 int deverrseek(chan_t *channel, long off, int whence) in deverrseek()
704 int devseek(chan_t *channel, long off, int whence) in devseek()
/aosp_15_r20/external/mesa3d/src/freedreno/drm/
H A Dfreedreno_bo.c74 fd_bo_init_common(struct fd_bo *bo, struct fd_device *dev) in fd_bo_init_common()
97 import_bo_from_handle(struct fd_device *dev, uint32_t size, uint32_t handle) in import_bo_from_handle()
121 bo_new(struct fd_device *dev, uint32_t size, uint32_t flags, in bo_new()
161 _fd_bo_new(struct fd_device *dev, uint32_t size, uint32_t flags) in _fd_bo_new()
181 fd_bo_new_ring(struct fd_device *dev, uint32_t size) in fd_bo_new_ring()
193 fd_bo_from_handle(struct fd_device *dev, uint32_t handle, uint32_t size) in fd_bo_from_handle()
220 fd_handle_from_dmabuf_drm(struct fd_device *dev, int fd) in fd_handle_from_dmabuf_drm()
230 fd_bo_from_dmabuf_drm(struct fd_device *dev, int fd) in fd_bo_from_dmabuf_drm()
266 fd_bo_from_dmabuf(struct fd_device *dev, int fd) in fd_bo_from_dmabuf()
272 fd_bo_from_name(struct fd_device *dev, uint32_t name) in fd_bo_from_name()
[all …]
/aosp_15_r20/external/coreboot/payloads/libpayload/drivers/storage/
H A Dnvme.c61 static storage_poll_t nvme_poll(struct storage_dev *dev) in nvme_poll()
139 static void nvme_detach_device(struct storage_dev *dev) in nvme_detach_device()
208 struct storage_dev *const dev, in nvme_read_blocks512()
211 unsigned int off = 0; in nvme_read_blocks512() local
317 static void nvme_init(pcidev_t dev) in nvme_init()
401 void nvme_initialize(struct pci_dev *dev) in nvme_initialize()
/aosp_15_r20/external/trusty/arm-trusted-firmware/plat/rpi/rpi4/
Drpi4_pci_svc.c49 uint32_t bus, dev, fun; in pci_segment_lib_get_base() local
111 uint32_t pci_read_config(uint32_t addr, uint32_t off, uint32_t sz, uint32_t *val) in pci_read_config()
160 uint32_t pci_write_config(uint32_t addr, uint32_t off, uint32_t sz, uint32_t val) in pci_write_config()
/aosp_15_r20/external/arm-trusted-firmware/plat/rpi/rpi4/
H A Drpi4_pci_svc.c49 uint32_t bus, dev, fun; in pci_segment_lib_get_base() local
111 uint32_t pci_read_config(uint32_t addr, uint32_t off, uint32_t sz, uint32_t *val) in pci_read_config()
160 uint32_t pci_write_config(uint32_t addr, uint32_t off, uint32_t sz, uint32_t val) in pci_write_config()
/aosp_15_r20/external/mtools/
H A Dinit.c36 mt_off_t sectorsToBytes(Fs_t *This, uint32_t off) in sectorsToBytes()
126 static void boot_to_geom(struct device *dev, int media, in boot_to_geom()
217 static Stream_t *try_device(struct device *dev, in try_device()
374 struct device *dev; in find_device() local
494 struct device dev; in fs_init() local
H A Ddevices.c80 static int compare_geom(struct device *dev, struct device *orig_dev) in compare_geom()
271 mt_off_t off; in get_parameters() local
343 char *getVoldName(struct device *dev, char *name) in getVoldName()
828 static int get_block_geom(int fd, struct device *dev) { in get_block_geom()
951 int init_geom(int fd, struct device *dev, struct device *orig_dev, in init_geom()
1070 int init_geom(int fd, struct device *dev, struct device *orig_dev, in init_geom()
1193 int init_geom(int fd, struct device *dev, struct device *orig_dev, in init_geom()
/aosp_15_r20/external/e2fsprogs/lib/blkid/
H A Dprobe.c53 blkid_loff_t off, size_t len) in get_buffer()
127 static void set_uuid(blkid_dev dev, uuid_t uuid, const char *tag) in set_uuid()
137 static void get_ext2_info(blkid_dev dev, struct blkid_magic *id, in get_ext2_info()
696 blkid_loff_t off; in probe_ntfs() local
1234 unsigned int off = 0; in probe_hfsplus() local
1660 blkid_dev blkid_verify(blkid_cache cache, blkid_dev dev) in blkid_verify()
1813 blkid_dev dev; in main() local
/aosp_15_r20/external/ublksrv/lib/
H A Dublksrv.c59 static int __ublksrv_tgt_init(struct _ublksrv_dev *dev, const char *type_name, in __ublksrv_tgt_init()
97 static int ublksrv_tgt_init(struct _ublksrv_dev *dev, const char *type_name, in ublksrv_tgt_init()
119 static void ublksrv_tgt_deinit(struct _ublksrv_dev *dev) in ublksrv_tgt_deinit()
305 static inline int ublk_queue_single_io_buf_size(struct _ublksrv_dev *dev) in ublk_queue_single_io_buf_size()
312 static inline int ublk_queue_io_buf_size(struct _ublksrv_dev *dev) in ublk_queue_io_buf_size()
318 static inline int ublk_io_buf_size(struct _ublksrv_dev *dev) in ublk_io_buf_size()
397 static void ublksrv_set_sched_affinity(struct _ublksrv_dev *dev, in ublksrv_set_sched_affinity()
457 struct _ublksrv_dev *dev = q->dev; in ublksrv_queue_adjust_uring_io_wq_workers() local
481 static void ublksrv_calculate_depths(const struct _ublksrv_dev *dev, int in ublksrv_calculate_depths()
512 struct _ublksrv_dev *dev = tdev_to_local(tdev); in ublksrv_queue_init() local
[all …]
/aosp_15_r20/external/coreboot/payloads/libpayload/drivers/usb/
H A Dxhci.c492 xhci_reset_endpoint(usbdev_t *const dev, endpoint_t *const ep) in xhci_reset_endpoint()
640 xhci_control(usbdev_t *const dev, const direction_t dir, in xhci_control()
649 const size_t off = (size_t)data & 0xffff; in xhci_control() local
750 const size_t off = (size_t)data & 0xffff; in xhci_bulk() local
/aosp_15_r20/external/pciutils/
H A Dsetpci.c73 struct pci_dev *dev = pci_get_dev(pacc, f->domain, f->bus, f->slot, f->func); in select_devices() local
82 struct pci_dev **devs, *dev; in select_devices() local
112 exec_op(struct op *op, struct pci_dev *dev) in exec_op()
232 struct pci_dev *dev; in execute() local
737 unsigned int off; in parse_op() local
H A Dls-ecaps.c681 for (int dev=0; dev < 32; dev++) in cap_rcec() local
1513 static const char *offstr(char *buf, u32 off) in offstr()
1539 u32 l, l2, linknum = 0, selnum = 0, addrnum, off, i, j; in cap_ide() local
/aosp_15_r20/system/core/fs_mgr/libsnapshot/snapuserd/testing/
H A Dharness.cpp90 off_t off = lseek(temp_.fd, 0, SEEK_END); in GetSize() local
105 auto dev = std::make_unique<MemoryBackedDevice>(); in CreateBackingDevice() local
/aosp_15_r20/external/erofs-utils/lib/
H A Dinode.c105 struct erofs_inode *erofs_iget(dev_t dev, ino_t ino) in erofs_iget()
315 erofs_off_t off, meta_offset; in erofs_lookupnid() local
352 erofs_off_t boff, off; in erofs_rebuild_inode_fix_pnid() local
577 erofs_off_t off; in erofs_iflush() local
828 const erofs_off_t off = erofs_btell(bh, false); in erofs_bh_flush_write_inline() local
955 u32 erofs_new_encode_dev(dev_t dev) in erofs_new_encode_dev()
1166 erofs_off_t off, meta_offset; in erofs_fixup_meta_blkaddr() local
/aosp_15_r20/external/toybox/toys/pending/
H A Dmdev.c119 regmatch_t off; in make_device() local
274 char *dev = dirtree_path(node, &len); in callback() local
/aosp_15_r20/external/squashfs-tools/squashfs-tools/
H A Dmksquashfs.c165 #define INODE_HASH(dev, ino) (ino & INODE_HASH_MASK) argument
570 off_t off = byte; in read_fs_bytes() local
614 off_t off = byte; in write_destination() local
1027 size_t off = offsetof(struct squashfs_reg_inode_header, block_list); in create_inode() local
1068 size_t off = offsetof(struct squashfs_lreg_inode_header, block_list); in create_inode() local
1147 struct squashfs_dev_inode_header *dev = &inode_header.dev; in create_inode() local
1171 struct squashfs_ldev_inode_header *dev = &inode_header.ldev; in create_inode() local
1198 size_t off = offsetof(struct squashfs_symlink_inode_header, symlink); in create_inode() local
1211 size_t off = offsetof(struct squashfs_symlink_inode_header, symlink); in create_inode() local
2463 off_t off; in writer() local
/aosp_15_r20/packages/providers/MediaProvider/jni/
DFuseDaemon.cpp401 std::atomic_uint dev; member
1647 static void do_read(fuse_req_t req, size_t size, off_t off, struct fuse_file_info* fi, in do_read()
1689 static void do_read_with_redaction(fuse_req_t req, size_t size, off_t off, fuse_file_info* fi, in do_read_with_redaction()
1726 static void pf_read(fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, in pf_read()
1768 off_t off, in pf_write_buf()
1930 off_t off, in do_readdir_common()
2034 static void pf_readdir(fuse_req_t req, fuse_ino_t ino, size_t size, off_t off, in pf_readdir()
2098 off_t off, in pf_readdirplus()
2610 dev_t dev = s.st_dev; in CheckFdAccess() local
/aosp_15_r20/frameworks/rs/support/java/src/androidx/renderscript/
H A DRenderScript.java112 native void nDeviceDestroy(long dev); in nDeviceDestroy()
113 native void nDeviceSetConfig(long dev, int param, int value); in nDeviceSetConfig()
305 …native long rsnContextCreate(long dev, int ver, int sdkVer, int contextType, String nativeLibDir); in rsnContextCreate()
306 …synchronized long nContextCreate(long dev, int ver, int sdkVer, int contextType, String nativeLibD… in nContextCreate()
478 …native void rsnAllocationData1D(long con, long id, int off, int mip, int count, Object d, int size… in rsnAllocationData1D()
480 …synchronized void nAllocationData1D(long id, int off, int mip, int count, Object d, int sizeBytes,… in nAllocationData1D()
571 native void rsnAllocationRead1D(long con, long id, int off, int mip, int count, Object d, in rsnAllocationRead1D()
573 synchronized void nAllocationRead1D(long id, int off, int mip, int count, Object d, in nAllocationRead1D()
995 native void nIncDeviceDestroy(long dev); in nIncDeviceDestroy()
998 native long rsnIncContextCreate(long dev, int ver, int sdkVer, int contextType); in rsnIncContextCreate()
[all …]
/aosp_15_r20/external/mesa3d/src/asahi/vulkan/
H A Dhk_cmd_draw.c265 struct hk_device *dev = hk_cmd_buffer_device(cmd); in hk_build_bg_eot() local
758 struct hk_device *dev = hk_cmd_buffer_device(cmd); in hk_CmdBeginRendering() local
774 struct hk_device *dev = hk_cmd_buffer_device(cmd); in hk_CmdBeginRendering() local
938 struct hk_device *dev = hk_cmd_buffer_device(cmd); in hk_geometry_state() local
948 off_t off = dev->rodata.geometry_state - dev->rodata.bo->va->addr; in hk_geometry_state() local
975 struct hk_device *dev = hk_cmd_buffer_device(cmd); in hk_upload_gsi_params() local
1012 struct hk_device *dev = hk_cmd_buffer_device(cmd); in hk_upload_ia_params() local
1155 struct hk_device *dev = hk_cmd_buffer_device(cmd); in hk_upload_tess_params() local
1268 hk_build_meta_shader_locked(struct hk_device *dev, struct hk_internal_key *key, in hk_build_meta_shader_locked()
1327 hk_meta_shader(struct hk_device *dev, hk_internal_builder_t builder, void *data, in hk_meta_shader()
[all …]
/aosp_15_r20/external/blktrace/iowatcher/
H A Dblkparse.c224 u32 dev = ins_pio->device; in io_hash_table_insert() local
238 static struct pending_io *io_hash_table_search(u64 sector, u32 dev) in io_hash_table_search()
522 u32 dev = io->device; in lookup_dev() local
661 u64 off = map_io(trace, trace->io) - min_offset; in filter_outliers() local

12345678