/openbmc/linux/drivers/gpio/ |
H A D | gpio-gw-pld.c | 35 static int gw_pld_input8(struct gpio_chip *gc, unsigned offset) in gw_pld_input8() 43 static int gw_pld_get8(struct gpio_chip *gc, unsigned offset) in gw_pld_get8() 53 static int gw_pld_output8(struct gpio_chip *gc, unsigned offset, int value) in gw_pld_output8() 65 static void gw_pld_set8(struct gpio_chip *gc, unsigned offset, int value) in gw_pld_set8()
|
H A D | gpio-syscon.c | 56 static int syscon_gpio_get(struct gpio_chip *chip, unsigned offset) in syscon_gpio_get() 72 static void syscon_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in syscon_gpio_set() 85 static int syscon_gpio_dir_in(struct gpio_chip *chip, unsigned offset) in syscon_gpio_dir_in() 103 static int syscon_gpio_dir_out(struct gpio_chip *chip, unsigned offset, int val) in syscon_gpio_dir_out() 131 static void rockchip_gpio_set(struct gpio_chip *chip, unsigned int offset, in rockchip_gpio_set() 160 static void keystone_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in keystone_gpio_set()
|
H A D | gpio-xgene.c | 37 static int xgene_gpio_get(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_get() 48 static void __xgene_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in __xgene_gpio_set() 65 static void xgene_gpio_set(struct gpio_chip *gc, unsigned int offset, int val) in xgene_gpio_set() 75 static int xgene_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_get_direction() 89 static int xgene_gpio_dir_in(struct gpio_chip *gc, unsigned int offset) in xgene_gpio_dir_in() 110 unsigned int offset, int val) in xgene_gpio_dir_out()
|
H A D | gpio-tps6586x.c | 30 static int tps6586x_gpio_get(struct gpio_chip *gc, unsigned offset) in tps6586x_gpio_get() 43 static void tps6586x_gpio_set(struct gpio_chip *gc, unsigned offset, in tps6586x_gpio_set() 52 static int tps6586x_gpio_output(struct gpio_chip *gc, unsigned offset, in tps6586x_gpio_output() 67 static int tps6586x_gpio_to_irq(struct gpio_chip *gc, unsigned offset) in tps6586x_gpio_to_irq()
|
H A D | gpio-bd71828.c | 19 static void bd71828_gpio_set(struct gpio_chip *chip, unsigned int offset, in bd71828_gpio_set() 39 static int bd71828_gpio_get(struct gpio_chip *chip, unsigned int offset) in bd71828_gpio_get() 57 static int bd71828_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in bd71828_gpio_set_config() 82 static int bd71828_get_direction(struct gpio_chip *chip, unsigned int offset) in bd71828_get_direction()
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | tsunami_flash.c | 18 static inline map_word tsunami_flash_read8(struct map_info *map, unsigned long offset) in tsunami_flash_read8() 25 static void tsunami_flash_write8(struct map_info *map, map_word value, unsigned long offset) in tsunami_flash_write8() 31 struct map_info *map, void *addr, unsigned long offset, ssize_t len) in tsunami_flash_copy_from() 44 struct map_info *map, unsigned long offset, in tsunami_flash_copy_to()
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_config.c | 34 #define is_bar(offset) \ argument 123 static int vfio_user_config_read(struct pci_dev *pdev, int offset, in vfio_user_config_read() 154 static int vfio_user_config_write(struct pci_dev *pdev, int offset, in vfio_user_config_write() 177 int offset, __le32 *val) in vfio_default_config_read() 203 int offset, __le32 val) in vfio_default_config_write() 250 int offset, __le32 *val) in vfio_direct_config_read() 275 int offset, __le32 val) in vfio_raw_config_write() 288 int offset, __le32 *val) in vfio_raw_config_read() 302 int offset, __le32 val) in vfio_virt_config_write() 310 int offset, __le32 *val) in vfio_virt_config_read() [all …]
|
/openbmc/linux/drivers/net/ethernet/qlogic/qlcnic/ |
H A D | qlcnic_sysfs.c | 245 loff_t offset, size_t size) in qlcnic_sysfs_validate_crb() 268 loff_t offset, size_t size) in qlcnic_sysfs_read_crb() 285 loff_t offset, size_t size) in qlcnic_sysfs_write_crb() 301 loff_t offset, size_t size) in qlcnic_sysfs_validate_mem() 314 loff_t offset, size_t size) in qlcnic_sysfs_read_mem() 336 loff_t offset, size_t size) in qlcnic_sysfs_write_mem() 400 char *buf, loff_t offset, in qlcnic_sysfs_write_pm_config() 450 char *buf, loff_t offset, in qlcnic_sysfs_read_pm_config() 543 char *buf, loff_t offset, in qlcnic_sysfs_write_esw_config() 627 char *buf, loff_t offset, in qlcnic_sysfs_read_esw_config() [all …]
|
/openbmc/linux/drivers/ssb/ |
H A D | pcmcia.c | 71 static int ssb_pcmcia_cfg_write(struct ssb_bus *bus, u8 offset, u8 value) in ssb_pcmcia_cfg_write() 83 static int ssb_pcmcia_cfg_read(struct ssb_bus *bus, u8 offset, u8 *value) in ssb_pcmcia_cfg_read() 197 u16 *offset) in select_core_and_segment() 223 static u8 ssb_pcmcia_read8(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read8() 239 static u16 ssb_pcmcia_read16(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read16() 255 static u32 ssb_pcmcia_read32(struct ssb_device *dev, u16 offset) in ssb_pcmcia_read32() 275 size_t count, u16 offset, u8 reg_width) in ssb_pcmcia_block_read() 331 static void ssb_pcmcia_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_pcmcia_write8() 344 static void ssb_pcmcia_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_pcmcia_write16() 357 static void ssb_pcmcia_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_pcmcia_write32() [all …]
|
/openbmc/u-boot/env/ |
H A D | mmc.c | 69 const char *offset; in mmc_offset() member 103 s64 offset = CONFIG_ENV_OFFSET; in mmc_offset() local 115 s64 offset = mmc_offset(copy); in mmc_get_env_addr() local 186 unsigned long offset, const void *buffer) in write_env() 204 u32 offset; in env_mmc_save() local 248 unsigned long offset, const void *buffer) in read_env() 312 u32 offset; in env_mmc_load() local
|
/openbmc/linux/drivers/gpu/drm/i915/gem/selftests/ |
H A D | i915_gem_coherency.c | 23 static int cpu_set(struct context *ctx, unsigned long offset, u32 v) in cpu_set() 56 static int cpu_get(struct context *ctx, unsigned long offset, u32 *v) in cpu_get() 86 static int gtt_set(struct context *ctx, unsigned long offset, u32 v) in gtt_set() 119 static int gtt_get(struct context *ctx, unsigned long offset, u32 *v) in gtt_get() 152 static int wc_set(struct context *ctx, unsigned long offset, u32 v) in wc_set() 175 static int wc_get(struct context *ctx, unsigned long offset, u32 *v) in wc_get() 196 static int gpu_set(struct context *ctx, unsigned long offset, u32 v) in gpu_set()
|
/openbmc/u-boot/arch/arm/mach-sunxi/ |
H A D | pinmux.c | 15 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/linux/arch/loongarch/include/asm/ |
H A D | io.h | 30 static inline void __iomem *ioremap_prot(phys_addr_t offset, unsigned long size, in ioremap_prot() 39 #define ioremap(offset, size) \ argument 55 #define ioremap_wc(offset, size) \ argument 59 #define ioremap_cache(offset, size) \ argument
|
/openbmc/linux/drivers/net/arcnet/ |
H A D | com90io.c | 71 static u_char get_buffer_byte(struct net_device *dev, unsigned offset) in get_buffer_byte() 82 static void put_buffer_byte(struct net_device *dev, unsigned offset, in put_buffer_byte() 95 static void get_whole_buffer(struct net_device *dev, unsigned offset, in get_whole_buffer() 111 static void put_whole_buffer(struct net_device *dev, unsigned offset, in put_whole_buffer() 333 int offset, void *buf, int count) in com90io_copy_to_card() 340 int offset, void *buf, int count) in com90io_copy_from_card()
|
/openbmc/linux/drivers/gpu/drm/tegra/ |
H A D | firewall.c | 27 static bool fw_check_addr_valid(struct tegra_drm_firewall *fw, u32 offset) in fw_check_addr_valid() 41 static int fw_check_reg(struct tegra_drm_firewall *fw, u32 offset) in fw_check_reg() 66 static int fw_check_regs_seq(struct tegra_drm_firewall *fw, u32 offset, in fw_check_regs_seq() 82 static int fw_check_regs_mask(struct tegra_drm_firewall *fw, u32 offset, in fw_check_regs_mask() 96 static int fw_check_regs_imm(struct tegra_drm_firewall *fw, u32 offset) in fw_check_regs_imm() 161 u32 word, opcode, offset, count, mask, class; in tegra_drm_fw_validate() local
|
/openbmc/u-boot/drivers/gpio/ |
H A D | db8500_gpio.c | 87 unsigned offset = get_gpio_offset(gpio); in gpio_set_mode() local 118 unsigned offset = get_gpio_offset(gpio); in db8500_gpio_set_pull() local 138 unsigned offset = get_gpio_offset(gpio); in db8500_gpio_make_input() local 146 unsigned offset = get_gpio_offset(gpio); in db8500_gpio_get_input() local 158 unsigned offset = get_gpio_offset(gpio); in db8500_gpio_make_output() local 167 unsigned offset = get_gpio_offset(gpio); in db8500_gpio_set_output() local
|
H A D | at91_gpio.c | 45 static void at91_set_port_pullup(struct at91_port *at91_port, unsigned offset, in at91_set_port_pullup() 214 static bool at91_get_port_output(struct at91_port *at91_port, int offset) in at91_get_port_output() 224 static void at91_set_port_input(struct at91_port *at91_port, int offset, in at91_set_port_input() 250 static void at91_set_port_output(struct at91_port *at91_port, int offset, in at91_set_port_output() 413 static void at91_set_port_value(struct at91_port *at91_port, int offset, in at91_set_port_value() 438 static int at91_get_port_value(struct at91_port *at91_port, int offset) in at91_get_port_value() 509 static int at91_gpio_direction_input(struct udevice *dev, unsigned offset) in at91_gpio_direction_input() 519 static int at91_gpio_direction_output(struct udevice *dev, unsigned offset, in at91_gpio_direction_output() 530 static int at91_gpio_get_value(struct udevice *dev, unsigned offset) in at91_gpio_get_value() 538 static int at91_gpio_set_value(struct udevice *dev, unsigned offset, in at91_gpio_set_value() [all …]
|
/openbmc/u-boot/drivers/mtd/spi/ |
H A D | sf_probe.c | 95 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/u-boot/drivers/dfu/ |
H A D | dfu_nand.c | 22 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()
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv_core.c | 82 uint32_t offset = addr >> 3; in pnv_core_power8_xscom_read() local 104 uint32_t offset = addr >> 3; in pnv_core_power8_xscom_write() local 132 uint32_t offset = addr >> 3; in pnv_core_power9_xscom_read() local 161 uint32_t offset = addr >> 3; in pnv_core_power9_xscom_write() local 198 uint32_t offset = addr >> 3; in pnv_core_power10_xscom_read() local 240 uint32_t offset = addr >> 3; in pnv_core_power10_xscom_write() local 517 uint32_t offset = addr >> 3; in DEFINE_TYPES() local 536 uint32_t offset = addr >> 3; in pnv_quad_power9_xscom_write() local 565 uint32_t offset = addr >> 3; in pnv_quad_power10_xscom_read() local 580 uint32_t offset = addr >> 3; in pnv_quad_power10_xscom_write() local [all …]
|
/openbmc/linux/drivers/net/wireless/broadcom/b43/ |
H A D | tables_phy_ht.h | 10 #define B43_HTTAB8(table, offset) (((table) << 10) | (offset) | B43_HTTAB_8BIT) argument 11 #define B43_HTTAB16(table, offset) (((table) << 10) | (offset) | B43_HTTAB_16BIT) argument 12 #define B43_HTTAB32(table, offset) (((table) << 10) | (offset) | B43_HTTAB_32BIT) argument
|
H A D | tables_phy_lcn.h | 10 #define B43_LCNTAB8(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_8BIT) argument 11 #define B43_LCNTAB16(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_16BIT) argument 12 #define B43_LCNTAB32(table, offset) (((table) << 10) | (offset) | B43_LCNTAB_32BIT) argument
|
/openbmc/linux/drivers/reset/ |
H A D | reset-zynq.c | 23 u32 offset; member 35 int offset = id % BITS_PER_LONG; in zynq_reset_assert() local 52 int offset = id % BITS_PER_LONG; in zynq_reset_deassert() local 69 int offset = id % BITS_PER_LONG; in zynq_reset_status() local
|
/openbmc/linux/arch/m68k/mac/ |
H A D | misc.c | 40 static unsigned char cuda_pram_read_byte(int offset) in cuda_pram_read_byte() 52 static void cuda_pram_write_byte(unsigned char data, int offset) in cuda_pram_write_byte() 65 static unsigned char pmu_pram_read_byte(int offset) in pmu_pram_read_byte() 77 static void pmu_pram_write_byte(unsigned char data, int offset) in pmu_pram_write_byte() 210 static unsigned char via_pram_read_byte(int offset) in via_pram_read_byte() 219 static void via_pram_write_byte(unsigned char data, int offset) in via_pram_write_byte() 478 unsigned long offset = phys-virt; in mac_reset() local 545 static void unmktime(time64_t time, long offset, in unmktime()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-stmfx.c | 47 #define get_reg(offset) ((offset) / NR_GPIOS_PER_REG) argument 48 #define get_shift(offset) ((offset) % NR_GPIOS_PER_REG) argument 49 #define get_mask(offset) (BIT(get_shift(offset))) argument 104 static int stmfx_gpio_get(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get() 117 static void stmfx_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in stmfx_gpio_set() 127 static int stmfx_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get_direction() 148 static int stmfx_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_direction_input() 158 unsigned int offset, int value) in stmfx_gpio_direction_output() 170 unsigned int offset) in stmfx_pinconf_get_pupd() 184 unsigned int offset, u32 pupd) in stmfx_pinconf_set_pupd() [all …]
|