Home
last modified time | relevance | path

Searched defs:offset (Results 101 – 125 of 6060) sorted by relevance

12345678910>>...243

/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Ditem.h12 unsigned short offset; /* bytes in container */ member
47 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u8)); in __mlxsw_item_get8() local
62 unsigned int offset = __mlxsw_item_offset(item, index, in __mlxsw_item_set8() local
81 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u16)); in __mlxsw_item_get16() local
96 unsigned int offset = __mlxsw_item_offset(item, index, in __mlxsw_item_set16() local
115 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u32)); in __mlxsw_item_get32() local
130 unsigned int offset = __mlxsw_item_offset(item, index, in __mlxsw_item_set32() local
149 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u64)); in __mlxsw_item_get64() local
164 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(u64)); in __mlxsw_item_set64() local
182 unsigned int offset = __mlxsw_item_offset(item, index, sizeof(char)); in __mlxsw_item_memcpy_from() local
[all …]
/Linux-v6.6/drivers/net/ethernet/broadcom/
Dbgmac-bcma.c34 static u32 bcma_bgmac_read(struct bgmac *bgmac, u16 offset) in bcma_bgmac_read()
39 static void bcma_bgmac_write(struct bgmac *bgmac, u16 offset, u32 value) in bcma_bgmac_write()
44 static u32 bcma_bgmac_idm_read(struct bgmac *bgmac, u16 offset) in bcma_bgmac_idm_read()
49 static void bcma_bgmac_idm_write(struct bgmac *bgmac, u16 offset, u32 value) in bcma_bgmac_idm_write()
64 static void bcma_bgmac_cco_ctl_maskset(struct bgmac *bgmac, u32 offset, in bcma_bgmac_cco_ctl_maskset()
79 static void bcma_bgmac_cmn_maskset32(struct bgmac *bgmac, u16 offset, u32 mask, in bcma_bgmac_cmn_maskset32()
/Linux-v6.6/drivers/gpio/
Dgpio-da9052.c48 static unsigned char da9052_gpio_port_odd(unsigned offset) in da9052_gpio_port_odd()
53 static int da9052_gpio_get(struct gpio_chip *gc, unsigned offset) in da9052_gpio_get()
92 static void da9052_gpio_set(struct gpio_chip *gc, unsigned offset, int value) in da9052_gpio_set()
118 static int da9052_gpio_direction_input(struct gpio_chip *gc, unsigned offset) in da9052_gpio_direction_input()
144 unsigned offset, int value) in da9052_gpio_direction_output()
169 static int da9052_gpio_to_irq(struct gpio_chip *gc, u32 offset) in da9052_gpio_to_irq()
Dgpio-pl061.c63 static int pl061_get_direction(struct gpio_chip *gc, unsigned offset) in pl061_get_direction()
73 static int pl061_direction_input(struct gpio_chip *gc, unsigned offset) in pl061_direction_input()
88 static int pl061_direction_output(struct gpio_chip *gc, unsigned offset, in pl061_direction_output()
111 static int pl061_get_value(struct gpio_chip *gc, unsigned offset) in pl061_get_value()
118 static void pl061_set_value(struct gpio_chip *gc, unsigned offset, int value) in pl061_set_value()
129 int offset = irqd_to_hwirq(d); in pl061_irq_type() local
216 int offset; in pl061_irq_handler() local
372 int offset; in pl061_suspend() local
393 int offset; in pl061_resume() local
Dgpio-wm8350.c26 static int wm8350_gpio_direction_in(struct gpio_chip *chip, unsigned offset) in wm8350_gpio_direction_in()
35 static int wm8350_gpio_get(struct gpio_chip *chip, unsigned offset) in wm8350_gpio_get()
51 static void wm8350_gpio_set(struct gpio_chip *chip, unsigned offset, int value) in wm8350_gpio_set()
63 unsigned offset, int value) in wm8350_gpio_direction_out()
80 static int wm8350_gpio_to_irq(struct gpio_chip *chip, unsigned offset) in wm8350_gpio_to_irq()
Dgpio-regmap.c49 unsigned int base, unsigned int offset, in gpio_regmap_simple_xlate()
61 static int gpio_regmap_get(struct gpio_chip *chip, unsigned int offset) in gpio_regmap_get()
84 static void gpio_regmap_set(struct gpio_chip *chip, unsigned int offset, in gpio_regmap_set()
99 unsigned int offset, int val) in gpio_regmap_set_with_clear()
114 unsigned int offset) in gpio_regmap_get_direction()
150 unsigned int offset, bool output) in gpio_regmap_set_direction()
179 unsigned int offset) in gpio_regmap_direction_input()
185 unsigned int offset, int value) in gpio_regmap_direction_output()
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
130 unsigned int offset = (data->hwirq - TQMX86_NGPO); in tqmx86_gpio_irq_unmask() local
151 unsigned int offset = (data->hwirq - TQMX86_NGPO); in tqmx86_gpio_irq_set_type() local
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-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-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
240 int offset = d->hwirq; in tc3589x_gpio_irq_unmask() local
Dgpio-twl6040.c23 static int twl6040gpo_get(struct gpio_chip *chip, unsigned offset) in twl6040gpo_get()
35 static int twl6040gpo_get_direction(struct gpio_chip *chip, unsigned offset) in twl6040gpo_get_direction()
40 static int twl6040gpo_direction_out(struct gpio_chip *chip, unsigned offset, in twl6040gpo_direction_out()
47 static void twl6040gpo_set(struct gpio_chip *chip, unsigned offset, int value) in twl6040gpo_set()
/Linux-v6.6/drivers/net/wireless/broadcom/b43legacy/
Dradio.c99 u16 b43legacy_radio_read16(struct b43legacy_wldev *dev, u16 offset) in b43legacy_radio_read16()
126 void b43legacy_radio_write16(struct b43legacy_wldev *dev, u16 offset, u16 val) in b43legacy_radio_write16()
139 u16 offset = 0x0400; in b43legacy_set_all_gains() local
174 u16 offset = 0x0400; in b43legacy_set_original_gains() local
317 void b43legacy_nrssi_hw_write(struct b43legacy_wldev *dev, u16 offset, s16 val) in b43legacy_nrssi_hw_write()
324 s16 b43legacy_nrssi_hw_read(struct b43legacy_wldev *dev, u16 offset) in b43legacy_nrssi_hw_read()
905 u8 id, u16 offset, u16 value) in _stack_save()
919 u8 id, u16 offset) in _stack_restore()
937 #define phy_stacksave(offset) \ argument
942 #define phy_stackrestore(offset) \ argument
[all …]
/Linux-v6.6/drivers/net/ethernet/intel/ice/
Dice_nvm.c22 ice_aq_read_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, u16 length, in ice_aq_read_nvm()
66 ice_read_flat_nvm(struct ice_hw *hw, u32 offset, u32 *length, u8 *data, in ice_read_flat_nvm()
125 ice_aq_update_nvm(struct ice_hw *hw, u16 module_typeid, u32 offset, in ice_aq_update_nvm()
188 static int ice_read_sr_word_aq(struct ice_hw *hw, u16 offset, u16 *data) in ice_read_sr_word_aq()
252 u32 offset, size; in ice_get_flash_bank_offset() local
322 u32 offset, u8 *data, u32 length) in ice_read_flash_module()
356 ice_read_nvm_module(struct ice_hw *hw, enum ice_bank_select bank, u32 offset, u16 *data) in ice_read_nvm_module()
380 ice_read_nvm_sr_copy(struct ice_hw *hw, enum ice_bank_select bank, u32 offset, u16 *data) in ice_read_nvm_sr_copy()
395 ice_read_netlist_module(struct ice_hw *hw, enum ice_bank_select bank, u32 offset, u16 *data) in ice_read_netlist_module()
416 int ice_read_sr_word(struct ice_hw *hw, u16 offset, u16 *data) in ice_read_sr_word()
[all …]
/Linux-v6.6/drivers/ssb/
Dsdio.c167 u32 ssb_sdio_scan_read32(struct ssb_bus *bus, u16 offset) in ssb_sdio_scan_read32()
229 static u8 ssb_sdio_read8(struct ssb_device *dev, u16 offset) in ssb_sdio_read8()
251 static u16 ssb_sdio_read16(struct ssb_device *dev, u16 offset) in ssb_sdio_read16()
273 static u32 ssb_sdio_read32(struct ssb_device *dev, u16 offset) in ssb_sdio_read32()
298 size_t count, u16 offset, u8 reg_width) in ssb_sdio_block_read()
343 static void ssb_sdio_write8(struct ssb_device *dev, u16 offset, u8 val) in ssb_sdio_write8()
362 static void ssb_sdio_write16(struct ssb_device *dev, u16 offset, u16 val) in ssb_sdio_write16()
381 static void ssb_sdio_write32(struct ssb_device *dev, u16 offset, u32 val) in ssb_sdio_write32()
405 size_t count, u16 offset, u8 reg_width) in ssb_sdio_block_write()
/Linux-v6.6/drivers/media/pci/solo6x10/
Dsolo6x10-gpio.c98 unsigned int offset) in solo_gpiochip_get_direction()
120 unsigned int offset) in solo_gpiochip_direction_input()
126 unsigned int offset, int value) in solo_gpiochip_direction_output()
132 unsigned int offset) in solo_gpiochip_get()
143 unsigned int offset, int value) in solo_gpiochip_set()
/Linux-v6.6/drivers/net/wireless/mediatek/mt76/
Dmmio.c9 static u32 mt76_mmio_rr(struct mt76_dev *dev, u32 offset) in mt76_mmio_rr()
19 static void mt76_mmio_wr(struct mt76_dev *dev, u32 offset, u32 val) in mt76_mmio_wr()
25 static u32 mt76_mmio_rmw(struct mt76_dev *dev, u32 offset, u32 mask, u32 val) in mt76_mmio_rmw()
32 static void mt76_mmio_write_copy(struct mt76_dev *dev, u32 offset, in mt76_mmio_write_copy()
38 static void mt76_mmio_read_copy(struct mt76_dev *dev, u32 offset, in mt76_mmio_read_copy()
/Linux-v6.6/drivers/net/wireless/ralink/rt2x00/
Drt2x00mmio.h22 const unsigned int offset) in rt2x00mmio_register_read()
28 const unsigned int offset, in rt2x00mmio_register_multiread()
35 const unsigned int offset, in rt2x00mmio_register_write()
42 const unsigned int offset, in rt2x00mmio_register_multiwrite()
/Linux-v6.6/drivers/net/wireless/broadcom/b43/
Dtables_phy_ht.c606 u32 b43_httab_read(struct b43_wldev *dev, u32 offset) in b43_httab_read()
637 void b43_httab_read_bulk(struct b43_wldev *dev, u32 offset, in b43_httab_read_bulk()
672 void b43_httab_write(struct b43_wldev *dev, u32 offset, u32 value) in b43_httab_write()
702 void b43_httab_write_few(struct b43_wldev *dev, u32 offset, size_t num, ...) in b43_httab_write_few()
747 void b43_httab_write_bulk(struct b43_wldev *dev, u32 offset, in b43_httab_write_bulk()
791 #define httab_upload(dev, offset, data) do { \ argument
/Linux-v6.6/include/linux/
Dio-mapping.h66 unsigned long offset) in io_mapping_map_atomic_wc()
92 io_mapping_map_local_wc(struct io_mapping *mapping, unsigned long offset) in io_mapping_map_local_wc()
108 unsigned long offset, in io_mapping_map_wc()
155 unsigned long offset, in io_mapping_map_wc()
169 unsigned long offset) in io_mapping_map_atomic_wc()
191 io_mapping_map_local_wc(struct io_mapping *mapping, unsigned long offset) in io_mapping_map_local_wc()
Dfind.h55 unsigned long offset) in find_next_bit()
85 unsigned long offset) in find_next_and_bit()
116 unsigned long offset) in find_next_andnot_bit()
146 unsigned long offset) in find_next_or_bit()
174 unsigned long offset) in find_next_zero_bit()
404 unsigned long size, unsigned long offset) in find_next_and_bit_wrap()
426 unsigned long size, unsigned long offset) in find_next_bit_wrap()
483 unsigned long size, unsigned long offset) in find_next_zero_bit_le()
489 unsigned long size, unsigned long offset) in find_next_bit_le()
505 long size, unsigned long offset) in find_next_zero_bit_le()
[all …]
/Linux-v6.6/arch/m68k/include/asm/
Dmac_psc.h222 static inline void psc_write_byte(int offset, __u8 data) in psc_write_byte()
227 static inline void psc_write_word(int offset, __u16 data) in psc_write_word()
232 static inline void psc_write_long(int offset, __u32 data) in psc_write_long()
237 static inline u8 psc_read_byte(int offset) in psc_read_byte()
242 static inline u16 psc_read_word(int offset) in psc_read_word()
247 static inline u32 psc_read_long(int offset) in psc_read_long()
/Linux-v6.6/drivers/scsi/pm8001/
Dpm8001_chips.h49 static inline void pm8001_write_32(void *addr, u32 offset, __le32 val) in pm8001_write_32()
55 u32 offset) in pm8001_cr32()
65 static inline u32 pm8001_mr32(void __iomem *addr, u32 offset) in pm8001_mr32()
69 static inline void pm8001_mw32(void __iomem *addr, u32 offset, u32 val) in pm8001_mw32()
/Linux-v6.6/drivers/tty/serial/8250/
D8250_dw.c70 static inline int dw8250_modify_msr(struct uart_port *p, int offset, int value) in dw8250_modify_msr()
106 void __iomem *offset = p->membase + (UART_LCR << p->regshift); in dw8250_check_lcr() local
160 static void dw8250_serial_out(struct uart_port *p, int offset, int value) in dw8250_serial_out()
170 static void dw8250_serial_out38x(struct uart_port *p, int offset, int value) in dw8250_serial_out38x()
179 static unsigned int dw8250_serial_in(struct uart_port *p, int offset) in dw8250_serial_in()
187 static unsigned int dw8250_serial_inq(struct uart_port *p, int offset) in dw8250_serial_inq()
196 static void dw8250_serial_outq(struct uart_port *p, int offset, int value) in dw8250_serial_outq()
210 static void dw8250_serial_out32(struct uart_port *p, int offset, int value) in dw8250_serial_out32()
220 static unsigned int dw8250_serial_in32(struct uart_port *p, int offset) in dw8250_serial_in32()
227 static void dw8250_serial_out32be(struct uart_port *p, int offset, int value) in dw8250_serial_out32be()
[all …]
/Linux-v6.6/drivers/accel/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-v6.6/drivers/net/ethernet/ti/
Dcpsw-common.c11 #define CTRL_MAC_LO_REG(offset, id) ((offset) + 0x8 * (id)) argument
12 #define CTRL_MAC_HI_REG(offset, id) ((offset) + 0x8 * (id) + 0x4) argument
14 static int davinci_emac_3517_get_macid(struct device *dev, u16 offset, in davinci_emac_3517_get_macid()
41 static int cpsw_am33xx_cm_get_macid(struct device *dev, u16 offset, int slave, in cpsw_am33xx_cm_get_macid()

12345678910>>...243