Home
last modified time | relevance | path

Searched defs:offset (Results 26 – 50 of 1525) sorted by relevance

12345678910>>...61

/openbmc/u-boot/drivers/gpio/
H A Dpm8916_gpio.c53 static int pm8916_gpio_set_direction(struct udevice *dev, unsigned offset, in pm8916_gpio_set_direction()
103 static int pm8916_gpio_direction_input(struct udevice *dev, unsigned offset) in pm8916_gpio_direction_input()
108 static int pm8916_gpio_direction_output(struct udevice *dev, unsigned offset, in pm8916_gpio_direction_output()
114 static int pm8916_gpio_get_function(struct udevice *dev, unsigned offset) in pm8916_gpio_get_function()
136 static int pm8916_gpio_get_value(struct udevice *dev, unsigned offset) in pm8916_gpio_get_value()
149 static int pm8916_gpio_set_value(struct udevice *dev, unsigned offset, in pm8916_gpio_set_value()
223 static int pm8941_pwrkey_get_function(struct udevice *dev, unsigned offset) in pm8941_pwrkey_get_function()
228 static int pm8941_pwrkey_get_value(struct udevice *dev, unsigned offset) in pm8941_pwrkey_get_value()
H A Dstm32f7_gpio.c27 int stm32_offset_to_index(struct udevice *dev, unsigned int offset) in stm32_offset_to_index()
44 static int stm32_gpio_direction_input(struct udevice *dev, unsigned offset) in stm32_gpio_direction_input()
64 static int stm32_gpio_direction_output(struct udevice *dev, unsigned offset, in stm32_gpio_direction_output()
87 static int stm32_gpio_get_value(struct udevice *dev, unsigned offset) in stm32_gpio_get_value()
100 static int stm32_gpio_set_value(struct udevice *dev, unsigned offset, int value) in stm32_gpio_set_value()
115 static int stm32_gpio_get_function(struct udevice *dev, unsigned int offset) in stm32_gpio_get_function()
H A Dpic32_gpio.c41 static int pic32_gpio_get_value(struct udevice *dev, unsigned offset) in pic32_gpio_get_value()
48 static int pic32_gpio_set_value(struct udevice *dev, unsigned offset, in pic32_gpio_set_value()
62 static int pic32_gpio_direction(struct udevice *dev, unsigned offset) in pic32_gpio_direction()
76 static int pic32_gpio_direction_input(struct udevice *dev, unsigned offset) in pic32_gpio_direction_input()
88 unsigned offset, int value) in pic32_gpio_direction_output()
100 static int pic32_gpio_get_function(struct udevice *dev, unsigned offset) in pic32_gpio_get_function()
H A D74x164_gpio.c62 static int gen_74x164_get_value(struct udevice *dev, unsigned offset) in gen_74x164_get_value()
71 static int gen_74x164_set_value(struct udevice *dev, unsigned offset, in gen_74x164_set_value()
91 static int gen_74x164_direction_input(struct udevice *dev, unsigned offset) in gen_74x164_direction_input()
96 static int gen_74x164_direction_output(struct udevice *dev, unsigned offset, in gen_74x164_direction_output()
102 static int gen_74x164_get_function(struct udevice *dev, unsigned offset) in gen_74x164_get_function()
/openbmc/qemu/hw/display/
H A Dvga-access.h32 uint32_t offset = addr & vga->vbe_size_mask & ~1; in vga_read_word_le() local
39 uint32_t offset = addr & vga->vbe_size_mask & ~1; in vga_read_word_be() local
46 uint32_t offset = addr & vga->vbe_size_mask & ~3; in vga_read_dword_le() local
/openbmc/qemu/hw/usb/
H A Dchipidea.c23 static uint64_t chipidea_read(void *opaque, hwaddr offset, in chipidea_read()
29 static void chipidea_write(void *opaque, hwaddr offset, in chipidea_write()
51 static uint64_t chipidea_dc_read(void *opaque, hwaddr offset, in chipidea_dc_read()
70 static void chipidea_dc_write(void *opaque, hwaddr offset, in chipidea_dc_write()
101 hwaddr offset; in chipidea_init() member
/openbmc/hiomapd/mtd/
H A Dbackend.c128 uint32_t offset __attribute__((unused)), in flash_validate()
143 static inline bool mtd_is_erased(struct backend *backend, uint32_t offset) in mtd_is_erased()
163 static int mtd_set_bytemap(struct backend *backend, uint32_t offset, in mtd_set_bytemap()
190 static int mtd_erase(struct backend *backend, uint32_t offset, uint32_t count) in mtd_erase()
262 static int64_t mtd_copy(struct backend *backend, uint32_t offset, in mtd_copy()
302 static int mtd_write(struct backend *backend, uint32_t offset, void *buf, in mtd_write()
/openbmc/qemu/hw/cxl/
H A Dcxl-device-utils.c31 static uint64_t caps_reg_read(void *opaque, hwaddr offset, unsigned size) in caps_reg_read()
45 static uint64_t dev_reg_read(void *opaque, hwaddr offset, unsigned size) in dev_reg_read()
63 static uint64_t mailbox_reg_read(void *opaque, hwaddr offset, unsigned size) in mailbox_reg_read()
114 static void mailbox_mem_writel(uint32_t *reg_state, hwaddr offset, in mailbox_mem_writel()
133 static void mailbox_mem_writeq(uint64_t *reg_state, hwaddr offset, in mailbox_mem_writeq()
155 static void mailbox_reg_write(void *opaque, hwaddr offset, uint64_t value, in mailbox_reg_write()
234 static uint64_t mdev_reg_read(void *opaque, hwaddr offset, unsigned size) in mdev_reg_read()
241 static void ro_reg_write(void *opaque, hwaddr offset, uint64_t value, in ro_reg_write()
/openbmc/u-boot/scripts/dtc/libfdt/
H A Dfdt_ro.c58 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_()
95 int offset; in fdt_get_max_phandle() local
135 static int nextprop_(const void *fdt, int offset) in nextprop_()
159 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen()
188 int offset = 0; in fdt_path_offset_namelen() local
274 int offset; in fdt_first_property_offset() local
282 int fdt_next_property_offset(const void *fdt, int offset) in fdt_next_property_offset()
291 int offset, in fdt_get_property_by_offset_()
312 int offset, in fdt_get_property_by_offset()
328 int offset, in fdt_get_property_namelen_()
[all …]
/openbmc/u-boot/drivers/mtd/spi/
H A Dsf-uclass.c15 int spi_flash_read_dm(struct udevice *dev, u32 offset, size_t len, void *buf) in spi_flash_read_dm()
20 int spi_flash_write_dm(struct udevice *dev, u32 offset, size_t len, in spi_flash_write_dm()
26 int spi_flash_erase_dm(struct udevice *dev, u32 offset, size_t len) in spi_flash_erase_dm()
31 int spi_flash_ctrl_wlock_dm(struct udevice *dev, u32 offset, size_t len) in spi_flash_ctrl_wlock_dm()
36 int spi_flash_ctrl_wunlock_dm(struct udevice *dev, u32 offset, size_t len) in spi_flash_ctrl_wunlock_dm()
H A Dsf_probe.c95 static int spi_flash_std_read(struct udevice *dev, u32 offset, size_t len, in spi_flash_std_read()
105 static int spi_flash_std_write(struct udevice *dev, u32 offset, size_t len, in spi_flash_std_write()
115 static int spi_flash_std_erase(struct udevice *dev, u32 offset, size_t len) in spi_flash_std_erase()
140 static int spi_flash_std_ctrl_wlock(struct udevice *dev, u32 offset, size_t len) in spi_flash_std_ctrl_wlock()
147 static int spi_flash_std_ctrl_wunlock(struct udevice *dev, u32 offset, size_t len) in spi_flash_std_ctrl_wunlock()
/openbmc/qemu/hw/misc/
H A Dallwinner-r40-dramc.c34 #define REG_INDEX(offset) (offset / sizeof(uint32_t)) argument
119 uint32_t offset) in address_to_autodetect_cells()
181 static uint64_t allwinner_r40_dramcom_read(void *opaque, hwaddr offset, in allwinner_r40_dramcom_read()
197 static void allwinner_r40_dramcom_write(void *opaque, hwaddr offset, in allwinner_r40_dramcom_write()
224 static uint64_t allwinner_r40_dramctl_read(void *opaque, hwaddr offset, in allwinner_r40_dramctl_read()
240 static void allwinner_r40_dramctl_write(void *opaque, hwaddr offset, in allwinner_r40_dramctl_write()
264 static uint64_t allwinner_r40_dramphy_read(void *opaque, hwaddr offset, in allwinner_r40_dramphy_read()
280 static void allwinner_r40_dramphy_write(void *opaque, hwaddr offset, in allwinner_r40_dramphy_write()
330 static uint64_t allwinner_r40_detect_read(void *opaque, hwaddr offset, in allwinner_r40_detect_read()
345 static void allwinner_r40_detect_write(void *opaque, hwaddr offset, in allwinner_r40_detect_write()
[all …]
H A Dallwinner-h3-dramc.c33 #define REG_INDEX(offset) (offset / sizeof(uint32_t)) argument
98 static uint64_t allwinner_h3_dramcom_read(void *opaque, hwaddr offset, in allwinner_h3_dramcom_read()
115 static void allwinner_h3_dramcom_write(void *opaque, hwaddr offset, in allwinner_h3_dramcom_write()
142 static uint64_t allwinner_h3_dramctl_read(void *opaque, hwaddr offset, in allwinner_h3_dramctl_read()
159 static void allwinner_h3_dramctl_write(void *opaque, hwaddr offset, in allwinner_h3_dramctl_write()
185 static uint64_t allwinner_h3_dramphy_read(void *opaque, hwaddr offset, in allwinner_h3_dramphy_read()
202 static void allwinner_h3_dramphy_write(void *opaque, hwaddr offset, in allwinner_h3_dramphy_write()
H A Dmchp_pfsoc_ioscb.c67 static uint64_t mchp_pfsoc_dummy_read(void *opaque, hwaddr offset, in mchp_pfsoc_dummy_read()
77 static void mchp_pfsoc_dummy_write(void *opaque, hwaddr offset, in mchp_pfsoc_dummy_write()
96 static uint64_t mchp_pfsoc_pll_read(void *opaque, hwaddr offset, in mchp_pfsoc_pll_read()
126 static uint64_t mchp_pfsoc_io_calib_ddr_read(void *opaque, hwaddr offset, in mchp_pfsoc_io_calib_ddr_read()
156 static uint64_t mchp_pfsoc_ctrl_read(void *opaque, hwaddr offset, in mchp_pfsoc_ctrl_read()
181 static void mchp_pfsoc_ctrl_write(void *opaque, hwaddr offset, in mchp_pfsoc_ctrl_write()
/openbmc/u-boot/arch/arm/mach-sunxi/
H A Dpinmux.c15 u32 offset = GPIO_CFG_OFFSET(bank_offset); in sunxi_gpio_set_cfgbank() local
31 u32 offset = GPIO_CFG_OFFSET(bank_offset); in sunxi_gpio_get_cfgbank() local
52 u32 offset = GPIO_DRV_OFFSET(pin); in sunxi_gpio_set_drv() local
64 u32 offset = GPIO_PULL_OFFSET(pin); in sunxi_gpio_set_pull() local
/openbmc/qemu/block/
H A Dsnapshot-access.c31 int64_t offset, int64_t bytes, in snapshot_access_co_preadv_part()
44 unsigned int mode, int64_t offset, in snapshot_access_co_block_status()
53 snapshot_access_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in snapshot_access_co_pdiscard()
60 int64_t offset, int64_t bytes, in snapshot_access_co_pwrite_zeroes()
68 int64_t offset, int64_t bytes, in snapshot_access_co_pwritev_part()
H A Draw-format.c38 uint64_t offset; member
76 static int raw_read_options(QDict *options, uint64_t *offset, bool *has_size, in raw_read_options()
99 raw_apply_options(BlockDriverState *bs, BDRVRawState *s, uint64_t offset, in raw_apply_options()
145 uint64_t offset, size; in raw_reopen_prepare() local
189 static inline int raw_adjust_offset(BlockDriverState *bs, int64_t *offset, in raw_adjust_offset()
210 raw_co_preadv(BlockDriverState *bs, int64_t offset, int64_t bytes, in raw_co_preadv()
225 raw_co_pwritev(BlockDriverState *bs, int64_t offset, int64_t bytes, in raw_co_pwritev()
287 int64_t offset, int64_t bytes, int64_t *pnum, int64_t *map, in raw_co_block_status()
298 raw_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in raw_co_pwrite_zeroes()
311 raw_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in raw_co_pdiscard()
[all …]
/openbmc/qemu/fsdev/
H A D9p-iov-marshal.c22 size_t offset, size_t size, int pack) in v9fs_packunpack()
61 size_t offset, size_t size) in v9fs_unpack()
66 ssize_t v9fs_pack(struct iovec *in_sg, int in_num, size_t offset, in v9fs_pack()
72 ssize_t v9fs_iov_vunmarshal(struct iovec *out_sg, int out_num, size_t offset, in v9fs_iov_vunmarshal()
191 ssize_t v9fs_iov_unmarshal(struct iovec *out_sg, int out_num, size_t offset, in v9fs_iov_unmarshal()
204 ssize_t v9fs_iov_vmarshal(struct iovec *in_sg, int in_num, size_t offset, in v9fs_iov_vmarshal()
304 ssize_t v9fs_iov_marshal(struct iovec *in_sg, int in_num, size_t offset, in v9fs_iov_marshal()
/openbmc/u-boot/board/armltd/integrator/
H A Dpci.c88 static unsigned long v3_open_config_window(pci_dev_t bdf, int offset) in v3_open_config_window()
188 int offset, unsigned char *val) in pci_integrator_read_byte()
199 pci_dev_t bdf, int offset, in pci_integrator_read__word()
211 pci_dev_t bdf, int offset, in pci_integrator_read_dword()
223 pci_dev_t bdf, int offset, in pci_integrator_write_byte()
236 pci_dev_t bdf, int offset, in pci_integrator_write_word()
249 pci_dev_t bdf, int offset, in pci_integrator_write_dword()
/openbmc/u-boot/lib/libfdt/
H A Dfdt_ro.c17 static int _fdt_nodename_eq(const void *fdt, int offset, in _fdt_nodename_eq()
53 int offset; in fdt_get_max_phandle() local
93 static int _nextprop(const void *fdt, int offset) in _nextprop()
117 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen()
165 int offset = 0; in fdt_path_offset_namelen() local
234 int offset; in fdt_first_property_offset() local
242 int fdt_next_property_offset(const void *fdt, int offset) in fdt_next_property_offset()
251 int offset, in fdt_get_property_by_offset()
272 int offset, in fdt_get_property_namelen()
315 const void *fdt_getprop_by_offset(const void *fdt, int offset, in fdt_getprop_by_offset()
[all …]
/openbmc/u-boot/fs/cramfs/
H A Dcramfs.c101 static char *cramfs_uncompress_link (unsigned long begin, unsigned long offset) in cramfs_uncompress_link()
116 static unsigned long cramfs_resolve (unsigned long begin, unsigned long offset, in cramfs_resolve()
207 static int cramfs_uncompress (unsigned long begin, unsigned long offset, in cramfs_uncompress()
239 unsigned long offset; in cramfs_load() local
256 static int cramfs_list_inode (struct part_info *info, unsigned long offset) in cramfs_list_inode()
300 unsigned long offset, size; in cramfs_ls() local
/openbmc/u-boot/board/cavium/thunderx/
H A Datf.c18 ssize_t atf_read_mmc(uintptr_t offset, void *buffer, size_t size) in atf_read_mmc()
31 ssize_t atf_read_nor(uintptr_t offset, void *buffer, size_t size) in atf_read_nor()
66 ssize_t atf_erase_nor(uintptr_t offset, size_t size) in atf_erase_nor()
78 ssize_t atf_write_nor(uintptr_t offset, const void *buffer, size_t size) in atf_write_nor()
92 ssize_t atf_write_mmc(uintptr_t offset, const void *buffer, size_t size) in atf_write_mmc()
229 size_t size, offset; in do_atf() local
/openbmc/u-boot/drivers/pci/
H A Dpci-uclass.c259 int pci_bus_write_config(struct udevice *bus, pci_dev_t bdf, int offset, in pci_bus_write_config()
270 int pci_bus_clrset_config32(struct udevice *bus, pci_dev_t bdf, int offset, in pci_bus_clrset_config32()
285 int pci_write_config(pci_dev_t bdf, int offset, unsigned long value, in pci_write_config()
298 int dm_pci_write_config(struct udevice *dev, int offset, unsigned long value, in dm_pci_write_config()
309 int pci_write_config32(pci_dev_t bdf, int offset, u32 value) in pci_write_config32()
314 int pci_write_config16(pci_dev_t bdf, int offset, u16 value) in pci_write_config16()
319 int pci_write_config8(pci_dev_t bdf, int offset, u8 value) in pci_write_config8()
324 int dm_pci_write_config8(struct udevice *dev, int offset, u8 value) in dm_pci_write_config8()
329 int dm_pci_write_config16(struct udevice *dev, int offset, u16 value) in dm_pci_write_config16()
334 int dm_pci_write_config32(struct udevice *dev, int offset, u32 value) in dm_pci_write_config32()
[all …]
/openbmc/u-boot/test/dm/
H A Dgpio.c18 unsigned int offset, gpio; in dm_test_gpio() local
112 unsigned int offset, gpio; in dm_test_gpio_anon() local
134 unsigned int offset, gpio; in dm_test_gpio_requestf() local
152 unsigned int offset, gpio; in dm_test_gpio_copy() local
/openbmc/u-boot/drivers/dfu/
H A Ddfu_nand.c22 u64 offset, void *buf, long *len) in nand_block_op()
88 u64 offset, void *buf, long *len) in nand_block_write()
94 u64 offset, void *buf, long *len) in nand_block_read()
100 u64 offset, void *buf, long *len) in dfu_write_medium_nand()
123 static int dfu_read_medium_nand(struct dfu_entity *dfu, u64 offset, void *buf, in dfu_read_medium_nand()

12345678910>>...61