Home
last modified time | relevance | path

Searched refs:offset (Results 1 – 25 of 3898) sorted by relevance

12345678910>>...156

/linux/drivers/net/ethernet/marvell/octeontx2/af/
H A Dmcs_reg.h15 u64 offset; \
17 offset = 0x408ull; \
19 offset = 0xa28ull; \
20 offset += (a) * 0x8ull; \
21 offset; })
23 u64 offset; \
25 offset = 0x808ull; \
27 offset = 0xa68ull; \
28 offset += (a) * 0x8ull; \
29 offset; })
[all...]
/linux/drivers/net/ethernet/microchip/vcap/
H A Dvcap_model_kunit.c20 .offset = 0,
25 .offset = 2,
30 .offset = 3,
35 .offset = 10,
40 .offset = 13,
45 .offset = 16,
50 .offset = 19,
55 .offset = 20,
60 .offset = 32,
65 .offset = 35,
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_vcap_ag_api.c20 .offset = 0,
25 .offset = 1,
30 .offset = 2,
35 .offset = 4,
40 .offset = 16,
45 .offset = 18,
50 .offset = 83,
55 .offset = 84,
60 .offset = 85,
65 .offset = 88,
[all …]
/linux/drivers/net/ethernet/microchip/sparx5/lan969x/
H A Dlan969x_vcap_ag_api.c19 .offset = 0,
24 .offset = 1,
29 .offset = 2,
34 .offset = 4,
39 .offset = 14,
44 .offset = 16,
49 .offset = 81,
54 .offset = 82,
59 .offset = 83,
64 .offset = 86,
[all …]
/linux/drivers/net/ethernet/microchip/lan966x/
H A Dlan966x_vcap_ag_api.c12 .offset = 0,
17 .offset = 1,
22 .offset = 3,
27 .offset = 12,
32 .offset = 13,
37 .offset = 14,
42 .offset = 15,
47 .offset = 16,
52 .offset = 17,
57 .offset = 18,
[all …]
H A Dlan966x_ethtool.c12 { .name = "rx_octets", .offset = 0x00, },
13 { .name = "rx_unicast", .offset = 0x01, },
14 { .name = "rx_multicast", .offset = 0x02 },
15 { .name = "rx_broadcast", .offset = 0x03 },
16 { .name = "rx_short", .offset = 0x04 },
17 { .name = "rx_frag", .offset = 0x05 },
18 { .name = "rx_jabber", .offset = 0x06 },
19 { .name = "rx_crc", .offset = 0x07 },
20 { .name = "rx_symbol_err", .offset = 0x08 },
21 { .name = "rx_sz_64", .offset
306 u32 offset = lan966x->stats_layout[j].offset; lan966x_stats_update() local
[all...]
/linux/arch/mips/include/asm/octeon/
H A Dcvmx-pexp-defs.h31 #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 …]
H A Dcvmx-pcsx-defs.h31 static inline uint64_t CVMX_PCSX_ANX_ADV_REG(unsigned long offset, unsigned long block_id) in CVMX_PCSX_ANX_ADV_REG() argument
35 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG()
38 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG()
42 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG()
44 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x4000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG()
46 return CVMX_ADD_IO_SEG(0x00011800B0001010ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_ADV_REG()
49 static inline uint64_t CVMX_PCSX_ANX_EXT_ST_REG(unsigned long offset, unsigned long block_id) in CVMX_PCSX_ANX_EXT_ST_REG() argument
53 return CVMX_ADD_IO_SEG(0x00011800B0001028ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_EXT_ST_REG()
56 return CVMX_ADD_IO_SEG(0x00011800B0001028ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_EXT_ST_REG()
60 return CVMX_ADD_IO_SEG(0x00011800B0001028ull) + ((offset) + (block_id) * 0x20000ull) * 1024; in CVMX_PCSX_ANX_EXT_ST_REG()
[all …]
/linux/arch/arm/kernel/
H A Dmodule.c60 static u32 get_group_rem(u32 group, u32 *offset) in get_group_rem() argument
62 u32 val = *offset; in get_group_rem()
66 *offset = val; in get_group_rem()
92 s32 offset; in apply_relocate() local
98 offset = ELF32_R_SYM(rel->r_info); in apply_relocate()
99 if (offset < 0 || offset > (symsec->sh_size / sizeof(Elf32_Sym))) { in apply_relocate()
105 sym = ((Elf32_Sym *)symsec->sh_addr) + offset; in apply_relocate()
136 offset = __mem_to_opcode_arm(*(u32 *)loc); in apply_relocate()
137 offset = (offset & 0x00ffffff) << 2; in apply_relocate()
138 offset = sign_extend32(offset, 25); in apply_relocate()
[all …]
/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() argument
148 sprd_eic_offset_base(sprd_eic, offset / SPRD_EIC_PER_BANK_NR); in sprd_eic_update()
156 tmp |= BIT(SPRD_EIC_BIT(offset)); in sprd_eic_update()
158 tmp &= ~BIT(SPRD_EIC_BIT(offset)); in sprd_eic_update()
164 static int sprd_eic_read(struct gpio_chip *chip, unsigned int offset, u16 reg) in sprd_eic_read() argument
168 sprd_eic_offset_base(sprd_eic, offset / SPRD_EIC_PER_BANK_NR); in sprd_eic_read()
170 return !!(readl_relaxed(base + reg) & BIT(SPRD_EIC_BIT(offset))); in sprd_eic_read()
173 static int sprd_eic_request(struct gpio_chip *chip, unsigned int offset) in sprd_eic_request() argument
175 sprd_eic_update(chip, offset, SPRD_EIC_DBNC_DMSK, 1); in sprd_eic_request()
179 static void sprd_eic_free(struct gpio_chip *chip, unsigned int offset) in sprd_eic_free() argument
184 sprd_eic_get(struct gpio_chip * chip,unsigned int offset) sprd_eic_get() argument
200 sprd_eic_direction_input(struct gpio_chip * chip,unsigned int offset) sprd_eic_direction_input() argument
206 sprd_eic_set(struct gpio_chip * chip,unsigned int offset,int value) sprd_eic_set() argument
212 sprd_eic_set_debounce(struct gpio_chip * chip,unsigned int offset,unsigned int debounce) sprd_eic_set_debounce() argument
227 sprd_eic_set_config(struct gpio_chip * chip,unsigned int offset,unsigned long config) sprd_eic_set_config() argument
243 u32 offset = irqd_to_hwirq(data); sprd_eic_irq_mask() local
270 u32 offset = irqd_to_hwirq(data); sprd_eic_irq_unmask() local
297 u32 offset = irqd_to_hwirq(data); sprd_eic_irq_ack() local
321 u32 offset = irqd_to_hwirq(data); sprd_eic_irq_set_type() local
478 sprd_eic_toggle_trigger(struct gpio_chip * chip,unsigned int irq,unsigned int offset) sprd_eic_toggle_trigger() argument
558 u32 offset = bank * SPRD_EIC_PER_BANK_NR + n; sprd_eic_handle_one_type() local
[all...]
H A Dgpio-aspeed.c67 * @offset_timer: Maps an offset to an @timer_users index, or zero if disabled
120 * Array Value: Indicates the offset for configuring the debounce timer.
126 * Array Value: offset for configuring debounce timer 0 (g4: 0x50, g7: 0x00)
128 * Array Value: offset for configuring debounce timer 1 (g4: 0x54, g7: 0x04)
130 * Array Value: offset for configuring debounce timer 2 (g4: 0x58, g7: 0x8)
220 void (*reg_bit_set)(struct aspeed_gpio *gpio, unsigned int offset,
222 bool (*reg_bit_get)(struct aspeed_gpio *gpio, unsigned int offset,
224 int (*reg_bank_get)(struct aspeed_gpio *gpio, unsigned int offset,
226 void (*privilege_ctrl)(struct aspeed_gpio *gpio, unsigned int offset, int owner);
228 bool (*copro_request)(struct aspeed_gpio *gpio, unsigned int offset);
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 Dgpio-sprd.c47 static void sprd_gpio_update(struct gpio_chip *chip, unsigned int offset, in sprd_gpio_update() argument
52 offset / SPRD_GPIO_BANK_NR); in sprd_gpio_update()
60 tmp |= BIT(SPRD_GPIO_BIT(offset)); in sprd_gpio_update()
62 tmp &= ~BIT(SPRD_GPIO_BIT(offset)); in sprd_gpio_update()
68 static int sprd_gpio_read(struct gpio_chip *chip, unsigned int offset, u16 reg) in sprd_gpio_read() argument
72 offset / SPRD_GPIO_BANK_NR); in sprd_gpio_read()
74 return !!(readl_relaxed(base + reg) & BIT(SPRD_GPIO_BIT(offset))); in sprd_gpio_read()
77 static int sprd_gpio_request(struct gpio_chip *chip, unsigned int offset) in sprd_gpio_request() argument
79 sprd_gpio_update(chip, offset, SPRD_GPIO_DMSK, 1); in sprd_gpio_request()
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 Dgpio-pmic-eic-sprd.c51 * @offset: the EIC controller's offset address of the PMIC.
59 u32 offset; member
65 static void sprd_pmic_eic_update(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_update() argument
69 u32 shift = SPRD_PMIC_EIC_BIT(offset); in sprd_pmic_eic_update()
71 regmap_update_bits(pmic_eic->map, pmic_eic->offset + reg, in sprd_pmic_eic_update()
75 static int sprd_pmic_eic_read(struct gpio_chip *chip, unsigned int offset, in sprd_pmic_eic_read() argument
82 ret = regmap_read(pmic_eic->map, pmic_eic->offset + reg, &value); in sprd_pmic_eic_read()
86 return !!(value & BIT(SPRD_PMIC_EIC_BIT(offset))); in sprd_pmic_eic_read()
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...]
/linux/drivers/md/dm-vdo/
H A Dnumeric.h18 static inline void decode_s64_le(const u8 *buffer, size_t *offset, s64 *decoded) in decode_s64_le() argument
20 *decoded = get_unaligned_le64(buffer + *offset); in decode_s64_le()
21 *offset += sizeof(s64); in decode_s64_le()
24 static inline void encode_s64_le(u8 *data, size_t *offset, s64 to_encode) in encode_s64_le() argument
26 put_unaligned_le64(to_encode, data + *offset); in encode_s64_le()
27 *offset += sizeof(s64); in encode_s64_le()
30 static inline void decode_u64_le(const u8 *buffer, size_t *offset, u64 *decoded) in decode_u64_le() argument
32 *decoded = get_unaligned_le64(buffer + *offset); in decode_u64_le()
33 *offset += sizeof(u64); in decode_u64_le()
36 static inline void encode_u64_le(u8 *data, size_t *offset, u64 to_encode) in encode_u64_le() argument
[all …]
/linux/drivers/power/supply/
H A Dmax1720x_battery.c154 { .name = "nXTable0", .offset = 0, .bytes = 2, },
155 { .name = "nXTable1", .offset = 2, .bytes = 2, },
156 { .name = "nXTable2", .offset = 4, .bytes = 2, },
157 { .name = "nXTable3", .offset = 6, .bytes = 2, },
158 { .name = "nXTable4", .offset = 8, .bytes = 2, },
159 { .name = "nXTable5", .offset = 10, .bytes = 2, },
160 { .name = "nXTable6", .offset = 12, .bytes = 2, },
161 { .name = "nXTable7", .offset = 14, .bytes = 2, },
162 { .name = "nXTable8", .offset = 16, .bytes = 2, },
163 { .name = "nXTable9", .offset
[all...]
/linux/scripts/dtc/libfdt/
H A Dfdt_ro.c13 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_() argument
17 const char *p = fdt_get_name(fdt, offset, &olen); in fdt_nodename_eq_()
117 int offset = -1; in fdt_find_max_phandle() local
122 offset = fdt_next_node(fdt, offset, NULL); in fdt_find_max_phandle()
123 if (offset < 0) { in fdt_find_max_phandle()
124 if (offset == -FDT_ERR_NOTFOUND) in fdt_find_max_phandle()
127 return offset; in fdt_find_max_phandle()
130 value = fdt_get_phandle(fdt, offset); in fdt_find_max_phandle()
162 unsigned int offset in fdt_mem_rsv() local
201 nextprop_(const void * fdt,int offset) nextprop_() argument
225 fdt_subnode_offset_namelen(const void * fdt,int offset,const char * name,int namelen) fdt_subnode_offset_namelen() argument
254 int offset = 0; fdt_path_offset_namelen() local
343 int offset; fdt_first_property_offset() local
351 fdt_next_property_offset(const void * fdt,int offset) fdt_next_property_offset() argument
360 fdt_get_property_by_offset_(const void * fdt,int offset,int * lenp) fdt_get_property_by_offset_() argument
382 fdt_get_property_by_offset(const void * fdt,int offset,int * lenp) fdt_get_property_by_offset() argument
398 fdt_get_property_namelen_(const void * fdt,int offset,const char * name,int namelen,int * lenp,int * poffset) fdt_get_property_namelen_() argument
429 fdt_get_property_namelen(const void * fdt,int offset,const char * name,int namelen,int * lenp) fdt_get_property_namelen() argument
472 fdt_getprop_by_offset(const void * fdt,int offset,const char ** namep,int * lenp) fdt_getprop_by_offset() argument
532 int offset = fdt_path_offset(fdt, path); fdt_path_getprop_namelen() local
574 int offset, depth, namelen; fdt_get_path() local
626 int offset, depth; fdt_supernode_atdepth_offset() local
687 int offset; fdt_node_offset_by_prop_value() local
712 int offset; fdt_node_offset_by_phandle() local
868 int offset, err; fdt_node_offset_by_compatible() local
[all...]
/linux/sound/soc/codecs/
H A Dtas2781-fmwlib.c97 unsigned char offset; member
228 /* convert data[offset], data[offset + 1], data[offset + 2] and in tasdevice_add_config()
229 * data[offset + 3] into host in tasdevice_add_config()
317 int offset = 0; in tasdevice_rca_parser()
335 fw_hdr->img_sz = get_unaligned_be32(&buf[offset]); in tasdevice_rca_parser()
336 offset += 4; in tasdevice_rca_parser()
346 fw_hdr->checksum = get_unaligned_be32(&buf[offset]); in tasdevice_rca_parser()
347 offset in tasdevice_rca_parser()
310 int offset = 0; tasdevice_rca_parser() local
448 fw_parse_block_data_kernel(struct tasdevice_fw * tas_fmw,struct tasdev_blk * block,const struct firmware * fmw,int offset) fw_parse_block_data_kernel() argument
509 fw_parse_data_kernel(struct tasdevice_fw * tas_fmw,struct tasdevice_data * img_data,const struct firmware * fmw,int offset) fw_parse_data_kernel() argument
544 fw_parse_tas5825_program_data_kernel(struct tasdevice_priv * tas_priv,struct tasdevice_fw * tas_fmw,const struct firmware * fmw,int offset) fw_parse_tas5825_program_data_kernel() argument
568 fw_parse_tas5825_configuration_data_kernel(struct tasdevice_priv * tas_priv,struct tasdevice_fw * tas_fmw,const struct firmware * fmw,int offset) fw_parse_tas5825_configuration_data_kernel() argument
594 fw_parse_program_data_kernel(struct tasdevice_priv * tas_priv,struct tasdevice_fw * tas_fmw,const struct firmware * fmw,int offset) fw_parse_program_data_kernel() argument
621 fw_parse_configuration_data_kernel(struct tasdevice_priv * tas_priv,struct tasdevice_fw * tas_fmw,const struct firmware * fmw,int offset) fw_parse_configuration_data_kernel() argument
745 fw_parse_fct_param_address(struct tasdevice_priv * tas_priv,struct tasdevice_fw * tas_fmw,const struct firmware * fmw,int offset) fw_parse_fct_param_address() argument
768 fw_parse_variable_header_kernel(struct tasdevice_priv * tas_priv,const struct firmware * fmw,int offset) fw_parse_variable_header_kernel() argument
1104 tasdevice_fw_strnlen(const struct firmware * fmw,int offset) tasdevice_fw_strnlen() argument
1129 fw_parse_variable_hdr(struct tasdevice_priv * tas_priv,struct tasdevice_dspfw_hdr * fw_hdr,const struct firmware * fmw,int offset) fw_parse_variable_hdr() argument
1173 fw_parse_variable_header_git(struct tasdevice_priv * tas_priv,const struct firmware * fmw,int offset) fw_parse_variable_header_git() argument
1193 fw_parse_block_data(struct tasdevice_fw * tas_fmw,struct tasdev_blk * block,const struct firmware * fmw,int offset) fw_parse_block_data() argument
1256 fw_parse_data(struct tasdevice_fw * tas_fmw,struct tasdevice_data * img_data,const struct firmware * fmw,int offset) fw_parse_data() argument
1309 fw_parse_program_data(struct tasdevice_priv * tas_priv,struct tasdevice_fw * tas_fmw,const struct firmware * fmw,int offset) fw_parse_program_data() argument
1379 fw_parse_configuration_data(struct tasdevice_priv * tas_priv,struct tasdevice_fw * tas_fmw,const struct firmware * fmw,int offset) fw_parse_configuration_data() argument
1786 unsigned char offset; tasdev_load_blk() local
2027 fw_parse_header(struct tasdevice_priv * tas_priv,struct tasdevice_fw * tas_fmw,const struct firmware * fmw,int offset) fw_parse_header() argument
2068 fw_parse_variable_hdr_cal(struct tasdevice_priv * tas_priv,struct tasdevice_fw * tas_fmw,const struct firmware * fmw,int offset) fw_parse_variable_hdr_cal() argument
2188 fw_parse_calibration_data(struct tasdevice_priv * tas_priv,struct tasdevice_fw * tas_fmw,const struct firmware * fmw,int offset) fw_parse_calibration_data() argument
2259 int offset = 0; tas2781_load_calibration() local
2319 int offset = 0; tasdevice_dspfw_ready() local
[all...]
/linux/drivers/misc/ocxl/
H A Dmmio.c7 int ocxl_global_mmio_read32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read32() argument
10 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_read32()
20 *val = readl_be((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read32()
24 *val = readl((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read32()
32 int ocxl_global_mmio_read64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read64() argument
35 if (offset > afu->config.global_mmio_size - 8) in ocxl_global_mmio_read64()
45 *val = readq_be((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read64()
49 *val = readq((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read64()
57 int ocxl_global_mmio_write32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write32() argument
60 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_write32()
[all …]
/linux/drivers/net/dsa/sja1105/
H A Dsja1105_ethtool.c83 int offset; member
94 .offset = 0,
101 .offset = 0x0,
108 .offset = 0x0,
115 .offset = 0x0,
123 .offset = 0x1,
130 .offset = 0x1,
137 .offset = 0x1,
144 .offset = 0x1,
151 .offset = 0x1,
[all …]
/linux/sound/usb/qcom/
H A Dusb_audio_qmi_v01.c17 .offset = offsetof(struct mem_info_v01, iova),
25 .offset = offsetof(struct mem_info_v01, dma),
33 .offset = offsetof(struct mem_info_v01, size),
49 .offset = offsetof(struct apps_mem_info_v01, evt_ring),
58 .offset = offsetof(struct apps_mem_info_v01, tr_data),
67 .offset = offsetof(struct apps_mem_info_v01, tr_sync),
76 .offset = offsetof(struct apps_mem_info_v01, xfer_buff),
85 .offset = offsetof(struct apps_mem_info_v01, dcba),
102 .offset = offsetof(struct usb_endpoint_descriptor_v01,
111 .offset = offsetof(struct usb_endpoint_descriptor_v01,
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A Dinit.c43 init->offset, init_exec(init) ? \
365 return bit_I.offset; in init_table()
377 init_table_(struct nvbios_init *init, u16 offset, const char *name) in init_table_() argument
382 if (len >= offset + 2) { in init_table_()
383 data = nvbios_rd16(bios, data + offset); in init_table_()
461 init_xlat_(struct nvbios_init *init, u8 index, u8 offset) in init_xlat_() argument
468 return nvbios_rd08(bios, data + offset); in init_xlat_()
547 * 0x6808b0 address, and then flip the offset by 8. in init_tmds_reg()
586 u8 opcode = nvbios_rd08(bios, init->offset); in init_reserved()
600 cont(" 0x%02x", nvbios_rd08(bios, init->offset in init_reserved()
1373 u16 offset = nvbios_rd16(bios, init->offset + 1); init_jump() local
[all...]
/linux/drivers/pinctrl/
H A Dpinctrl-da9062.c26 #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
46 ret = regmap_read(regmap, DA9062AA_GPIO_0_1 + (offset >> 1), &val); in da9062_pctl_get_pin_mode()
50 val >>= DA9062_PIN_SHIFT(offset); in da9062_pctl_get_pin_mode()
57 unsigned int offset, unsigned int mode_req) in da9062_pctl_set_pin_mode() argument
65 mode <<= DA9062_PIN_SHIFT(offset); in da9062_pctl_set_pin_mode()
66 mask = DA9062AA_GPIO0_PIN_MASK << DA9062_PIN_SHIFT(offset); in da9062_pctl_set_pin_mode()
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/net/ipa/
H A Dipa_qmi_msg.c21 .offset = offsetof(struct ipa_indication_register_req,
31 .offset = offsetof(struct ipa_indication_register_req,
41 .offset = offsetof(struct ipa_indication_register_req,
51 .offset = offsetof(struct ipa_indication_register_req,
61 .offset = offsetof(struct ipa_indication_register_req,
71 .offset = offsetof(struct ipa_indication_register_req,
81 .offset = offsetof(struct ipa_indication_register_req,
91 .offset = offsetof(struct ipa_indication_register_req,
101 .offset = offsetof(struct ipa_indication_register_req,
111 .offset = offsetof(struct ipa_indication_register_req,
[all …]
/linux/drivers/gpu/drm/i915/display/
H A Ddvo_ns2501.c195 u8 offset; member
301 [0] = { .offset = 0x0a, .value = 0x81, },
303 [1] = { .offset = 0x12, .value = 0x02, },
304 [2] = { .offset = 0x18, .value = 0x07, },
305 [3] = { .offset = 0x19, .value = 0x00, },
306 [4] = { .offset = 0x1a, .value = 0x00, }, /* PLL?, ignored */
308 [5] = { .offset = 0x1e, .value = 0x02, },
309 [6] = { .offset = 0x1f, .value = 0x40, },
310 [7] = { .offset = 0x20, .value = 0x00, },
311 [8] = { .offset = 0x21, .value = 0x00, },
[all …]
/linux/drivers/gpu/drm/tegra/
H A Dtrace.h11 TP_PROTO(struct device *dev, unsigned int offset, u32 value),
12 TP_ARGS(dev, offset, value),
15 __field(unsigned int, offset)
20 __entry->offset = offset;
23 TP_printk("%s %04x %08x", dev_name(__entry->dev), __entry->offset,
28 TP_PROTO(struct device *dev, unsigned int offset, u32 value),
29 TP_ARGS(dev, offset, value));
31 TP_PROTO(struct device *dev, unsigned int offset, u32 value),
32 TP_ARGS(dev, offset, value));
35 TP_PROTO(struct device *dev, unsigned int offset, u32 value),
[all …]

12345678910>>...156