Home
last modified time | relevance | path

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

12345678910>>...152

/linux/drivers/ssb/
H A 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/drivers/gpio/
H A Dgpio-eic-sprd.c143 static void sprd_eic_update(struct gpio_chip *chip, unsigned int offset, in sprd_eic_update()
164 static int sprd_eic_read(struct gpio_chip *chip, unsigned int offset, u16 reg) in sprd_eic_read()
173 static int sprd_eic_request(struct gpio_chip *chip, unsigned int offset) in sprd_eic_request()
179 static void sprd_eic_free(struct gpio_chip *chip, unsigned int offset) in sprd_eic_free()
184 static int sprd_eic_get(struct gpio_chip *chip, unsigned int offset) in sprd_eic_get()
200 static int sprd_eic_direction_input(struct gpio_chip *chip, unsigned int offset) in sprd_eic_direction_input()
206 static int sprd_eic_set(struct gpio_chip *chip, unsigned int offset, int value) in sprd_eic_set()
212 static int sprd_eic_set_debounce(struct gpio_chip *chip, unsigned int offset, in sprd_eic_set_debounce()
227 static int sprd_eic_set_config(struct gpio_chip *chip, unsigned int offset, in sprd_eic_set_config()
243 u32 offset = irqd_to_hwirq(data); in sprd_eic_irq_mask() local
[all …]
H A Dgpio-lp873x.c25 unsigned int offset) in lp873x_gpio_get_direction()
32 unsigned int offset) in lp873x_gpio_direction_input()
39 unsigned int offset, int value) in lp873x_gpio_direction_output()
49 static int lp873x_gpio_get(struct gpio_chip *chip, unsigned int offset) in lp873x_gpio_get()
61 static int lp873x_gpio_set(struct gpio_chip *chip, unsigned int offset, in lp873x_gpio_set()
71 static int lp873x_gpio_request(struct gpio_chip *gc, unsigned int offset) in lp873x_gpio_request()
95 static int lp873x_gpio_set_config(struct gpio_chip *gc, unsigned offset, in lp873x_gpio_set_config()
H A Dgpio-lp3943.c45 static int lp3943_gpio_request(struct gpio_chip *chip, unsigned int offset) in lp3943_gpio_request()
57 static void lp3943_gpio_free(struct gpio_chip *chip, unsigned int 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 int offset) in lp3943_gpio_direction_input()
85 struct gpio_chip *chip, unsigned int offset) in lp3943_get_gpio_in_status()
110 struct gpio_chip *chip, unsigned int offset) in lp3943_get_gpio_out_status()
131 static int lp3943_gpio_get(struct gpio_chip *chip, unsigned int offset) in lp3943_gpio_get()
150 static int lp3943_gpio_set(struct gpio_chip *chip, unsigned int offset, in lp3943_gpio_set()
164 static int lp3943_gpio_direction_output(struct gpio_chip *chip, unsigned int offset, in lp3943_gpio_direction_output()
H A Dgpio-lp87565.c21 static int lp87565_gpio_get(struct gpio_chip *chip, unsigned int offset) in lp87565_gpio_get()
33 static int lp87565_gpio_set(struct gpio_chip *chip, unsigned int offset, in lp87565_gpio_set()
43 unsigned int offset) in lp87565_gpio_get_direction()
59 unsigned int offset) in lp87565_gpio_direction_input()
69 unsigned int offset, int value) in lp87565_gpio_direction_output()
83 static int lp87565_gpio_request(struct gpio_chip *gc, unsigned int offset) in lp87565_gpio_request()
111 static int lp87565_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in lp87565_gpio_set_config()
H A Dgpio-tps65219.c37 static int tps65214_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in tps65214_gpio_get_direction()
52 static int tps65219_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in tps65219_gpio_get_direction()
67 static int tps65219_gpio_get(struct gpio_chip *gc, unsigned int offset) in tps65219_gpio_get()
96 static int tps65219_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in tps65219_gpio_set()
110 static int tps65219_gpio_change_direction(struct gpio_chip *gc, unsigned int offset, in tps65219_gpio_change_direction()
142 static int tps65214_gpio_change_direction(struct gpio_chip *gc, unsigned int offset, in tps65214_gpio_change_direction()
169 static int tps65219_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in tps65219_gpio_direction_input()
185 static int tps65219_gpio_direction_output(struct gpio_chip *gc, unsigned int offset, int value) in tps65219_gpio_direction_output()
H A Dgpio-aspeed-sgpio.c136 static const struct aspeed_sgpio_bank *to_bank(unsigned int offset) in to_bank()
165 static bool aspeed_sgpio_is_input(unsigned int offset) in aspeed_sgpio_is_input()
170 static int aspeed_sgpio_get(struct gpio_chip *gc, unsigned int offset) in aspeed_sgpio_get()
185 static int sgpio_set_value(struct gpio_chip *gc, unsigned int offset, int val) in sgpio_set_value()
212 static int aspeed_sgpio_set(struct gpio_chip *gc, unsigned int offset, int val) in aspeed_sgpio_set()
221 static int aspeed_sgpio_dir_in(struct gpio_chip *gc, unsigned int offset) in aspeed_sgpio_dir_in()
226 static int aspeed_sgpio_dir_out(struct gpio_chip *gc, unsigned int offset, int val) in aspeed_sgpio_dir_out()
241 static int aspeed_sgpio_get_direction(struct gpio_chip *gc, unsigned int offset) in aspeed_sgpio_get_direction()
249 u32 *bit, int *offset) in irqd_to_aspeed_sgpio_data()
267 int offset; in aspeed_sgpio_irq_ack() local
[all …]
H A Dgpio-usbio.c37 static void usbio_gpio_get_bank_and_pin(struct gpio_chip *gc, unsigned int offset, in usbio_gpio_get_bank_and_pin()
57 static int usbio_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in usbio_gpio_get_direction()
71 static int usbio_gpio_get(struct gpio_chip *gc, unsigned int offset) in usbio_gpio_get()
94 static int usbio_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in usbio_gpio_set()
112 static int usbio_gpio_update_config(struct gpio_chip *gc, unsigned int offset, in usbio_gpio_update_config()
136 static int usbio_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in usbio_gpio_direction_input()
143 unsigned int offset, int value) in usbio_gpio_direction_output()
155 static int usbio_gpio_set_config(struct gpio_chip *gc, unsigned int offset, in usbio_gpio_set_config()
/linux/drivers/pinctrl/spear/
H A Dpinctrl-plgpio.c84 u32 offset = PIN_OFFSET(pin); in is_plgpio_set() local
95 u32 offset = PIN_OFFSET(pin); in plgpio_reg_set() local
105 u32 offset = PIN_OFFSET(pin); in plgpio_reg_reset() local
115 static int plgpio_direction_input(struct gpio_chip *chip, unsigned offset) in plgpio_direction_input()
134 static int plgpio_direction_output(struct gpio_chip *chip, unsigned offset, in plgpio_direction_output()
167 static int plgpio_get_value(struct gpio_chip *chip, unsigned offset) in plgpio_get_value()
184 static int plgpio_set_value(struct gpio_chip *chip, unsigned int offset, in plgpio_set_value()
207 static int plgpio_request(struct gpio_chip *chip, unsigned offset) in plgpio_request()
258 static void plgpio_free(struct gpio_chip *chip, unsigned offset) in plgpio_free()
292 int offset = d->hwirq; in plgpio_irq_disable() local
[all …]
/linux/arch/m68k/coldfire/
H A 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 int mcfgpio_set_value(struct gpio_chip *chip, unsigned int offset, in mcfgpio_set_value()
134 static int mcfgpio_request(struct gpio_chip *chip, unsigned offset) in mcfgpio_request()
139 static void mcfgpio_free(struct gpio_chip *chip, unsigned offset) in mcfgpio_free()
144 static int mcfgpio_to_irq(struct gpio_chip *chip, unsigned offset) in mcfgpio_to_irq()
/linux/drivers/net/ethernet/intel/e1000/
H A 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/include/dt-bindings/clock/
H A Dam3.h9 #define AM3_CLKCTRL_INDEX(offset) ((offset) - AM3_CLKCTRL_OFFSET) argument
13 #define AM3_L4LS_CLKCTRL_INDEX(offset) ((offset) - AM3_L4LS_CLKCTRL_OFFSET) argument
48 #define AM3_L3S_CLKCTRL_INDEX(offset) ((offset) - AM3_L3S_CLKCTRL_OFFSET) argument
57 #define AM3_L3_CLKCTRL_INDEX(offset) ((offset) - AM3_L3_CLKCTRL_OFFSET) argument
71 #define AM3_L4HS_CLKCTRL_INDEX(offset) ((offset) - AM3_L4HS_CLKCTRL_OFFSET) argument
76 #define AM3_PRUSS_OCP_CLKCTRL_INDEX(offset) ((offset) - AM3_PRUSS_OCP_CLKCTRL_OFFSET) argument
84 #define AM3_LCDC_CLKCTRL_INDEX(offset) ((offset) - AM3_LCDC_CLKCTRL_OFFSET) argument
89 #define AM3_CLK_24MHZ_CLKCTRL_INDEX(offset) ((offset) - AM3_CLK_24MHZ_CLKCTRL_OFFSET) argument
106 #define AM3_L3_AON_CLKCTRL_INDEX(offset) ((offset) - AM3_L3_AON_CLKCTRL_OFFSET) argument
111 #define AM3_L4_WKUP_AON_CLKCTRL_INDEX(offset) ((offset) - AM3_L4_WKUP_AON_CLKCTRL_OFFSET) argument
H A Dam4.h9 #define AM4_CLKCTRL_INDEX(offset) ((offset) - AM4_CLKCTRL_OFFSET) argument
13 #define AM4_L3S_TSC_CLKCTRL_INDEX(offset) ((offset) - AM4_L3S_TSC_CLKCTRL_OFFSET) argument
18 #define AM4_L4_WKUP_AON_CLKCTRL_INDEX(offset) ((offset) - AM4_L4_WKUP_AON_CLKCTRL_OFFSET) argument
24 #define AM4_L4_WKUP_CLKCTRL_INDEX(offset) ((offset) - AM4_L4_WKUP_CLKCTRL_OFFSET) argument
59 #define AM4_L3S_CLKCTRL_INDEX(offset) ((offset) - AM4_L3S_CLKCTRL_OFFSET) argument
73 #define AM4_PRUSS_OCP_CLKCTRL_INDEX(offset) ((offset) - AM4_PRUSS_OCP_CLKCTRL_OFFSET) argument
78 #define AM4_L4LS_CLKCTRL_INDEX(offset) ((offset) - AM4_L4LS_CLKCTRL_OFFSET) argument
127 #define AM4_EMIF_CLKCTRL_INDEX(offset) ((offset) - AM4_EMIF_CLKCTRL_OFFSET) argument
132 #define AM4_DSS_CLKCTRL_INDEX(offset) ((offset) - AM4_DSS_CLKCTRL_OFFSET) argument
137 #define AM4_CPSW_125MHZ_CLKCTRL_INDEX(offset) ((offset) - AM4_CPSW_125MHZ_CLKCTRL_OFFSET) argument
/linux/arch/mips/boot/compressed/
H A Duart-16550.c15 #define PORT(offset) (CKSEG1ADDR(UART_BASE) + (offset)) argument
20 #define PORT(offset) (CKSEG1ADDR(INGENIC_UART_BASE_ADDR) + (4 * offset)) argument
25 #define PORT(offset) (CKSEG1ADDR(EN75_UART_BASE) + (4 * (offset))) argument
36 static inline unsigned int serial_in(int offset) in serial_in()
41 static inline void serial_out(int offset, int value) in serial_out()
/linux/drivers/char/ipmi/
H A 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/drivers/gpu/drm/nouveau/nvkm/core/
H A Dgpuobj.c33 nvkm_gpuobj_rd32_fast(struct nvkm_gpuobj *gpuobj, u32 offset) in nvkm_gpuobj_rd32_fast()
39 nvkm_gpuobj_wr32_fast(struct nvkm_gpuobj *gpuobj, u32 offset, u32 data) in nvkm_gpuobj_wr32_fast()
46 nvkm_gpuobj_heap_map(struct nvkm_gpuobj *gpuobj, u64 offset, in nvkm_gpuobj_heap_map()
54 nvkm_gpuobj_heap_rd32(struct nvkm_gpuobj *gpuobj, u32 offset) in nvkm_gpuobj_heap_rd32()
60 nvkm_gpuobj_heap_wr32(struct nvkm_gpuobj *gpuobj, u32 offset, u32 data) in nvkm_gpuobj_heap_wr32()
108 nvkm_gpuobj_map(struct nvkm_gpuobj *gpuobj, u64 offset, in nvkm_gpuobj_map()
117 nvkm_gpuobj_rd32(struct nvkm_gpuobj *gpuobj, u32 offset) in nvkm_gpuobj_rd32()
123 nvkm_gpuobj_wr32(struct nvkm_gpuobj *gpuobj, u32 offset, u32 data) in nvkm_gpuobj_wr32()
175 u32 offset; in nvkm_gpuobj_ctor() local
/linux/scripts/dtc/libfdt/
H A Dfdt_ro.c13 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_()
117 int offset = -1; in fdt_find_max_phandle() local
162 unsigned int offset = n * sizeof(struct fdt_reserve_entry); in fdt_mem_rsv() local
201 static int nextprop_(const void *fdt, int offset) in nextprop_()
225 int fdt_subnode_offset_namelen(const void *fdt, int offset, in fdt_subnode_offset_namelen()
254 int offset = 0; in fdt_path_offset_namelen() local
343 int offset; in fdt_first_property_offset() local
351 int fdt_next_property_offset(const void *fdt, int offset) in fdt_next_property_offset()
360 int offset, in fdt_get_property_by_offset_()
382 int offset, in fdt_get_property_by_offset()
[all …]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-asm.h93 #define CVMX_PREPARE_FOR_STORE(address, offset) \ argument
101 #define CVMX_DONT_WRITE_BACK(address, offset) \ argument
117 #define CVMX_CACHE(op, address, offset) \ argument
121 #define CVMX_CACHE_LCKL2(address, offset) CVMX_CACHE(31, address, offset) argument
123 #define CVMX_CACHE_WBIL2(address, offset) CVMX_CACHE(23, address, offset) argument
125 #define CVMX_CACHE_WBIL2I(address, offset) CVMX_CACHE(3, address, offset) argument
127 #define CVMX_CACHE_LTGL2I(address, offset) CVMX_CACHE(7, address, offset) argument
/linux/arch/x86/pci/
H A 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/arch/sh/include/asm/
H A 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/lib/
H A Dradix-tree.c88 unsigned int offset = (index >> parent->shift) & RADIX_TREE_MAP_MASK; in radix_tree_descend() local
101 int offset) in tag_set()
107 int offset) in tag_clear()
113 int offset) in tag_get()
181 unsigned long offset) in radix_tree_find_next_bit()
223 unsigned long offset) in next_index()
235 unsigned int shift, unsigned int offset, in radix_tree_node_alloc()
605 unsigned int shift, offset = 0; in __radix_tree_create() local
658 unsigned offset = 0; in radix_tree_free_nodes() local
721 unsigned offset = get_slot_offset(node, slot); in radix_tree_insert() local
[all …]
/linux/drivers/gpu/drm/arm/display/include/
H A 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/drivers/comedi/drivers/
H A Damplc_dio200_common.c92 unsigned int offset) in dio200___read8()
100 unsigned int offset, unsigned char val) in dio200___write8()
109 unsigned int offset) in dio200___read32()
117 unsigned int offset, unsigned int val) in dio200___write32()
128 unsigned int offset) in dio200___read8()
134 unsigned int offset, unsigned char val) in dio200___write8()
140 unsigned int offset) in dio200___read32()
146 unsigned int offset, unsigned int val) in dio200___write32()
154 unsigned int offset) in dio200_read8()
165 unsigned int offset, unsigned char val) in dio200_write8()
[all …]
/linux/tools/perf/arch/x86/annotate/
H A Dinstructions.c262 int offset; in update_insn_state_x86() local
337 int offset; in update_insn_state_x86() local
415 int offset = src->offset - fboff; in update_insn_state_x86() local
463 int offset; in update_insn_state_x86() local
487 int offset; in update_insn_state_x86() local
542 int offset; in update_insn_state_x86() local
571 int offset = dst->offset - fboff; in update_insn_state_x86() local
/linux/drivers/net/wireless/mediatek/mt7601u/
H A Dusb.c89 const u8 direction, const u16 val, const u16 offset, in mt7601u_vendor_request()
126 static u32 __mt7601u_rr(struct mt7601u_dev *dev, u32 offset) in __mt7601u_rr()
145 u32 mt7601u_rr(struct mt7601u_dev *dev, u32 offset) in mt7601u_rr()
158 const u16 offset, const u32 val) in __mt7601u_vendor_single_wr()
170 const u16 offset, const u32 val) in mt7601u_vendor_single_wr()
181 void mt7601u_wr(struct mt7601u_dev *dev, u32 offset, u32 val) in mt7601u_wr()
188 u32 mt7601u_rmw(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val) in mt7601u_rmw()
198 u32 mt7601u_rmc(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val) in mt7601u_rmc()
213 void mt7601u_wr_copy(struct mt7601u_dev *dev, u32 offset, in mt7601u_wr_copy()
222 void mt7601u_addr_wr(struct mt7601u_dev *dev, const u32 offset, const u8 *addr) in mt7601u_addr_wr()

12345678910>>...152