Home
last modified time | relevance | path

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

12345678910>>...204

/linux-5.10/drivers/bcma/
Dhost_soc.c16 static u8 bcma_host_soc_read8(struct bcma_device *core, u16 offset) in bcma_host_soc_read8()
21 static u16 bcma_host_soc_read16(struct bcma_device *core, u16 offset) in bcma_host_soc_read16()
26 static u32 bcma_host_soc_read32(struct bcma_device *core, u16 offset) in bcma_host_soc_read32()
31 static void bcma_host_soc_write8(struct bcma_device *core, u16 offset, in bcma_host_soc_write8()
37 static void bcma_host_soc_write16(struct bcma_device *core, u16 offset, in bcma_host_soc_write16()
43 static void bcma_host_soc_write32(struct bcma_device *core, u16 offset, in bcma_host_soc_write32()
51 size_t count, u16 offset, u8 reg_width) in bcma_host_soc_block_read()
95 size_t count, u16 offset, u8 reg_width) in bcma_host_soc_block_write()
138 static u32 bcma_host_soc_aread32(struct bcma_device *core, u16 offset) in bcma_host_soc_aread32()
145 static void bcma_host_soc_awrite32(struct bcma_device *core, u16 offset, in bcma_host_soc_awrite32()
Dhost_pci.c42 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-5.10/drivers/pinctrl/
Dpinctrl-da9062.c30 #define DA9062_TYPE(offset) (4 * (offset % 2)) argument
31 #define DA9062_PIN_SHIFT(offset) (4 * (offset % 2)) argument
45 unsigned int offset) in da9062_pctl_get_pin_mode()
61 unsigned int offset, unsigned int mode_req) in da9062_pctl_set_pin_mode()
80 static int da9062_gpio_get(struct gpio_chip *gc, unsigned int offset) in da9062_gpio_get()
109 static void da9062_gpio_set(struct gpio_chip *gc, unsigned int offset, in da9062_gpio_set()
119 static int da9062_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in da9062_gpio_get_direction()
142 unsigned int offset) in da9062_gpio_direction_input()
169 unsigned int offset, int value) in da9062_gpio_direction_output()
184 static int da9062_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in da9062_gpio_set_config()
[all …]
/linux-5.10/drivers/xen/xen-pciback/
Dconf_space_header.c34 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()
142 static int rom_write(struct pci_dev *dev, int offset, u32 value, void *data) in rom_write()
175 static int bar_write(struct pci_dev *dev, int offset, u32 value, void *data) in bar_write()
211 static int bar_read(struct pci_dev *dev, int offset, u32 * value, void *data) in bar_read()
225 static void *bar_init(struct pci_dev *dev, int offset) in bar_init()
258 static void bar_reset(struct pci_dev *dev, int offset, void *data) in bar_reset()
265 static void bar_release(struct pci_dev *dev, int offset, void *data) in bar_release()
270 static int xen_pcibk_read_vendor(struct pci_dev *dev, int offset, in xen_pcibk_read_vendor()
[all …]
/linux-5.10/drivers/crypto/caam/
Dsg_sw_qm.h14 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-5.10/drivers/gpio/
Dgpio-cs5535.c83 static void __cs5535_gpio_set(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_set()
94 void cs5535_gpio_set(unsigned offset, unsigned int reg) in cs5535_gpio_set()
105 static void __cs5535_gpio_clear(struct cs5535_gpio_chip *chip, unsigned offset, in __cs5535_gpio_clear()
116 void cs5535_gpio_clear(unsigned offset, unsigned int reg) in cs5535_gpio_clear()
127 int cs5535_gpio_isset(unsigned offset, unsigned int reg) in cs5535_gpio_isset()
165 void cs5535_gpio_setup_event(unsigned offset, int pair, int pme) in cs5535_gpio_setup_event()
203 static int chip_gpio_request(struct gpio_chip *c, unsigned offset) in chip_gpio_request()
230 static int chip_gpio_get(struct gpio_chip *chip, unsigned offset) in chip_gpio_get()
235 static void chip_gpio_set(struct gpio_chip *chip, unsigned offset, int val) in chip_gpio_set()
243 static int chip_direction_input(struct gpio_chip *c, unsigned offset) in chip_direction_input()
[all …]
Dgpio-sprd.c48 static void sprd_gpio_update(struct gpio_chip *chip, unsigned int offset, in sprd_gpio_update()
69 static int sprd_gpio_read(struct gpio_chip *chip, unsigned int offset, u16 reg) in sprd_gpio_read()
78 static int sprd_gpio_request(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_request()
84 static void sprd_gpio_free(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_free()
90 unsigned int offset) in sprd_gpio_direction_input()
98 unsigned int offset, int value) in sprd_gpio_direction_output()
106 static int sprd_gpio_get(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_get()
111 static void sprd_gpio_set(struct gpio_chip *chip, unsigned int offset, in sprd_gpio_set()
120 u32 offset = irqd_to_hwirq(data); in sprd_gpio_irq_mask() local
128 u32 offset = irqd_to_hwirq(data); in sprd_gpio_irq_ack() local
[all …]
Dgpio-lp873x.c33 unsigned int offset) in lp873x_gpio_get_direction()
40 unsigned int offset) in lp873x_gpio_direction_input()
47 unsigned int offset, int value) in lp873x_gpio_direction_output()
57 static int lp873x_gpio_get(struct gpio_chip *chip, unsigned int offset) in lp873x_gpio_get()
69 static void lp873x_gpio_set(struct gpio_chip *chip, unsigned int offset, in lp873x_gpio_set()
79 static int lp873x_gpio_request(struct gpio_chip *gc, unsigned int offset) in lp873x_gpio_request()
103 static int lp873x_gpio_set_config(struct gpio_chip *gc, unsigned offset, in lp873x_gpio_set_config()
Dgpio-lp87565.c29 static int lp87565_gpio_get(struct gpio_chip *chip, unsigned int offset) in lp87565_gpio_get()
41 static void lp87565_gpio_set(struct gpio_chip *chip, unsigned int offset, in lp87565_gpio_set()
51 unsigned int offset) in lp87565_gpio_get_direction()
67 unsigned int offset) in lp87565_gpio_direction_input()
77 unsigned int offset, int value) in lp87565_gpio_direction_output()
88 static int lp87565_gpio_request(struct gpio_chip *gc, unsigned int offset) in lp87565_gpio_request()
116 static int lp87565_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in lp87565_gpio_set_config()
Dgpio-aspeed.c251 static const struct aspeed_gpio_bank *to_bank(unsigned int offset) in to_bank()
265 struct aspeed_gpio *gpio, unsigned int offset) in find_bank_props()
278 static inline bool have_gpio(struct aspeed_gpio *gpio, unsigned int offset) in have_gpio()
288 static inline bool have_input(struct aspeed_gpio *gpio, unsigned int offset) in have_input()
298 static inline bool have_output(struct aspeed_gpio *gpio, unsigned int offset) in have_output()
338 unsigned int offset) in aspeed_gpio_copro_request()
362 unsigned int offset) in aspeed_gpio_copro_release()
381 static int aspeed_gpio_get(struct gpio_chip *gc, unsigned int offset) in aspeed_gpio_get()
389 static void __aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset, in __aspeed_gpio_set()
409 static void aspeed_gpio_set(struct gpio_chip *gc, unsigned int offset, in aspeed_gpio_set()
[all …]
Dgpio-pmic-eic-sprd.c61 u32 offset; member
67 static void sprd_pmic_eic_update(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_update()
77 static int sprd_pmic_eic_read(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_read()
91 static int sprd_pmic_eic_request(struct gpio_chip *chip, unsigned int offset) in sprd_pmic_eic_request()
97 static void sprd_pmic_eic_free(struct gpio_chip *chip, unsigned int offset) in sprd_pmic_eic_free()
102 static int sprd_pmic_eic_get(struct gpio_chip *chip, unsigned int offset) in sprd_pmic_eic_get()
108 unsigned int offset) in sprd_pmic_eic_direction_input()
114 static void sprd_pmic_eic_set(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_set()
121 unsigned int offset, in sprd_pmic_eic_set_debounce()
138 static int sprd_pmic_eic_set_config(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_set_config()
[all …]
Dgpio-lp3943.c45 static int lp3943_gpio_request(struct gpio_chip *chip, unsigned offset) in lp3943_gpio_request()
57 static void lp3943_gpio_free(struct gpio_chip *chip, unsigned offset) in lp3943_gpio_free()
65 static int lp3943_gpio_set_mode(struct lp3943_gpio *lp3943_gpio, u8 offset, in lp3943_gpio_set_mode()
75 static int lp3943_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in lp3943_gpio_direction_input()
85 struct gpio_chip *chip, unsigned offset) in lp3943_get_gpio_in_status()
110 struct gpio_chip *chip, unsigned offset) in lp3943_get_gpio_out_status()
131 static int lp3943_gpio_get(struct gpio_chip *chip, unsigned offset) in lp3943_gpio_get()
150 static void lp3943_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in lp3943_gpio_set()
163 static int lp3943_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in lp3943_gpio_direction_output()
/linux-5.10/drivers/oprofile/
Doprofile_files.c31 size_t count, loff_t *offset) in timeout_read()
39 size_t count, loff_t *offset) in timeout_write()
68 static ssize_t depth_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in depth_read()
75 static ssize_t depth_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in depth_write()
105 static ssize_t pointer_size_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in pointer_size_read()
117 static ssize_t cpu_type_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in cpu_type_read()
129 static ssize_t enable_read(struct file *file, char __user *buf, size_t count, loff_t *offset) in enable_read()
135 static ssize_t enable_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in enable_write()
166 static ssize_t dump_write(struct file *file, char const __user *buf, size_t count, loff_t *offset) in dump_write()
/linux-5.10/sound/soc/sof/
Dops.c15 bool snd_sof_pci_update_bits_unlocked(struct snd_sof_dev *sdev, u32 offset, in snd_sof_pci_update_bits_unlocked()
38 bool snd_sof_pci_update_bits(struct snd_sof_dev *sdev, u32 offset, in snd_sof_pci_update_bits()
52 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_unlocked()
72 u32 offset, u64 mask, u64 value) in snd_sof_dsp_update_bits64_unlocked()
90 bool snd_sof_dsp_update_bits(struct snd_sof_dev *sdev, u32 bar, u32 offset, in snd_sof_dsp_update_bits()
104 bool snd_sof_dsp_update_bits64(struct snd_sof_dev *sdev, u32 bar, u32 offset, in snd_sof_dsp_update_bits64()
120 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_forced_unlocked()
135 u32 offset, u32 mask, u32 value) in snd_sof_dsp_update_bits_forced()
145 void snd_sof_dsp_panic(struct snd_sof_dev *sdev, u32 offset) in snd_sof_dsp_panic()
/linux-5.10/arch/powerpc/platforms/cell/spufs/
Dspu_restore.c69 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
/linux-5.10/drivers/ssb/
Dhost_soc.c16 static u8 ssb_host_soc_read8(struct ssb_device *dev, u16 offset) in ssb_host_soc_read8()
24 static u16 ssb_host_soc_read16(struct ssb_device *dev, u16 offset) in ssb_host_soc_read16()
32 static u32 ssb_host_soc_read32(struct ssb_device *dev, u16 offset) in ssb_host_soc_read32()
42 size_t count, u16 offset, u8 reg_width) in ssb_host_soc_block_read()
89 static void ssb_host_soc_write8(struct ssb_device *dev, u16 offset, u8 value) in ssb_host_soc_write8()
97 static void ssb_host_soc_write16(struct ssb_device *dev, u16 offset, u16 value) in ssb_host_soc_write16()
105 static void ssb_host_soc_write32(struct ssb_device *dev, u16 offset, u32 value) in ssb_host_soc_write32()
115 size_t count, u16 offset, u8 reg_width) in ssb_host_soc_block_write()
/linux-5.10/drivers/net/ethernet/intel/e1000e/
Dphy.c118 s32 e1000e_read_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_mdic()
181 s32 e1000e_write_phy_reg_mdic(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_mdic()
246 s32 e1000e_read_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_m88()
271 s32 e1000e_write_phy_reg_m88(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_m88()
316 static s32 __e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data, in __e1000e_read_phy_reg_igp()
354 s32 e1000e_read_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_igp()
368 s32 e1000e_read_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 *data) in e1000e_read_phy_reg_igp_locked()
383 static s32 __e1000e_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data, in __e1000e_write_phy_reg_igp()
419 s32 e1000e_write_phy_reg_igp(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_igp()
433 s32 e1000e_write_phy_reg_igp_locked(struct e1000_hw *hw, u32 offset, u16 data) in e1000e_write_phy_reg_igp_locked()
[all …]
/linux-5.10/arch/m68k/coldfire/
Dgpio.c110 static int mcfgpio_direction_input(struct gpio_chip *chip, unsigned offset) in mcfgpio_direction_input()
115 static int mcfgpio_get_value(struct gpio_chip *chip, unsigned offset) in mcfgpio_get_value()
120 static int mcfgpio_direction_output(struct gpio_chip *chip, unsigned offset, in mcfgpio_direction_output()
126 static void mcfgpio_set_value(struct gpio_chip *chip, unsigned offset, in mcfgpio_set_value()
132 static int mcfgpio_request(struct gpio_chip *chip, unsigned offset) in mcfgpio_request()
137 static void mcfgpio_free(struct gpio_chip *chip, unsigned offset) in mcfgpio_free()
142 static int mcfgpio_to_irq(struct gpio_chip *chip, unsigned offset) in mcfgpio_to_irq()
/linux-5.10/arch/mips/kernel/
Drelocate.c41 int __weak plat_post_relocation(long offset) in plat_post_relocation()
73 static int __init apply_r_mips_64_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_64_rel()
80 static int __init apply_r_mips_32_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_32_rel()
87 static int __init apply_r_mips_26_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_26_rel()
117 static int __init apply_r_mips_hi16_rel(u32 *loc_orig, u32 *loc_new, long offset) in apply_r_mips_hi16_rel()
135 int __init do_relocations(void *kbase_old, void *kbase_new, long offset) in do_relocations()
172 static int __init relocate_exception_table(long offset) in relocate_exception_table()
256 unsigned long offset; in determine_relocation_address() local
302 long offset = 0; in relocate_kernel() local
410 unsigned long offset; in show_kernel_relocation() local
/linux-5.10/drivers/char/ipmi/
Dipmi_si_port_io.c6 static unsigned char port_inb(const struct si_sm_io *io, unsigned int offset) in port_inb()
13 static void port_outb(const struct si_sm_io *io, unsigned int offset, in port_outb()
21 static unsigned char port_inw(const struct si_sm_io *io, unsigned int offset) in port_inw()
28 static void port_outw(const struct si_sm_io *io, unsigned int offset, in port_outw()
36 static unsigned char port_inl(const struct si_sm_io *io, unsigned int offset) in port_inl()
43 static void port_outl(const struct si_sm_io *io, unsigned int offset, in port_outl()
/linux-5.10/drivers/net/ethernet/intel/e1000/
De1000_osdep.h22 #define GBE_CONFIG_FLASH_WRITE(base, offset, count, data) \ argument
25 #define GBE_CONFIG_FLASH_READ(base, offset, count, data) \ argument
36 #define E1000_WRITE_REG_ARRAY(a, reg, offset, value) ( \ argument
41 #define E1000_READ_REG_ARRAY(a, reg, offset) ( \ argument
49 #define E1000_WRITE_REG_ARRAY_WORD(a, reg, offset, value) ( \ argument
54 #define E1000_READ_REG_ARRAY_WORD(a, reg, offset) ( \ argument
59 #define E1000_WRITE_REG_ARRAY_BYTE(a, reg, offset, value) ( \ argument
64 #define E1000_READ_REG_ARRAY_BYTE(a, reg, offset) ( \ argument
/linux-5.10/arch/x86/pci/
Dearly.c11 u32 read_pci_config(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config()
19 u8 read_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_byte()
27 u16 read_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset) in read_pci_config_16()
35 void write_pci_config(u8 bus, u8 slot, u8 func, u8 offset, in write_pci_config()
42 void write_pci_config_byte(u8 bus, u8 slot, u8 func, u8 offset, u8 val) in write_pci_config_byte()
48 void write_pci_config_16(u8 bus, u8 slot, u8 func, u8 offset, u16 val) in write_pci_config_16()
/linux-5.10/arch/sh/include/asm/
Dio_trapped.h32 __ioremap_trapped(unsigned long offset, unsigned long size) in __ioremap_trapped()
37 #define __ioremap_trapped(offset, size) NULL argument
44 __ioport_map_trapped(unsigned long offset, unsigned long size) in __ioport_map_trapped()
49 #define __ioport_map_trapped(offset, size) NULL argument
55 #define __ioremap_trapped(offset, size) NULL argument
56 #define __ioport_map_trapped(offset, size) NULL argument
/linux-5.10/drivers/gpu/drm/arm/display/include/
Dmalidp_io.h13 malidp_read32(u32 __iomem *base, u32 offset) in malidp_read32()
19 malidp_write32(u32 __iomem *base, u32 offset, u32 v) in malidp_write32()
25 malidp_write64(u32 __iomem *base, u32 offset, u64 v) in malidp_write64()
32 malidp_write32_mask(u32 __iomem *base, u32 offset, u32 m, u32 v) in malidp_write32_mask()
41 malidp_write_group(u32 __iomem *base, u32 offset, int num, const u32 *values) in malidp_write_group()
/linux-5.10/include/dt-bindings/clock/
Dam3.h9 #define AM3_CLKCTRL_INDEX(offset) ((offset) - AM3_CLKCTRL_OFFSET) argument
15 #define AM3_L4_PER_CLKCTRL_INDEX(offset) ((offset) - AM3_L4_PER_CLKCTRL_OFFSET) argument
70 #define AM3_L4_WKUP_CLKCTRL_INDEX(offset) ((offset) - AM3_L4_WKUP_CLKCTRL_OFFSET) argument
86 #define AM3_MPU_CLKCTRL_INDEX(offset) ((offset) - AM3_MPU_CLKCTRL_OFFSET) argument
94 #define AM3_GFX_L3_CLKCTRL_INDEX(offset) ((offset) - AM3_GFX_L3_CLKCTRL_OFFSET) argument
99 #define AM3_L4_CEFUSE_CLKCTRL_INDEX(offset) ((offset) - AM3_L4_CEFUSE_CLKCTRL_OFFSET) argument
106 #define AM3_L4LS_CLKCTRL_INDEX(offset) ((offset) - AM3_L4LS_CLKCTRL_OFFSET) argument
141 #define AM3_L3S_CLKCTRL_INDEX(offset) ((offset) - AM3_L3S_CLKCTRL_OFFSET) argument
150 #define AM3_L3_CLKCTRL_INDEX(offset) ((offset) - AM3_L3_CLKCTRL_OFFSET) argument
164 #define AM3_L4HS_CLKCTRL_INDEX(offset) ((offset) - AM3_L4HS_CLKCTRL_OFFSET) argument
[all …]

12345678910>>...204