/openbmc/qemu/tests/tcg/multiarch/system/ |
H A D | memory.c | 104 static void reset_start_data(int offset) in reset_start_data() 113 static void init_test_data_u16(int offset) in init_test_data_u16() 133 static void init_test_data_u32(int offset) in init_test_data_u32() 155 static void init_test_data_u64(int offset) in init_test_data_u64() 180 static bool read_test_data_u16(int offset) in read_test_data_u16() 205 static bool read_test_data_u32(int offset) in read_test_data_u32() 246 static bool read_test_data_u64(int offset) in read_test_data_u64() 345 static bool read_test_data_s8(int offset, bool neg_first) in read_test_data_s8() 372 static bool read_test_data_s16(int offset, bool neg_first) in read_test_data_s16() 405 static bool read_test_data_s32(int offset, bool neg_first) in read_test_data_s32()
|
/openbmc/linux/drivers/net/ethernet/apm/xgene/ |
H A D | xgene_enet_sgmac.c | 14 static void xgene_enet_wr_csr(struct xgene_enet_pdata *p, u32 offset, u32 val) in xgene_enet_wr_csr() 19 static void xgene_enet_wr_clkrst_csr(struct xgene_enet_pdata *p, u32 offset, in xgene_enet_wr_clkrst_csr() 26 u32 offset, u32 val) in xgene_enet_wr_ring_if() 32 u32 offset, u32 val) in xgene_enet_wr_diag_csr() 38 u32 offset, u32 val) in xgene_enet_wr_mcx_csr() 45 static u32 xgene_enet_rd_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_csr() 50 static u32 xgene_enet_rd_diag_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_diag_csr() 55 static u32 xgene_enet_rd_mcx_csr(struct xgene_enet_pdata *p, u32 offset) in xgene_enet_rd_mcx_csr() 334 u32 data, data1, data2, offset; in xgene_sgmac_init() local 487 u32 offset = p->port_id * MAC_OFFSET; in xgene_enet_cle_bypass() local
|
/openbmc/linux/include/dt-bindings/clock/ |
H A D | dra7.h | 9 #define DRA7_CLKCTRL_INDEX(offset) ((offset) - DRA7_CLKCTRL_OFFSET) argument 22 #define DRA7_IPU_CLKCTRL_INDEX(offset) ((offset) - DRA7_IPU_CLKCTRL_OFFSET) argument 44 #define DRA7_VPE_CLKCTRL_INDEX(offset) ((offset) - DRA7_VPE_CLKCTRL_OFFSET) argument 71 #define DRA7_ATL_CLKCTRL_INDEX(offset) ((offset) - DRA7_ATL_CLKCTRL_OFFSET) argument 119 #define DRA7_PCIE_CLKCTRL_INDEX(offset) ((offset) - DRA7_PCIE_CLKCTRL_OFFSET) argument 125 #define DRA7_GMAC_CLKCTRL_INDEX(offset) ((offset) - DRA7_GMAC_CLKCTRL_OFFSET) argument 130 #define DRA7_L4PER_CLKCTRL_INDEX(offset) ((offset) - DRA7_L4PER_CLKCTRL_OFFSET) argument 165 #define DRA7_L4SEC_CLKCTRL_INDEX(offset) ((offset) - DRA7_L4SEC_CLKCTRL_OFFSET) argument 175 #define DRA7_L4PER2_CLKCTRL_INDEX(offset) ((offset) - DRA7_L4PER2_CLKCTRL_OFFSET) argument 197 #define DRA7_L4PER3_CLKCTRL_INDEX(offset) ((offset) - DRA7_L4PER3_CLKCTRL_OFFSET) argument
|
/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() 301 loff_t offset, size_t size) in qlcnic_sysfs_validate_mem() 314 loff_t offset, size_t size) in qlcnic_sysfs_read_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() 627 char *buf, loff_t offset, in qlcnic_sysfs_read_esw_config() 773 char *buf, loff_t offset, in qlcnic_sysfs_get_port_stats() 808 char *buf, loff_t offset, in qlcnic_sysfs_get_esw_stats() 843 char *buf, loff_t offset, in qlcnic_sysfs_clear_esw_stats() [all …]
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_config.c | 34 #define is_bar(offset) \ argument 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() 717 int offset, __le32 val) in vfio_pm_config_write() 789 int offset, __le32 val) in vfio_vpd_config_write() 871 int offset, __le32 val) in vfio_exp_config_write() 955 int offset, __le32 val) in vfio_af_config_write() 1459 int offset) in vfio_update_pm_vconfig_bytes() [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/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/wireless/broadcom/b43/ |
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
|
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
|
/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/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/linux/drivers/gpio/ |
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-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-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()
|
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()
|
/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/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/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/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/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 510 uint32_t offset = addr >> 3; in DEFINE_TYPES() local 529 uint32_t offset = addr >> 3; in pnv_quad_power9_xscom_write() local 558 uint32_t offset = addr >> 3; in pnv_quad_power10_xscom_read() local 573 uint32_t offset = addr >> 3; in pnv_quad_power10_xscom_write() local [all …]
|
/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()
|