/openbmc/u-boot/drivers/gpio/ |
H A D | xilinx_gpio.c | 35 static int xilinx_gpio_get_bank_pin(unsigned offset, u32 *bank_num, in xilinx_gpio_get_bank_pin() 58 static int xilinx_gpio_set_value(struct udevice *dev, unsigned offset, in xilinx_gpio_set_value() 87 static int xilinx_gpio_get_value(struct udevice *dev, unsigned offset) in xilinx_gpio_get_value() 114 static int xilinx_gpio_get_function(struct udevice *dev, unsigned offset) in xilinx_gpio_get_function() 142 static int xilinx_gpio_direction_output(struct udevice *dev, unsigned offset, in xilinx_gpio_direction_output() 168 static int xilinx_gpio_direction_input(struct udevice *dev, unsigned offset) in xilinx_gpio_direction_input()
|
H A D | pcf8575_gpio.c | 84 static int pcf8575_direction_input(struct udevice *dev, unsigned offset) in pcf8575_direction_input() 96 unsigned int offset, int value) in pcf8575_direction_output() 111 static int pcf8575_get_value(struct udevice *dev, unsigned int offset) in pcf8575_get_value() 120 static int pcf8575_set_value(struct udevice *dev, unsigned int offset, in pcf8575_set_value()
|
/openbmc/linux/arch/sh/mm/ |
H A D | ioremap.c | 40 __ioremap_29bit(phys_addr_t offset, unsigned long size, pgprot_t prot) in __ioremap_29bit() 72 #define __ioremap_29bit(offset, size, prot) NULL argument 111 static inline int iomapping_nontranslatable(unsigned long offset) in iomapping_nontranslatable()
|
/openbmc/qemu/hw/9pfs/ |
H A D | 9p.c | 58 static ssize_t pdu_marshal(V9fsPDU *pdu, size_t offset, const char *fmt, ...) in pdu_marshal() 70 static ssize_t pdu_unmarshal(V9fsPDU *pdu, size_t offset, const char *fmt, ...) in pdu_unmarshal() 1399 size_t offset = 7; in v9fs_version() local 1457 size_t offset = 7; in v9fs_attach() local 1535 size_t offset = 7; in v9fs_stat() local 1580 size_t offset = 7; in v9fs_getattr() local 1662 size_t offset = 7; in v9fs_setattr() local 1750 size_t offset = 7; in v9fs_walk_marshal() local 1787 size_t offset = 7; in v9fs_walk() local 1980 size_t offset = 7; in v9fs_open() local [all …]
|
/openbmc/qemu/block/ |
H A D | filter-compress.c | 68 compress_co_preadv_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_preadv_part() 78 compress_co_pwritev_part(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_pwritev_part() 88 compress_co_pwrite_zeroes(BlockDriverState *bs, int64_t offset, int64_t bytes, in compress_co_pwrite_zeroes() 96 compress_co_pdiscard(BlockDriverState *bs, int64_t offset, int64_t bytes) in compress_co_pdiscard()
|
/openbmc/linux/drivers/gpio/ |
H A D | gpio-arizona.c | 26 static int arizona_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in arizona_gpio_direction_in() 49 static int arizona_gpio_get(struct gpio_chip *chip, unsigned offset) in arizona_gpio_get() 96 unsigned offset, int value) in arizona_gpio_direction_out() 124 static void arizona_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in arizona_gpio_set()
|
H A D | gpio-tegra186.c | 78 unsigned int offset; member 133 unsigned int offset; in tegra186_gpio_get_base() local 148 unsigned int offset; in tegra186_gpio_get_secure_base() local 205 unsigned int offset) in tegra186_gpio_get_direction() 223 unsigned int offset) in tegra186_gpio_direction_input() 246 unsigned int offset, int level) in tegra186_gpio_direction_output() 274 static int tegra186_gpio_en_hw_ts(struct gpio_chip *gc, u32 offset, in tegra186_gpio_en_hw_ts() 309 static int tegra186_gpio_dis_hw_ts(struct gpio_chip *gc, u32 offset, in tegra186_gpio_dis_hw_ts() 342 static int tegra186_gpio_get(struct gpio_chip *chip, unsigned int offset) in tegra186_gpio_get() 361 static void tegra186_gpio_set(struct gpio_chip *chip, unsigned int offset, in tegra186_gpio_set() [all …]
|
H A D | gpio-npcm-sgpio.c | 157 static const struct npcm_sgpio_bank *offset_to_bank(unsigned int offset) in offset_to_bank() 167 u8 *bit, unsigned int *offset) in npcm_sgpio_irqd_to_data() 204 static int npcm_sgpio_dir_in(struct gpio_chip *gc, unsigned int offset) in npcm_sgpio_dir_in() 212 static int npcm_sgpio_dir_out(struct gpio_chip *gc, unsigned int offset, int val) in npcm_sgpio_dir_out() 219 static int npcm_sgpio_get_direction(struct gpio_chip *gc, unsigned int offset) in npcm_sgpio_get_direction() 229 static void npcm_sgpio_set(struct gpio_chip *gc, unsigned int offset, int val) in npcm_sgpio_set() 247 static int npcm_sgpio_get(struct gpio_chip *gc, unsigned int offset) in npcm_sgpio_get() 323 unsigned int offset; in npcm_sgpio_irq_set_mask() local 360 unsigned int offset; in npcm_sgpio_irq_ack() local 387 unsigned int offset; in npcm_sgpio_set_type() local
|
H A D | gpio-logicvc.c | 29 static void logicvc_gpio_offset(struct logicvc_gpio *logicvc, unsigned offset, in logicvc_gpio_offset() 49 static int logicvc_gpio_get(struct gpio_chip *chip, unsigned offset) in logicvc_gpio_get() 64 static void logicvc_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in logicvc_gpio_set() 75 unsigned offset, int value) in logicvc_gpio_direction_output()
|
/openbmc/linux/sound/pci/cs46xx/ |
H A D | cs46xx_lib.h | 48 unsigned int offset = reg & 0xffff; in snd_cs46xx_poke() local 61 unsigned int offset = reg & 0xffff; in snd_cs46xx_peek() local 65 static inline void snd_cs46xx_pokeBA0(struct snd_cs46xx *chip, unsigned long offset, unsigned int v… in snd_cs46xx_pokeBA0() 70 static inline unsigned int snd_cs46xx_peekBA0(struct snd_cs46xx *chip, unsigned long offset) in snd_cs46xx_peekBA0()
|
/openbmc/phosphor-mboxd/vpnor/ |
H A D | mboxd_flash.cpp | 97 int set_flash_bytemap(struct mbox_context* context, uint32_t offset, in set_flash_bytemap() 104 int erase_flash(struct mbox_context* context, uint32_t offset, uint32_t count) in erase_flash() 120 int64_t copy_flash(struct mbox_context* context, uint32_t offset, void* mem, in copy_flash() 189 int write_flash(struct mbox_context* context, uint32_t offset, void* buf, in write_flash()
|
/openbmc/linux/fs/btrfs/ |
H A D | free-space-cache.c | 80 u64 offset) in __lookup_free_space_inode() 166 u64 ino, u64 offset) in __create_free_space_inode() 538 unsigned offset = 0; in io_ctl_set_crc() local 555 unsigned offset = 0; in io_ctl_check_crc() local 577 static int io_ctl_add_entry(struct btrfs_io_ctl *io_ctl, u64 offset, u64 bytes, in io_ctl_add_entry() 735 struct btrfs_path *path, u64 offset) in __load_free_space_cache() 908 const u64 offset = info->offset; in copy_free_space_cache() local 917 u64 offset = info->offset; in copy_free_space_cache() local 1149 struct btrfs_path *path, u64 offset, in update_cache_item() 1300 struct btrfs_path *path, u64 offset) in __btrfs_wait_cache_io() [all …]
|
/openbmc/linux/arch/mips/loongson64/ |
H A D | hpet.c | 23 static unsigned int smbus_read(int offset) in smbus_read() 28 static void smbus_write(int offset, int data) in smbus_write() 33 static void smbus_enable(int offset, int bit) in smbus_enable() 41 static int hpet_read(int offset) in hpet_read() 46 static void hpet_write(int offset, int data) in hpet_write()
|
/openbmc/qemu/hw/intc/ |
H A D | arm_gicv3_kvm.c | 93 static inline void kvm_gicd_access(GICv3State *s, int offset, in kvm_gicd_access() 101 static inline void kvm_gicr_access(GICv3State *s, int offset, int cpu, in kvm_gicr_access() 134 static void kvm_dist_get_priority(GICv3State *s, uint32_t offset, uint8_t *bmp) in kvm_dist_get_priority() 155 static void kvm_dist_put_priority(GICv3State *s, uint32_t offset, uint8_t *bmp) in kvm_dist_put_priority() 176 static void kvm_dist_get_edge_trigger(GICv3State *s, uint32_t offset, in kvm_dist_get_edge_trigger() 201 static void kvm_dist_put_edge_trigger(GICv3State *s, uint32_t offset, in kvm_dist_put_edge_trigger() 251 static void kvm_dist_getbmp(GICv3State *s, uint32_t offset, uint32_t *bmp) in kvm_dist_getbmp() 272 static void kvm_dist_putbmp(GICv3State *s, uint32_t offset, in kvm_dist_putbmp() 426 uint32_t offset; in kvm_arm_gicv3_put() local 602 uint32_t offset; in kvm_arm_gicv3_get() local
|
H A D | pnv_xive2.c | 415 uint64_t offset = ic_topo_id * sizeof(XiveSfnBlock); in pnv_xive2_inject_notify() local 959 static uint64_t pnv_xive2_ic_cq_read(void *opaque, hwaddr offset, in pnv_xive2_ic_cq_read() 989 static void pnv_xive2_ic_cq_write(void *opaque, hwaddr offset, in pnv_xive2_ic_cq_write() 1201 static uint64_t pnv_xive2_ic_vc_read(void *opaque, hwaddr offset, in pnv_xive2_ic_vc_read() 1316 static void pnv_xive2_ic_vc_write(void *opaque, hwaddr offset, in pnv_xive2_ic_vc_write() 1471 static uint64_t pnv_xive2_ic_pc_read(void *opaque, hwaddr offset, in pnv_xive2_ic_pc_read() 1559 static void pnv_xive2_ic_pc_write(void *opaque, hwaddr offset, in pnv_xive2_ic_pc_write() 1650 static uint64_t pnv_xive2_ic_tctxt_read(void *opaque, hwaddr offset, in pnv_xive2_ic_tctxt_read() 1684 static void pnv_xive2_ic_tctxt_write(void *opaque, hwaddr offset, in pnv_xive2_ic_tctxt_write() 1737 static uint64_t pnv_xive2_xscom_read(void *opaque, hwaddr offset, in pnv_xive2_xscom_read() [all …]
|
/openbmc/linux/drivers/ssb/ |
H A D | pci.c | 169 #define SPOFF(offset) ((offset) / sizeof(u16)) argument 327 static s8 sprom_extract_antgain(u8 sprom_revision, const u16 *in, u16 offset, in sprom_extract_antgain() 961 static u8 ssb_pci_read8(struct ssb_device *dev, u16 offset) in ssb_pci_read8() 974 static u16 ssb_pci_read16(struct ssb_device *dev, u16 offset) in ssb_pci_read16() 987 static u32 ssb_pci_read32(struct ssb_device *dev, u16 offset) in ssb_pci_read32() 1002 size_t count, u16 offset, u8 reg_width) in ssb_pci_block_read() 1035 static void ssb_pci_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_pci_write8() 1048 static void ssb_pci_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_pci_write16() 1061 static void ssb_pci_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_pci_write32() 1076 size_t count, u16 offset, u8 reg_width) in ssb_pci_block_write()
|
/openbmc/u-boot/include/ |
H A D | virtio.h | 546 unsigned int offset, in __virtio_cread_many() 566 unsigned int offset, in virtio_cread_bytes() 572 static inline u8 virtio_cread8(struct udevice *vdev, unsigned int offset) in virtio_cread8() 581 unsigned int offset, u8 val) in virtio_cwrite8() 587 unsigned int offset) in virtio_cread16() 596 unsigned int offset, u16 val) in virtio_cwrite16() 603 unsigned int offset) in virtio_cread32() 612 unsigned int offset, u32 val) in virtio_cwrite32() 619 unsigned int offset) in virtio_cread64() 628 unsigned int offset, u64 val) in virtio_cwrite64()
|
/openbmc/linux/tools/testing/selftests/sparc64/drivers/ |
H A D | adi-test.c | 205 int buf_sz, unsigned long offset) in pread_adi() 260 int buf_sz, unsigned long offset) in pwrite_adi() 293 static off_t seek_adi(int fd, off_t offset, int whence) in seek_adi() 319 loff_t offset; in test0_prpw_aligned_1byte() local 354 loff_t offset; in test1_prpw_aligned_4096bytes() local 394 loff_t offset; in test2_prpw_aligned_10327bytes() local 434 loff_t offset; in test3_prpw_unaligned_12541bytes() local 521 loff_t offset; in test5_rw_aligned_1byte() local 567 loff_t offset; in test6_rw_aligned_9434bytes() local 619 loff_t offset; in test7_rw_aligned_14963bytes() local
|
/openbmc/linux/fs/verity/ |
H A D | read_metadata.c | 17 void __user *buf, u64 offset, int length) in fsverity_read_merkle_tree() 81 static int fsverity_read_buffer(void __user *dst, u64 offset, int length, in fsverity_read_buffer() 98 void __user *buf, u64 offset, int length) in fsverity_read_descriptor() 119 void __user *buf, u64 offset, int length) in fsverity_read_signature()
|
/openbmc/linux/drivers/staging/fbtft/ |
H A D | fbtft-bus.c | 121 int fbtft_write_vmem16_bus8(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem16_bus8() 175 int fbtft_write_vmem16_bus9(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem16_bus9() 223 int fbtft_write_vmem8_bus8(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem8_bus8() 231 int fbtft_write_vmem16_bus16(struct fbtft_par *par, size_t offset, size_t len) in fbtft_write_vmem16_bus16()
|
/openbmc/linux/sound/soc/sof/ |
H A D | iomem-utils.c | 54 void sof_mailbox_write(struct snd_sof_dev *sdev, u32 offset, in sof_mailbox_write() 63 void sof_mailbox_read(struct snd_sof_dev *sdev, u32 offset, in sof_mailbox_read() 77 u32 offset, void *src, size_t size) in sof_block_write() 116 u32 offset, void *dest, size_t size) in sof_block_read()
|
/openbmc/linux/fs/fat/ |
H A D | fatent.c | 24 int *offset, sector_t *blocknr) in fat12_ent_blocknr() 34 int *offset, sector_t *blocknr) in fat_ent_blocknr() 43 static void fat12_ent_set_ptr(struct fat_entry *fatent, int offset) in fat12_ent_set_ptr() 57 static void fat16_ent_set_ptr(struct fat_entry *fatent, int offset) in fat16_ent_set_ptr() 63 static void fat32_ent_set_ptr(struct fat_entry *fatent, int offset) in fat32_ent_set_ptr() 70 int offset, sector_t blocknr) in fat12_ent_bread() 103 int offset, sector_t blocknr) in fat_ent_bread() 321 int offset, sector_t blocknr) in fat_ent_update_ptr() 354 int err, offset; in fat_ent_read() local 441 int offset; in fat_ent_read_block() local [all …]
|
/openbmc/linux/arch/x86/kernel/ |
H A D | crash_dump_64.c | 16 size_t csize, unsigned long offset, in __copy_oldmem_page() 39 unsigned long offset) in copy_oldmem_page() 50 size_t csize, unsigned long offset) in copy_oldmem_page_encrypted()
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | efuse.c | 210 u8 offset, wren; in read_efuse() local 396 u16 offset, u32 *value) in efuse_shadow_read() 408 void efuse_shadow_write(struct ieee80211_hw *hw, u8 type, u16 offset, in efuse_shadow_write() 424 u16 i, offset, base; in efuse_shadow_update() local 529 u16 offset, u8 *value) in efuse_shadow_read_1byte() 536 u16 offset, u16 *value) in efuse_shadow_read_2byte() 546 u16 offset, u32 *value) in efuse_shadow_read_4byte() 557 u16 offset, u8 value) in efuse_shadow_write_1byte() 565 u16 offset, u16 value) in efuse_shadow_write_2byte() 575 u16 offset, u32 value) in efuse_shadow_write_4byte() [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/ |
H A D | ilt.c | 302 void b43legacy_ilt_write(struct b43legacy_wldev *dev, u16 offset, u16 val) in b43legacy_ilt_write() 308 void b43legacy_ilt_write32(struct b43legacy_wldev *dev, u16 offset, u32 val) in b43legacy_ilt_write32() 317 u16 b43legacy_ilt_read(struct b43legacy_wldev *dev, u16 offset) in b43legacy_ilt_read()
|