Home
last modified time | relevance | path

Searched defs:offset (Results 126 – 150 of 5716) sorted by relevance

12345678910>>...229

/Linux-v5.15/drivers/mfd/
Ddm355evm_msp.c168 #define MSP_GPIO_REG(offset) (msp_gpios[(offset)] >> 3) argument
169 #define MSP_GPIO_MASK(offset) BIT(msp_gpios[(offset)] & 0x07) argument
171 static int msp_gpio_in(struct gpio_chip *chip, unsigned offset) in msp_gpio_in()
185 static int msp_gpio_get(struct gpio_chip *chip, unsigned offset) in msp_gpio_get()
198 static int msp_gpio_out(struct gpio_chip *chip, unsigned offset, int value) in msp_gpio_out()
220 static void msp_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in msp_gpio_set()
289 int offset; in add_children() member
/Linux-v5.15/drivers/gpio/
Dgpio-tps68470.c29 static int tps68470_gpio_get(struct gpio_chip *gc, unsigned int offset) in tps68470_gpio_get()
51 unsigned int offset) in tps68470_gpio_get_direction()
73 static void tps68470_gpio_set(struct gpio_chip *gc, unsigned int offset, in tps68470_gpio_set()
88 static int tps68470_gpio_output(struct gpio_chip *gc, unsigned int offset, in tps68470_gpio_output()
106 static int tps68470_gpio_input(struct gpio_chip *gc, unsigned int offset) in tps68470_gpio_input()
Dgpio-tqmx86.c55 static int tqmx86_gpio_get(struct gpio_chip *chip, unsigned int offset) in tqmx86_gpio_get()
62 static void tqmx86_gpio_set(struct gpio_chip *chip, unsigned int offset, in tqmx86_gpio_set()
80 unsigned int offset) in tqmx86_gpio_direction_input()
90 unsigned int offset, in tqmx86_gpio_direction_output()
102 unsigned int offset) in tqmx86_gpio_get_direction()
112 unsigned int offset = (data->hwirq - TQMX86_NGPO); in tqmx86_gpio_irq_mask() local
129 unsigned int offset = (data->hwirq - TQMX86_NGPO); in tqmx86_gpio_irq_unmask() local
149 unsigned int offset = (data->hwirq - TQMX86_NGPO); in tqmx86_gpio_irq_set_type() local
Dgpio-regmap.c43 unsigned int base, unsigned int offset, in gpio_regmap_simple_xlate()
55 static int gpio_regmap_get(struct gpio_chip *chip, unsigned int offset) in gpio_regmap_get()
78 static void gpio_regmap_set(struct gpio_chip *chip, unsigned int offset, in gpio_regmap_set()
93 unsigned int offset, int val) in gpio_regmap_set_with_clear()
108 unsigned int offset) in gpio_regmap_get_direction()
139 unsigned int offset, bool output) in gpio_regmap_set_direction()
168 unsigned int offset) in gpio_regmap_direction_input()
174 unsigned int offset, int value) in gpio_regmap_direction_output()
Dgpio-mockup.c59 unsigned int offset; member
83 unsigned int offset) in __gpio_mockup_get()
88 static int gpio_mockup_get(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_get()
117 unsigned int offset, int value) in __gpio_mockup_set()
123 unsigned int offset, int value) in gpio_mockup_set()
145 unsigned int offset, int value) in gpio_mockup_apply_pull()
193 unsigned int offset, unsigned long config) in gpio_mockup_set_config()
209 unsigned int offset, int value) in gpio_mockup_dirout()
221 static int gpio_mockup_dirin(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_dirin()
232 static int gpio_mockup_get_direction(struct gpio_chip *gc, unsigned int offset) in gpio_mockup_get_direction()
[all …]
Dgpio-moxtet.c34 static int moxtet_gpio_get_value(struct gpio_chip *gc, unsigned int offset) in moxtet_gpio_get_value()
55 static void moxtet_gpio_set_value(struct gpio_chip *gc, unsigned int offset, in moxtet_gpio_set_value()
75 static int moxtet_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in moxtet_gpio_get_direction()
89 unsigned int offset) in moxtet_gpio_direction_input()
102 unsigned int offset, int val) in moxtet_gpio_direction_output()
Dgpio-ts4900.c40 unsigned int offset) in ts4900_gpio_get_direction()
54 unsigned int offset) in ts4900_gpio_direction_input()
66 unsigned int offset, int value) in ts4900_gpio_direction_output()
80 static int ts4900_gpio_get(struct gpio_chip *chip, unsigned int offset) in ts4900_gpio_get()
90 static void ts4900_gpio_set(struct gpio_chip *chip, unsigned int offset, in ts4900_gpio_set()
Dgpio-xra1403.c46 static unsigned int to_reg(unsigned int reg, unsigned int offset) in to_reg()
51 static int xra1403_direction_input(struct gpio_chip *chip, unsigned int offset) in xra1403_direction_input()
59 static int xra1403_direction_output(struct gpio_chip *chip, unsigned int offset, in xra1403_direction_output()
76 static int xra1403_get_direction(struct gpio_chip *chip, unsigned int offset) in xra1403_get_direction()
92 static int xra1403_get(struct gpio_chip *chip, unsigned int offset) in xra1403_get()
105 static void xra1403_set(struct gpio_chip *chip, unsigned int offset, int value) in xra1403_set()
Dgpio-gpio-mm.c49 unsigned int offset) in gpiomm_gpio_get_direction()
62 unsigned int offset) in gpiomm_gpio_direction_input()
100 unsigned int offset, int value) in gpiomm_gpio_direction_output()
146 static int gpiomm_gpio_get(struct gpio_chip *chip, unsigned int offset) in gpiomm_gpio_get()
176 unsigned long offset; in gpiomm_gpio_get_multiple() local
194 static void gpiomm_gpio_set(struct gpio_chip *chip, unsigned int offset, in gpiomm_gpio_set()
219 unsigned long offset; in gpiomm_gpio_set_multiple() local
Dgpio-vr41xx.c73 #define giu_read(offset) readw(giu_base + (offset)) argument
74 #define giu_write(offset, value) writew((value), giu_base + (offset)) argument
80 static inline u16 giu_set(u16 offset, u16 set) in giu_set()
91 static inline u16 giu_clear(u16 offset, u16 clear) in giu_clear()
328 u16 offset, mask, reg; in giu_set_direction() local
404 u16 offset, mask, reg; in vr41xx_gpio_set() local
437 static int vr41xx_gpio_direction_input(struct gpio_chip *chip, unsigned offset) in vr41xx_gpio_direction_input()
442 static int vr41xx_gpio_direction_output(struct gpio_chip *chip, unsigned offset, in vr41xx_gpio_direction_output()
450 static int vr41xx_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in vr41xx_gpio_to_irq()
Dgpio-tc3589x.c37 static int tc3589x_gpio_get(struct gpio_chip *chip, unsigned int offset) in tc3589x_gpio_get()
52 static void tc3589x_gpio_set(struct gpio_chip *chip, unsigned int offset, int val) in tc3589x_gpio_set()
64 unsigned int offset, int val) in tc3589x_gpio_direction_output()
77 unsigned int offset) in tc3589x_gpio_direction_input()
88 unsigned int offset) in tc3589x_gpio_get_direction()
106 static int tc3589x_gpio_set_config(struct gpio_chip *chip, unsigned int offset, in tc3589x_gpio_set_config()
161 int offset = d->hwirq; in tc3589x_gpio_irq_set_type() local
227 int offset = d->hwirq; in tc3589x_gpio_irq_mask() local
239 int offset = d->hwirq; in tc3589x_gpio_irq_unmask() local
Dgpio-em.c126 unsigned int reg, offset, shift; in em_gio_irq_set_type() local
171 unsigned int offset, irqs_handled = 0; in em_gio_irq_handler() local
188 static int em_gio_direction_input(struct gpio_chip *chip, unsigned offset) in em_gio_direction_input()
194 static int em_gio_get(struct gpio_chip *chip, unsigned offset) in em_gio_get()
207 static void em_gio_set(struct gpio_chip *chip, unsigned offset, int value) in em_gio_set()
216 static int em_gio_direction_output(struct gpio_chip *chip, unsigned offset, in em_gio_direction_output()
225 static int em_gio_to_irq(struct gpio_chip *chip, unsigned offset) in em_gio_to_irq()
230 static int em_gio_request(struct gpio_chip *chip, unsigned offset) in em_gio_request()
235 static void em_gio_free(struct gpio_chip *chip, unsigned offset) in em_gio_free()
Dgpio-pisosr.c65 unsigned offset) in pisosr_gpio_get_direction()
72 unsigned offset) in pisosr_gpio_direction_input()
79 unsigned offset, int value) in pisosr_gpio_direction_output()
85 static int pisosr_gpio_get(struct gpio_chip *chip, unsigned offset) in pisosr_gpio_get()
99 unsigned long offset; in pisosr_gpio_get_multiple() local
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7915/
Dmmio.c8 u32 offset = FIELD_GET(MT_HIF_REMAP_L1_OFFSET, addr); in mt7915_reg_map_l1() local
20 u32 offset = FIELD_GET(MT_HIF_REMAP_L2_OFFSET, addr); in mt7915_reg_map_l2() local
102 static u32 mt7915_rr(struct mt76_dev *mdev, u32 offset) in mt7915_rr()
110 static void mt7915_wr(struct mt76_dev *mdev, u32 offset, u32 val) in mt7915_wr()
118 static u32 mt7915_rmw(struct mt76_dev *mdev, u32 offset, u32 mask, u32 val) in mt7915_rmw()
/Linux-v5.15/arch/sh/mm/
Dioremap.c40 __ioremap_29bit(phys_addr_t offset, unsigned long size, pgprot_t prot) in __ioremap_29bit()
72 #define __ioremap_29bit(offset, size, prot) NULL argument
89 unsigned long offset, last_addr, addr, orig_addr; in __ioremap_caller() local
147 static inline int iomapping_nontranslatable(unsigned long offset) in iomapping_nontranslatable()
/Linux-v5.15/fs/ecryptfs/
Dread_write.c28 loff_t offset, size_t size) in ecryptfs_write_lower()
62 loff_t offset; in ecryptfs_write_lower_page_segment() local
93 int ecryptfs_write(struct inode *ecryptfs_inode, char *data, loff_t offset, in ecryptfs_write()
219 int ecryptfs_read_lower(char *data, loff_t offset, size_t size, in ecryptfs_read_lower()
252 loff_t offset; in ecryptfs_read_lower_page_segment() local
/Linux-v5.15/arch/sparc/lib/
Dmemcpy.S19 #define MOVE_BIGCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
33 #define MOVE_BIGALIGNCHUNK(src, dst, offset, t0, t1, t2, t3, t4, t5, t6, t7) \ argument
43 #define MOVE_LASTCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument
51 #define MOVE_LASTALIGNCHUNK(src, dst, offset, t0, t1, t2, t3) \ argument
57 #define MOVE_SHORTCHUNK(src, dst, offset, t0, t1) \ argument
Dmemset.S30 #define STORE(source, base, offset, n) \ argument
42 #define STORE_LAST(source, base, offset, n) \ argument
49 #define ZERO_BIG_BLOCK(base, offset, source) \ argument
59 #define ZERO_LAST_BLOCKS(base, offset, source) \ argument
/Linux-v5.15/drivers/net/ethernet/broadcom/
Dbgmac-platform.c36 static u32 platform_bgmac_read(struct bgmac *bgmac, u16 offset) in platform_bgmac_read()
41 static void platform_bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) in platform_bgmac_write()
46 static u32 platform_bgmac_idm_read(struct bgmac *bgmac, u16 offset) in platform_bgmac_idm_read()
51 static void platform_bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) in platform_bgmac_idm_write()
96 static void platform_bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, in platform_bgmac_cco_ctl_maskset()
111 static void platform_bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, in platform_bgmac_cmn_maskset32()
/Linux-v5.15/crypto/async_tx/
Dasync_xor.c100 do_sync_xor_offs(struct page *dest, unsigned int offset, in do_sync_xor_offs()
141 dma_xor_aligned_offsets(struct dma_device *device, unsigned int offset, in dma_xor_aligned_offsets()
182 async_xor_offs(struct page *dest, unsigned int offset, in async_xor_offs()
273 async_xor(struct page *dest, struct page **src_list, unsigned int offset, in async_xor()
281 static int page_is_zero(struct page *p, unsigned int offset, size_t len) in page_is_zero()
315 async_xor_val_offs(struct page *dest, unsigned int offset, in async_xor_val_offs()
409 async_xor_val(struct page *dest, struct page **src_list, unsigned int offset, in async_xor_val()
/Linux-v5.15/drivers/net/wireless/microchip/wilc1000/
Dwlan_cfg.c59 static int wilc_wlan_cfg_set_byte(u8 *frame, u32 offset, u16 id, u8 val8) in wilc_wlan_cfg_set_byte()
70 static int wilc_wlan_cfg_set_hword(u8 *frame, u32 offset, u16 id, u16 val16) in wilc_wlan_cfg_set_hword()
82 static int wilc_wlan_cfg_set_word(u8 *frame, u32 offset, u16 id, u32 val32) in wilc_wlan_cfg_set_word()
94 static int wilc_wlan_cfg_set_str(u8 *frame, u32 offset, u16 id, u8 *str, in wilc_wlan_cfg_set_str()
108 static int wilc_wlan_cfg_set_bin(u8 *frame, u32 offset, u16 id, u8 *b, u32 size) in wilc_wlan_cfg_set_bin()
221 int wilc_wlan_cfg_set_wid(u8 *frame, u32 offset, u16 id, u8 *buf, int size) in wilc_wlan_cfg_set_wid()
256 int wilc_wlan_cfg_get_wid(u8 *frame, u32 offset, u16 id) in wilc_wlan_cfg_get_wid()
/Linux-v5.15/drivers/net/wireless/mediatek/mt76/mt7615/
Dsdio.c39 static u32 mt7663s_read_mailbox(struct mt76_dev *dev, u32 offset) in mt7663s_read_mailbox()
94 static void mt7663s_write_mailbox(struct mt76_dev *dev, u32 offset, u32 val) in mt7663s_write_mailbox()
147 static u32 mt7663s_rr(struct mt76_dev *dev, u32 offset) in mt7663s_rr()
155 static void mt7663s_wr(struct mt76_dev *dev, u32 offset, u32 val) in mt7663s_wr()
163 static u32 mt7663s_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) in mt7663s_rmw()
171 static void mt7663s_write_copy(struct mt76_dev *dev, u32 offset, in mt7663s_write_copy()
183 static void mt7663s_read_copy(struct mt76_dev *dev, u32 offset, in mt7663s_read_copy()
/Linux-v5.15/drivers/misc/habanalabs/common/
Dstate_dump.c105 int hl_snprintf_resize(char **buf, size_t *size, size_t *offset, in hl_snprintf_resize()
165 static int hl_print_resize_sync_engine(char **buf, size_t *size, size_t *offset, in hl_print_resize_sync_engine()
310 char **buf, size_t *size, size_t *offset, in hl_state_dump_print_syncs_single_block()
395 size_t *offset) in hl_state_dump_print_syncs()
513 size_t *offset) in hl_state_dump_print_monitors_single_block()
563 size_t *offset) in hl_state_dump_print_monitors()
606 char **buf, size_t *size, size_t *offset) in hl_state_dump_print_engine_fences()
654 size_t *size, size_t *offset) in hl_state_dump_print_fences()
685 size_t offset = 0, size = 0; in hl_state_dump() local
/Linux-v5.15/arch/mips/kernel/
Dspram.c43 static void ispram_store_tag(unsigned int offset, unsigned int data) in ispram_store_tag()
62 static unsigned int ispram_load_tag(unsigned int offset) in ispram_load_tag()
80 static void dspram_store_tag(unsigned int offset, unsigned int data) in dspram_store_tag()
96 static unsigned int dspram_load_tag(unsigned int offset) in dspram_load_tag()
120 unsigned int offset = 0; in probe_spram() local
/Linux-v5.15/drivers/pinctrl/
Dpinctrl-stmfx.c45 #define get_reg(offset) ((offset) / NR_GPIOS_PER_REG) argument
46 #define get_shift(offset) ((offset) % NR_GPIOS_PER_REG) argument
47 #define get_mask(offset) (BIT(get_shift(offset))) argument
103 static int stmfx_gpio_get(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get()
116 static void stmfx_gpio_set(struct gpio_chip *gc, unsigned int offset, int value) in stmfx_gpio_set()
126 static int stmfx_gpio_get_direction(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_get_direction()
147 static int stmfx_gpio_direction_input(struct gpio_chip *gc, unsigned int offset) in stmfx_gpio_direction_input()
157 unsigned int offset, int value) in stmfx_gpio_direction_output()
169 unsigned int offset) in stmfx_pinconf_get_pupd()
183 unsigned int offset, u32 pupd) in stmfx_pinconf_set_pupd()
[all …]

12345678910>>...229