| /linux/arch/mips/include/asm/octeon/ |
| H A D | cvmx-pexp-defs.h | 31 #define CVMX_PEXP_NPEI_BAR1_INDEXX(offset) (CVMX_ADD_IO_SEG(0x00011F0000008000ull) + ((offset) & 31… argument 43 #define CVMX_PEXP_NPEI_DMAX_COUNTS(offset) (CVMX_ADD_IO_SEG(0x00011F0000008450ull) + ((offset) & 7)… argument 44 #define CVMX_PEXP_NPEI_DMAX_DBELL(offset) (CVMX_ADD_IO_SEG(0x00011F00000083B0ull) + ((offset) & 7) … argument 45 #define CVMX_PEXP_NPEI_DMAX_IBUFF_SADDR(offset) (CVMX_ADD_IO_SEG(0x00011F0000008400ull) + ((offset)… argument 46 #define CVMX_PEXP_NPEI_DMAX_NADDR(offset) (CVMX_ADD_IO_SEG(0x00011F00000084A0ull) + ((offset) & 7) … argument 68 #define CVMX_PEXP_NPEI_MEM_ACCESS_SUBIDX(offset) (CVMX_ADD_IO_SEG(0x00011F0000008280ull) + ((offset… argument 92 #define CVMX_PEXP_NPEI_PKTX_CNTS(offset) (CVMX_ADD_IO_SEG(0x00011F000000A400ull) + ((offset) & 31) … argument 93 #define CVMX_PEXP_NPEI_PKTX_INSTR_BADDR(offset) (CVMX_ADD_IO_SEG(0x00011F000000A800ull) + ((offset)… argument 94 #define CVMX_PEXP_NPEI_PKTX_INSTR_BAOFF_DBELL(offset) (CVMX_ADD_IO_SEG(0x00011F000000AC00ull) + ((o… argument 95 #define CVMX_PEXP_NPEI_PKTX_INSTR_FIFO_RSIZE(offset) (CVMX_ADD_IO_SEG(0x00011F000000B000ull) + ((of… argument [all …]
|
| /linux/drivers/md/dm-vdo/ |
| H A D | numeric.h | 18 static inline void decode_s64_le(const u8 *buffer, size_t *offset, s64 *decoded) in decode_s64_le() 24 static inline void encode_s64_le(u8 *data, size_t *offset, s64 to_encode) in encode_s64_le() 30 static inline void decode_u64_le(const u8 *buffer, size_t *offset, u64 *decoded) in decode_u64_le() 36 static inline void encode_u64_le(u8 *data, size_t *offset, u64 to_encode) in encode_u64_le() 42 static inline void decode_s32_le(const u8 *buffer, size_t *offset, s32 *decoded) in decode_s32_le() 48 static inline void encode_s32_le(u8 *data, size_t *offset, s32 to_encode) in encode_s32_le() 54 static inline void decode_u32_le(const u8 *buffer, size_t *offset, u32 *decoded) in decode_u32_le() 60 static inline void encode_u32_le(u8 *data, size_t *offset, u32 to_encode) in encode_u32_le() 66 static inline void decode_u16_le(const u8 *buffer, size_t *offset, u16 *decoded) in decode_u16_le() 72 static inline void encode_u16_le(u8 *data, size_t *offset, u16 to_encode) in encode_u16_le()
|
| /linux/drivers/gpio/ |
| H A D | gpio-aspeed.c | 324 to_bank(unsigned int offset) to_bank() argument 338 find_bank_props(struct aspeed_gpio * gpio,unsigned int offset) find_bank_props() argument 351 have_gpio(struct aspeed_gpio * gpio,unsigned int offset) have_gpio() argument 361 have_input(struct aspeed_gpio * gpio,unsigned int offset) have_input() argument 371 have_output(struct aspeed_gpio * gpio,unsigned int offset) have_output() argument 378 aspeed_gpio_change_cmd_source(struct aspeed_gpio * gpio,unsigned int offset,int cmdsrc) aspeed_gpio_change_cmd_source() argument 385 aspeed_gpio_copro_request(struct aspeed_gpio * gpio,unsigned int offset) aspeed_gpio_copro_request() argument 394 aspeed_gpio_copro_release(struct aspeed_gpio * gpio,unsigned int offset) aspeed_gpio_copro_release() argument 406 aspeed_gpio_get(struct gpio_chip * gc,unsigned int offset) aspeed_gpio_get() argument 413 __aspeed_gpio_set(struct gpio_chip * gc,unsigned int offset,int val) __aspeed_gpio_set() argument 423 aspeed_gpio_set(struct gpio_chip * gc,unsigned int offset,int val) aspeed_gpio_set() argument 440 aspeed_gpio_dir_in(struct gpio_chip * gc,unsigned int offset) aspeed_gpio_dir_in() argument 459 aspeed_gpio_dir_out(struct gpio_chip * gc,unsigned int offset,int val) aspeed_gpio_dir_out() argument 479 aspeed_gpio_get_direction(struct gpio_chip * gc,unsigned int offset) aspeed_gpio_get_direction() argument 499 irqd_to_aspeed_gpio_data(struct irq_data * d,struct aspeed_gpio ** gpio,int * offset) irqd_to_aspeed_gpio_data() argument 519 int rc, offset; aspeed_gpio_irq_ack() local 539 int rc, offset; aspeed_gpio_irq_set_mask() local 581 int rc, offset; aspeed_gpio_set_type() local 657 unsigned int offset; aspeed_init_irq_valid_mask() local 675 aspeed_gpio_reset_tolerance(struct gpio_chip * chip,unsigned int offset,bool enable) aspeed_gpio_reset_tolerance() argument 692 aspeed_gpio_request(struct gpio_chip * chip,unsigned int offset) aspeed_gpio_request() argument 700 aspeed_gpio_free(struct gpio_chip * chip,unsigned int offset) aspeed_gpio_free() argument 730 register_allocated_timer(struct aspeed_gpio * gpio,unsigned int offset,unsigned int timer) register_allocated_timer() argument 749 unregister_allocated_timer(struct aspeed_gpio * gpio,unsigned int offset) unregister_allocated_timer() argument 768 timer_allocation_registered(struct aspeed_gpio * gpio,unsigned int offset) timer_allocation_registered() argument 774 configure_timer(struct aspeed_gpio * gpio,unsigned int offset,unsigned int timer) configure_timer() argument 784 enable_debounce(struct gpio_chip * chip,unsigned int offset,unsigned long usecs) enable_debounce() argument 862 disable_debounce(struct gpio_chip * chip,unsigned int offset) disable_debounce() argument 876 set_debounce(struct gpio_chip * chip,unsigned int offset,unsigned long usecs) set_debounce() argument 890 aspeed_gpio_set_config(struct gpio_chip * chip,unsigned int offset,unsigned long config) aspeed_gpio_set_config() argument 941 int rc = 0, bindex, offset = gpiod_hwgpio(desc); aspeed_gpio_copro_grab_gpio() local 986 int rc = 0, bindex, offset = gpiod_hwgpio(desc); aspeed_gpio_copro_release_gpio() local 1018 int rc, offset; aspeed_gpio_irq_print_chip() local 1037 aspeed_g4_reg_bit_set(struct aspeed_gpio * gpio,unsigned int offset,const enum aspeed_gpio_reg reg,bool val) aspeed_g4_reg_bit_set() argument 1059 aspeed_g4_reg_bit_get(struct aspeed_gpio * gpio,unsigned int offset,const enum aspeed_gpio_reg reg) aspeed_g4_reg_bit_get() argument 1068 aspeed_g4_reg_bank_get(struct aspeed_gpio * gpio,unsigned int offset,const enum aspeed_gpio_reg reg) aspeed_g4_reg_bank_get() argument 1080 aspeed_g4_privilege_ctrl(struct aspeed_gpio * gpio,unsigned int offset,int cmdsrc) aspeed_g4_privilege_ctrl() argument 1105 aspeed_g4_copro_request(struct aspeed_gpio * gpio,unsigned int offset) aspeed_g4_copro_request() argument 1126 aspeed_g4_copro_release(struct aspeed_gpio * gpio,unsigned int offset) aspeed_g4_copro_release() argument 1152 aspeed_g7_reg_bit_set(struct aspeed_gpio * gpio,unsigned int offset,const enum aspeed_gpio_reg reg,bool val) aspeed_g7_reg_bit_set() argument 1165 aspeed_g7_reg_bit_get(struct aspeed_gpio * gpio,unsigned int offset,const enum aspeed_gpio_reg reg) aspeed_g7_reg_bit_get() argument 1181 aspeed_g7_reg_bank_get(struct aspeed_gpio * gpio,unsigned int offset,const enum aspeed_gpio_reg reg) aspeed_g7_reg_bank_get() argument [all...] |
| H A D | gpio-pmic-eic-sprd.c | 59 u32 offset; member 65 static void sprd_pmic_eic_update(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_update() argument 75 static int sprd_pmic_eic_read(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_read() argument 89 static int sprd_pmic_eic_request(struct gpio_chip *chip, unsigned int offset) in sprd_pmic_eic_request() argument 95 sprd_pmic_eic_free(struct gpio_chip * chip,unsigned int offset) sprd_pmic_eic_free() argument 100 sprd_pmic_eic_get(struct gpio_chip * chip,unsigned int offset) sprd_pmic_eic_get() argument 106 sprd_pmic_eic_direction_input(struct gpio_chip * chip,unsigned int offset) sprd_pmic_eic_direction_input() argument 113 sprd_pmic_eic_set_debounce(struct gpio_chip * chip,unsigned int offset,unsigned int debounce) sprd_pmic_eic_set_debounce() argument 130 sprd_pmic_eic_set_config(struct gpio_chip * chip,unsigned int offset,unsigned long config) sprd_pmic_eic_set_config() argument 146 u32 offset = irqd_to_hwirq(data); sprd_pmic_eic_irq_mask() local 158 u32 offset = irqd_to_hwirq(data); sprd_pmic_eic_irq_unmask() local 171 u32 offset = irqd_to_hwirq(data); sprd_pmic_eic_irq_set_type() local 208 u32 offset = irqd_to_hwirq(data); sprd_pmic_eic_bus_sync_unlock() local 234 sprd_pmic_eic_toggle_trigger(struct gpio_chip * chip,unsigned int irq,unsigned int offset) sprd_pmic_eic_toggle_trigger() argument [all...] |
| H A D | gpio-sprd.c | 47 static void sprd_gpio_update(struct gpio_chip *chip, unsigned int offset, in sprd_gpio_update() argument 68 static int sprd_gpio_read(struct gpio_chip *chip, unsigned int offset, u16 reg) in sprd_gpio_read() argument 77 static int sprd_gpio_request(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_request() argument 83 static void sprd_gpio_free(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_free() argument 89 sprd_gpio_direction_input(struct gpio_chip * chip,unsigned int offset) sprd_gpio_direction_input() argument 97 sprd_gpio_direction_output(struct gpio_chip * chip,unsigned int offset,int value) sprd_gpio_direction_output() argument 105 sprd_gpio_get(struct gpio_chip * chip,unsigned int offset) sprd_gpio_get() argument 110 sprd_gpio_set(struct gpio_chip * chip,unsigned int offset,int value) sprd_gpio_set() argument 121 u32 offset = irqd_to_hwirq(data); sprd_gpio_irq_mask() local 130 u32 offset = irqd_to_hwirq(data); sprd_gpio_irq_ack() local 138 u32 offset = irqd_to_hwirq(data); sprd_gpio_irq_unmask() local 148 u32 offset = irqd_to_hwirq(data); sprd_gpio_irq_set_type() local [all...] |
| H A D | gpio-rtd.c | 72 static u8 rtd_gpio_get_deb_setval(const struct rtd_gpio_info *info, unsigned int offset, in rtd_gpio_get_deb_setval() argument 80 static u8 rtd1295_misc_gpio_get_deb_setval(const struct rtd_gpio_info *info, unsigned int offset, in rtd1295_misc_gpio_get_deb_setval() argument 88 static u8 rtd1295_iso_gpio_get_deb_setval(const struct rtd_gpio_info *info, unsigned int offset, in rtd1295_iso_gpio_get_deb_setval() argument 178 static int rtd_gpio_dir_offset(struct rtd_gpio *data, unsigned int offset) in rtd_gpio_dir_offset() argument 183 static int rtd_gpio_dato_offset(struct rtd_gpio *data, unsigned int offset) in rtd_gpio_dato_offset() argument 188 rtd_gpio_dati_offset(struct rtd_gpio * data,unsigned int offset) rtd_gpio_dati_offset() argument 193 rtd_gpio_ie_offset(struct rtd_gpio * data,unsigned int offset) rtd_gpio_ie_offset() argument 198 rtd_gpio_dp_offset(struct rtd_gpio * data,unsigned int offset) rtd_gpio_dp_offset() argument 204 rtd_gpio_gpa_offset(struct rtd_gpio * data,unsigned int offset) rtd_gpio_gpa_offset() argument 210 rtd_gpio_gpda_offset(struct rtd_gpio * data,unsigned int offset) rtd_gpio_gpda_offset() argument 216 rtd_gpio_set_debounce(struct gpio_chip * chip,unsigned int offset,unsigned int debounce) rtd_gpio_set_debounce() argument 260 rtd_gpio_set_config(struct gpio_chip * chip,unsigned int offset,unsigned long config) rtd_gpio_set_config() argument 278 rtd_gpio_set(struct gpio_chip * chip,unsigned int offset,int value) rtd_gpio_set() argument 299 rtd_gpio_get(struct gpio_chip * chip,unsigned int offset) rtd_gpio_get() argument 317 rtd_gpio_get_direction(struct gpio_chip * chip,unsigned int offset) rtd_gpio_get_direction() argument 331 rtd_gpio_set_direction(struct gpio_chip * chip,unsigned int offset,bool out) rtd_gpio_set_direction() argument 352 rtd_gpio_direction_input(struct gpio_chip * chip,unsigned int offset) rtd_gpio_direction_input() argument 357 rtd_gpio_direction_output(struct gpio_chip * chip,unsigned int offset,int value) rtd_gpio_direction_output() argument [all...] |
| H A D | gpio-shared-proxy.c | 88 gpio_shared_proxy_request(struct gpio_chip * gc,unsigned int offset) gpio_shared_proxy_request() argument 103 gpio_shared_proxy_free(struct gpio_chip * gc,unsigned int offset) gpio_shared_proxy_free() argument 125 gpio_shared_proxy_set_config(struct gpio_chip * gc,unsigned int offset,unsigned long cfg) gpio_shared_proxy_set_config() argument 153 gpio_shared_proxy_direction_input(struct gpio_chip * gc,unsigned int offset) gpio_shared_proxy_direction_input() argument 183 gpio_shared_proxy_direction_output(struct gpio_chip * gc,unsigned int offset,int value) gpio_shared_proxy_direction_output() argument 222 gpio_shared_proxy_get_cansleep(struct gpio_chip * gc,unsigned int offset) gpio_shared_proxy_get_cansleep() argument 230 gpio_shared_proxy_set_cansleep(struct gpio_chip * gc,unsigned int offset,int value) gpio_shared_proxy_set_cansleep() argument 240 gpio_shared_proxy_get_direction(struct gpio_chip * gc,unsigned int offset) gpio_shared_proxy_get_direction() argument 247 gpio_shared_proxy_to_irq(struct gpio_chip * gc,unsigned int offset) gpio_shared_proxy_to_irq() argument
|
| /linux/drivers/gpu/host1x/hw/ |
| H A D | opcodes.h | 28 unsigned indx, unsigned base_indx, unsigned offset) in host1x_class_host_wait_syncpt_base() 36 unsigned base_indx, unsigned offset) in host1x_class_host_incr_syncpt_base() 50 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_write() 61 unsigned mod_id, unsigned offset, bool auto_inc) in host1x_class_host_indoff_reg_read() 72 unsigned class_id, unsigned offset, unsigned mask) in host1x_opcode_setclass() 77 static inline u32 host1x_opcode_incr(unsigned offset, unsigned count) in host1x_opcode_incr() 82 static inline u32 host1x_opcode_nonincr(unsigned offset, unsigned count) in host1x_opcode_nonincr() 87 static inline u32 host1x_opcode_mask(unsigned offset, unsigned mask) in host1x_opcode_mask() 92 static inline u32 host1x_opcode_imm(unsigned offset, unsigned value) in host1x_opcode_imm() 113 static inline u32 host1x_opcode_gather_nonincr(unsigned offset, unsigned count) in host1x_opcode_gather_nonincr() [all …]
|
| /linux/include/linux/ |
| H A D | rio_drv.h | 54 static inline int rio_local_read_config_32(struct rio_mport *port, u32 offset, in rio_local_read_config_32() 69 static inline int rio_local_write_config_32(struct rio_mport *port, u32 offset, in rio_local_write_config_32() 84 static inline int rio_local_read_config_16(struct rio_mport *port, u32 offset, in rio_local_read_config_16() 100 static inline int rio_local_write_config_16(struct rio_mport *port, u32 offset, in rio_local_write_config_16() 115 static inline int rio_local_read_config_8(struct rio_mport *port, u32 offset, in rio_local_read_config_8() 130 static inline int rio_local_write_config_8(struct rio_mport *port, u32 offset, in rio_local_write_config_8() 145 static inline int rio_read_config_32(struct rio_dev *rdev, u32 offset, in rio_read_config_32() 161 static inline int rio_write_config_32(struct rio_dev *rdev, u32 offset, in rio_write_config_32() 177 static inline int rio_read_config_16(struct rio_dev *rdev, u32 offset, in rio_read_config_16() 193 static inline int rio_write_config_16(struct rio_dev *rdev, u32 offset, in rio_write_config_16() [all …]
|
| H A D | swapops.h | 85 static inline swp_entry_t swp_entry(unsigned long type, pgoff_t offset) in swp_entry() argument 137 static inline swp_entry_t make_readable_device_private_entry(pgoff_t offset) in make_readable_device_private_entry() argument 142 static inline swp_entry_t make_writable_device_private_entry(pgoff_t offset) in make_writable_device_private_entry() argument 147 make_device_exclusive_entry(pgoff_t offset) make_device_exclusive_entry() argument 153 make_readable_device_private_entry(pgoff_t offset) make_readable_device_private_entry() argument 158 make_writable_device_private_entry(pgoff_t offset) make_writable_device_private_entry() argument 163 make_device_exclusive_entry(pgoff_t offset) make_device_exclusive_entry() argument 172 make_readable_migration_entry(pgoff_t offset) make_readable_migration_entry() argument 177 make_readable_exclusive_migration_entry(pgoff_t offset) make_readable_exclusive_migration_entry() argument 182 make_writable_migration_entry(pgoff_t offset) make_writable_migration_entry() argument 221 make_readable_migration_entry(pgoff_t offset) make_readable_migration_entry() argument 226 make_readable_exclusive_migration_entry(pgoff_t offset) make_readable_exclusive_migration_entry() argument 231 make_writable_migration_entry(pgoff_t offset) make_writable_migration_entry() argument [all...] |
| /linux/drivers/ssb/ |
| H A D | driver_gige.c | 32 static inline u8 gige_read8(struct ssb_gige *dev, u16 offset) in gige_read8() argument 37 static inline u16 gige_read16(struct ssb_gige *dev, u16 offset) in gige_read16() argument 42 static inline u32 gige_read32(struct ssb_gige *dev, u16 offset) in gige_read32() argument 48 u16 offset, u8 value) in gige_write8() argument 54 u16 offset, u16 value) in gige_write16() argument 60 gige_write32(struct ssb_gige * dev,u16 offset,u32 value) gige_write32() argument 66 gige_pcicfg_read8(struct ssb_gige * dev,unsigned int offset) gige_pcicfg_read8() argument 73 gige_pcicfg_read16(struct ssb_gige * dev,unsigned int offset) gige_pcicfg_read16() argument 80 gige_pcicfg_read32(struct ssb_gige * dev,unsigned int offset) gige_pcicfg_read32() argument 88 gige_pcicfg_write8(struct ssb_gige * dev,unsigned int offset,u8 value) gige_pcicfg_write8() argument 96 gige_pcicfg_write16(struct ssb_gige * dev,unsigned int offset,u16 value) gige_pcicfg_write16() argument 104 gige_pcicfg_write32(struct ssb_gige * dev,unsigned int offset,u32 value) gige_pcicfg_write32() argument [all...] |
| H A D | host_soc.c | 16 static u8 ssb_host_soc_read8(struct ssb_device *dev, u16 offset) in ssb_host_soc_read8() argument 24 static u16 ssb_host_soc_read16(struct ssb_device *dev, u16 offset) in ssb_host_soc_read16() argument 32 static u32 ssb_host_soc_read32(struct ssb_device *dev, u16 offset) in ssb_host_soc_read32() argument 42 size_t count, u16 offset, u in ssb_host_soc_block_read() argument 89 ssb_host_soc_write8(struct ssb_device * dev,u16 offset,u8 value) ssb_host_soc_write8() argument 97 ssb_host_soc_write16(struct ssb_device * dev,u16 offset,u16 value) ssb_host_soc_write16() argument 105 ssb_host_soc_write32(struct ssb_device * dev,u16 offset,u32 value) ssb_host_soc_write32() argument 115 ssb_host_soc_block_write(struct ssb_device * dev,const void * buffer,size_t count,u16 offset,u8 reg_width) ssb_host_soc_block_write() argument [all...] |
| /linux/drivers/net/wireless/broadcom/b43/ |
| H A D | bus.c | 44 static u16 b43_bus_bcma_read16(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read16() 48 static u32 b43_bus_bcma_read32(struct b43_bus_dev *dev, u16 offset) in b43_bus_bcma_read32() 53 void b43_bus_bcma_write16(struct b43_bus_dev *dev, u16 offset, u16 value) in b43_bus_bcma_write16() 58 void b43_bus_bcma_write32(struct b43_bus_dev *dev, u16 offset, u32 value) in b43_bus_bcma_write32() 64 size_t count, u16 offset, u8 reg_width) in b43_bus_bcma_block_read() 70 size_t count, u16 offset, u8 reg_width) in b43_bus_bcma_block_write() 150 static u16 b43_bus_ssb_read16(struct b43_bus_dev *dev, u16 offset) in b43_bus_ssb_read16() 154 static u32 b43_bus_ssb_read32(struct b43_bus_dev *dev, u16 offset) in b43_bus_ssb_read32() 158 static void b43_bus_ssb_write16(struct b43_bus_dev *dev, u16 offset, u16 value) in b43_bus_ssb_write16() 162 static void b43_bus_ssb_write32(struct b43_bus_dev *dev, u16 offset, u32 value) in b43_bus_ssb_write32() [all …]
|
| /linux/drivers/char/ipmi/ |
| H A D | ipmi_si_mem_io.c | 7 unsigned int offset) in intf_mem_inb() 12 static void intf_mem_outb(const struct si_sm_io *io, unsigned int offset, in intf_mem_outb() 19 unsigned int offset) in intf_mem_inw() 25 static void intf_mem_outw(const struct si_sm_io *io, unsigned int offset, in intf_mem_outw() 32 unsigned int offset) in intf_mem_inl() 38 static void intf_mem_outl(const struct si_sm_io *io, unsigned int offset, in intf_mem_outl() 45 static unsigned char mem_inq(const struct si_sm_io *io, unsigned int offset) in mem_inq() 51 static void mem_outq(const struct si_sm_io *io, unsigned int offset, in mem_outq()
|
| /linux/arch/x86/include/asm/numachip/ |
| H A D | numachip_csr.h | 39 static inline void *lcsr_address(unsigned long offset) in lcsr_address() 45 static inline unsigned int read_lcsr(unsigned long offset) in read_lcsr() 50 static inline void write_lcsr(unsigned long offset, unsigned int val) in write_lcsr() 67 static inline void __iomem *numachip2_lcsr_address(unsigned long offset) in numachip2_lcsr_address() 73 static inline u32 numachip2_read32_lcsr(unsigned long offset) in numachip2_read32_lcsr() 78 static inline u64 numachip2_read64_lcsr(unsigned long offset) in numachip2_read64_lcsr() 83 static inline void numachip2_write32_lcsr(unsigned long offset, u32 val) in numachip2_write32_lcsr() 88 static inline void numachip2_write64_lcsr(unsigned long offset, u64 val) in numachip2_write64_lcsr()
|
| /linux/drivers/xen/xen-pciback/ |
| H A D | conf_space_header.c | 34 static void *command_init(struct pci_dev *dev, int offset) in command_init() 51 static int command_read(struct pci_dev *dev, int offset, u16 *value, void *data) in command_read() 62 static int command_write(struct pci_dev *dev, int offset, u16 value, void *data) in command_write() 127 static int rom_write(struct pci_dev *dev, int offset, u32 value, void *data) in rom_write() 160 static int bar_write(struct pci_dev *dev, int offset, u32 value, void *data) in bar_write() 196 static int bar_read(struct pci_dev *dev, int offset, u32 * value, void *data) in bar_read() 210 static void *bar_init(struct pci_dev *dev, int offset) in bar_init() 247 static void bar_reset(struct pci_dev *dev, int offset, void *data) in bar_reset() 254 static void bar_release(struct pci_dev *dev, int offset, void *data) in bar_release() 259 static int xen_pcibk_read_vendor(struct pci_dev *dev, int offset, in xen_pcibk_read_vendor() [all …]
|
| /linux/drivers/mfd/ |
| H A D | rz-mtu3.c | 55 static bool rz_mtu3_is_16bit_shared_reg(u16 offset) in rz_mtu3_is_16bit_shared_reg() argument 63 rz_mtu3_shared_reg_read(struct rz_mtu3_channel * ch,u16 offset) rz_mtu3_shared_reg_read() argument 75 rz_mtu3_8bit_ch_read(struct rz_mtu3_channel * ch,u16 offset) rz_mtu3_8bit_ch_read() argument 87 rz_mtu3_16bit_ch_read(struct rz_mtu3_channel * ch,u16 offset) rz_mtu3_16bit_ch_read() argument 103 rz_mtu3_32bit_ch_read(struct rz_mtu3_channel * ch,u16 offset) rz_mtu3_32bit_ch_read() argument 118 rz_mtu3_8bit_ch_write(struct rz_mtu3_channel * ch,u16 offset,u8 val) rz_mtu3_8bit_ch_write() argument 129 rz_mtu3_16bit_ch_write(struct rz_mtu3_channel * ch,u16 offset,u16 val) rz_mtu3_16bit_ch_write() argument 144 rz_mtu3_32bit_ch_write(struct rz_mtu3_channel * ch,u16 offset,u32 val) rz_mtu3_32bit_ch_write() argument 158 rz_mtu3_shared_reg_write(struct rz_mtu3_channel * ch,u16 offset,u16 value) rz_mtu3_shared_reg_write() argument 170 rz_mtu3_shared_reg_update_bit(struct rz_mtu3_channel * ch,u16 offset,u16 pos,u8 val) rz_mtu3_shared_reg_update_bit() argument 187 u16 offset; rz_mtu3_get_tstr_offset() local 250 u16 offset; rz_mtu3_start_stop_ch() local 271 u16 offset; rz_mtu3_is_enabled() local [all...] |
| /linux/drivers/bcma/ |
| H A D | host_soc.c | 16 static u8 bcma_host_soc_read8(struct bcma_device *core, u16 offset) in bcma_host_soc_read8() argument 21 static u16 bcma_host_soc_read16(struct bcma_device *core, u16 offset) in bcma_host_soc_read16() argument 26 static u32 bcma_host_soc_read32(struct bcma_device *core, u16 offset) in bcma_host_soc_read32() argument 31 static void bcma_host_soc_write8(struct bcma_device *core, u16 offset, in bcma_host_soc_write8() argument 37 static void bcma_host_soc_write16(struct bcma_device *core, u16 offset, in bcma_host_soc_write16() argument 43 bcma_host_soc_write32(struct bcma_device * core,u16 offset,u32 value) bcma_host_soc_write32() argument 51 bcma_host_soc_block_read(struct bcma_device * core,void * buffer,size_t count,u16 offset,u8 reg_width) bcma_host_soc_block_read() argument 95 bcma_host_soc_block_write(struct bcma_device * core,const void * buffer,size_t count,u16 offset,u8 reg_width) bcma_host_soc_block_write() argument 138 bcma_host_soc_aread32(struct bcma_device * core,u16 offset) bcma_host_soc_aread32() argument 145 bcma_host_soc_awrite32(struct bcma_device * core,u16 offset,u32 value) bcma_host_soc_awrite32() argument [all...] |
| H A D | host_pci.c | 42 static u8 bcma_host_pci_read8(struct bcma_device *core, u16 offset) in bcma_host_pci_read8() 48 static u16 bcma_host_pci_read16(struct bcma_device *core, u16 offset) in bcma_host_pci_read16() 54 static u32 bcma_host_pci_read32(struct bcma_device *core, u16 offset) in bcma_host_pci_read32() 60 static void bcma_host_pci_write8(struct bcma_device *core, u16 offset, in bcma_host_pci_write8() 67 static void bcma_host_pci_write16(struct bcma_device *core, u16 offset, in bcma_host_pci_write16() 74 static void bcma_host_pci_write32(struct bcma_device *core, u16 offset, in bcma_host_pci_write32() 83 size_t count, u16 offset, u8 reg_width) in bcma_host_pci_block_read() 107 u16 offset, u8 reg_width) in bcma_host_pci_block_write() 130 static u32 bcma_host_pci_aread32(struct bcma_device *core, u16 offset) in bcma_host_pci_aread32() 137 static void bcma_host_pci_awrite32(struct bcma_device *core, u16 offset, in bcma_host_pci_awrite32()
|
| /linux/drivers/misc/ocxl/ |
| H A D | mmio.c | 7 int ocxl_global_mmio_read32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read32() 32 int ocxl_global_mmio_read64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read64() 57 int ocxl_global_mmio_write32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write32() 83 int ocxl_global_mmio_write64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write64() 109 int ocxl_global_mmio_set32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set32() 140 int ocxl_global_mmio_set64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_set64() 171 int ocxl_global_mmio_clear32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_clear32() 203 int ocxl_global_mmio_clear64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_clear64()
|
| /linux/drivers/pinctrl/ |
| H A D | pinctrl-da9062.c | 26 #define DA9062_TYPE(offset) (4 * (offset % 2)) argument 27 #define DA9062_PIN_SHIFT(offset) (4 * (offset % 2)) argument 41 unsigned int offset) in da9062_pctl_get_pin_mode() argument 57 unsigned int offset, unsigned int mode_req) in da9062_pctl_set_pin_mode() argument 76 da9062_gpio_get(struct gpio_chip * gc,unsigned int offset) da9062_gpio_get() argument 105 da9062_gpio_set(struct gpio_chip * gc,unsigned int offset,int value) da9062_gpio_set() argument 115 da9062_gpio_get_direction(struct gpio_chip * gc,unsigned int offset) da9062_gpio_get_direction() argument 138 da9062_gpio_direction_input(struct gpio_chip * gc,unsigned int offset) da9062_gpio_direction_input() argument 165 da9062_gpio_direction_output(struct gpio_chip * gc,unsigned int offset,int value) da9062_gpio_direction_output() argument 178 da9062_gpio_set_config(struct gpio_chip * gc,unsigned int offset,unsigned long config) da9062_gpio_set_config() argument 224 da9062_gpio_to_irq(struct gpio_chip * gc,unsigned int offset) da9062_gpio_to_irq() argument [all...] |
| /linux/drivers/crypto/caam/ |
| H A D | sg_sw_qm.h | 14 u16 offset) in __dma_to_qm_sg() 23 dma_addr_t dma, u32 len, u16 offset) in dma_to_qm_sg_one() 30 dma_addr_t dma, u32 len, u16 offset) in dma_to_qm_sg_one_last() 37 dma_addr_t dma, u32 len, u16 offset) in dma_to_qm_sg_one_ext() 45 u16 offset) in dma_to_qm_sg_one_last_ext() 58 struct qm_sg_entry *qm_sg_ptr, u16 offset) in sg_to_qm_sg() 79 struct qm_sg_entry *qm_sg_ptr, u16 offset) in sg_to_qm_sg_last()
|
| /linux/drivers/net/ethernet/intel/e1000e/ |
| H A D | phy.c | 129 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_mdic() 208 s32 e1000e_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_mdic() 288 s32 e1000e_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_m88() 313 s32 e1000e_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_m88() 358 static s32 __e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, in __e1000e_read_phy_reg_igp() 396 s32 e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_igp() 410 s32 e1000e_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_igp_locked() 425 static s32 __e1000e_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data, in __e1000e_write_phy_reg_igp() 461 s32 e1000e_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_igp() 475 s32 e1000e_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_igp_locked() [all …]
|
| /linux/sound/soc/sof/ |
| H A D | ops.c | 15 bool snd_sof_pci_update_bits_unlocked(struct snd_sof_dev *sdev, u32 offset, in snd_sof_pci_update_bits_unlocked() argument 38 bool snd_sof_pci_update_bits(struct snd_sof_dev *sdev, u32 offset, in snd_sof_pci_update_bits() argument 52 ret = snd_sof_dsp_read(sdev, bar, offset); in snd_sof_dsp_update_bits_unlocked() argument 72 snd_sof_dsp_update_bits64_unlocked(struct snd_sof_dev * sdev,u32 bar,u32 offset,u64 mask,u64 value) snd_sof_dsp_update_bits64_unlocked() argument 90 snd_sof_dsp_update_bits(struct snd_sof_dev * sdev,u32 bar,u32 offset,u32 mask,u32 value) snd_sof_dsp_update_bits() argument 104 snd_sof_dsp_update_bits64(struct snd_sof_dev * sdev,u32 bar,u32 offset,u64 mask,u64 value) snd_sof_dsp_update_bits64() argument 120 snd_sof_dsp_update_bits_forced_unlocked(struct snd_sof_dev * sdev,u32 bar,u32 offset,u32 mask,u32 value) snd_sof_dsp_update_bits_forced_unlocked() argument 135 snd_sof_dsp_update_bits_forced(struct snd_sof_dev * sdev,u32 bar,u32 offset,u32 mask,u32 value) snd_sof_dsp_update_bits_forced() argument 151 snd_sof_dsp_panic(struct snd_sof_dev * sdev,u32 offset,bool non_recoverable) snd_sof_dsp_panic() argument [all...] |
| /linux/arch/powerpc/platforms/cell/spufs/ |
| H A D | spu_restore.c | 69 unsigned int offset; in restore_decr() local 89 unsigned int offset; in write_ppu_mb() local 103 unsigned int offset; in write_ppuint_mb() local 117 unsigned int offset; in restore_fpcr() local 131 unsigned int offset; in restore_srr0() local 144 unsigned int offset; in restore_event_mask() local 157 unsigned int offset; in restore_tag_mask() local 172 unsigned int offset; in restore_complete() local
|