Symbol: location
arch/alpha/kernel/module.c
140
void *base, *location;
arch/alpha/kernel/module.c
160
location = base + rela[i].r_offset;
arch/alpha/kernel/module.c
171
*(u32 *)location = value;
arch/alpha/kernel/module.c
175
((u32 *)location)[0] = value;
arch/alpha/kernel/module.c
176
((u32 *)location)[1] = value >> 32;
arch/alpha/kernel/module.c
182
*(u32 *)location = value;
arch/alpha/kernel/module.c
189
*(u16 *)location = lo;
arch/alpha/kernel/module.c
195
value = gp - (u64)location;
arch/alpha/kernel/module.c
200
*(u16 *)location = hi >> 16;
arch/alpha/kernel/module.c
201
*(u16 *)(location + rela[i].r_addend) = lo;
arch/alpha/kernel/module.c
215
value -= (u64)location + 4;
arch/alpha/kernel/module.c
222
value |= *(u32 *)location & ~0x1fffff;
arch/alpha/kernel/module.c
223
*(u32 *)location = value;
arch/alpha/kernel/module.c
228
value -= (u64)location;
arch/alpha/kernel/module.c
231
*(u32 *)location = value;
arch/alpha/kernel/module.c
234
value -= (u64)location;
arch/alpha/kernel/module.c
235
*(u64 *)location = value;
arch/alpha/kernel/module.c
241
*(u16 *)location = value;
arch/alpha/kernel/module.c
245
*(u16 *)location = value;
arch/alpha/kernel/module.c
251
*(u16 *)location = value;
arch/arc/kernel/module.c
103
arc_write_me((unsigned short *)location, relocation);
arch/arc/kernel/module.c
105
*((Elf32_Addr *) location) = relocation;
arch/arc/kernel/module.c
107
*((Elf32_Addr *) location) = relocation - location;
arch/arc/kernel/module.c
54
Elf32_Addr relocation, location, tgt_addr;
arch/arc/kernel/module.c
77
location = tgt_addr + rel_entry[i].r_offset;
arch/arc/kernel/module.c
93
sym_entry->st_value, location, relocation, s);
arch/arm/vfp/vfp.h
377
asmlinkage void vfp_save_state(void *location, u32 fpexc);
arch/arm/vfp/vfp.h
378
asmlinkage u32 vfp_load_state(const void *location);
arch/csky/kernel/module.c
28
static void jsri_2_lrw_jsr(uint32_t *location)
arch/csky/kernel/module.c
30
uint16_t *location_tmp = (uint16_t *)location;
arch/csky/kernel/module.c
37
CHANGE_JSRI_TO_LRW(location);
arch/csky/kernel/module.c
39
SET_JSR32_R26(location + 1);
arch/csky/kernel/module.c
43
static inline void jsri_2_lrw_jsr(uint32_t *location)
arch/csky/kernel/module.c
55
uint32_t *location;
arch/csky/kernel/module.c
60
location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
arch/csky/kernel/module.c
68
*location = rel[i].r_addend + sym->st_value;
arch/csky/kernel/module.c
72
*location = rel[i].r_addend + sym->st_value
arch/csky/kernel/module.c
73
- (uint32_t)location;
arch/csky/kernel/module.c
78
jsri_2_lrw_jsr(location);
arch/csky/kernel/module.c
81
temp = ((short *)location) + 1;
arch/csky/kernel/module.c
86
temp = ((short *)location) + 1;
arch/hexagon/kernel/module.c
102
int dist = (int)(value - (uint32_t)location);
arch/hexagon/kernel/module.c
109
dist, value, (uint32_t)location,
arch/hexagon/kernel/module.c
114
DEBUGP("B22_PCREL contents: %08X.\n", *location);
arch/hexagon/kernel/module.c
115
*location &= ~0x01ff3fff;
arch/hexagon/kernel/module.c
116
*location |= 0x00003fff & dist;
arch/hexagon/kernel/module.c
117
*location |= 0x01ff0000 & (dist<<2);
arch/hexagon/kernel/module.c
118
DEBUGP("Contents after reloc: %08x\n", *location);
arch/hexagon/kernel/module.c
125
*location &= ~0x00c03fff;
arch/hexagon/kernel/module.c
126
*location |= value & 0x3fff;
arch/hexagon/kernel/module.c
127
*location |= (value & 0xc000) << 8;
arch/hexagon/kernel/module.c
130
*location = value;
arch/hexagon/kernel/module.c
133
*location = value - (uint32_t)location;
arch/hexagon/kernel/module.c
73
uint32_t *location;
arch/hexagon/kernel/module.c
90
location = loc_base + rela[i].r_offset;
arch/hexagon/kernel/module.c
96
i, value, location, ELF32_R_TYPE(rela[i].r_info),
arch/loongarch/kernel/module.c
103
static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
123
Elf_Shdr *sechdrs, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
126
ptrdiff_t offset = (void *)v - (void *)location;
arch/loongarch/kernel/module.c
134
return apply_r_larch_sop_push_pcrel(mod, location, v, rela_stack, rela_stack_top, type);
arch/loongarch/kernel/module.c
137
static int apply_r_larch_sop(struct module *mod, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
183
static int apply_r_larch_sop_imm_field(struct module *mod, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
188
union loongarch_instruction *insn = (union loongarch_instruction *)location;
arch/loongarch/kernel/module.c
256
*location = (u32)opr1;
arch/loongarch/kernel/module.c
274
static int apply_r_larch_add_sub(struct module *mod, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
279
*(s32 *)location += v;
arch/loongarch/kernel/module.c
282
*(s32 *)location -= v;
arch/loongarch/kernel/module.c
286
*(s64 *)location += v;
arch/loongarch/kernel/module.c
289
*(s64 *)location -= v;
arch/loongarch/kernel/module.c
299
Elf_Shdr *sechdrs, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
302
ptrdiff_t offset = (void *)v - (void *)location;
arch/loongarch/kernel/module.c
303
union loongarch_instruction *insn = (union loongarch_instruction *)location;
arch/loongarch/kernel/module.c
311
offset = (void *)v - (void *)location;
arch/loongarch/kernel/module.c
332
static int apply_r_larch_pcadd(struct module *mod, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
335
union loongarch_instruction *insn = (union loongarch_instruction *)location;
arch/loongarch/kernel/module.c
337
s32 offset_hi20 = (void *)((v + 0x800)) - (void *)((Elf_Addr)location);
arch/loongarch/kernel/module.c
35
typedef int (*reloc_rela_handler)(struct module *mod, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
355
static int apply_r_larch_pcala(struct module *mod, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
358
union loongarch_instruction *insn = (union loongarch_instruction *)location;
arch/loongarch/kernel/module.c
361
(void *)((Elf_Addr)location & ~0xfff);
arch/loongarch/kernel/module.c
363
Elf_Addr anchor = (((Elf_Addr)location) & ~0xfff) + offset_hi20;
arch/loongarch/kernel/module.c
394
Elf_Shdr *sechdrs, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
427
return got_handler(mod, location, v, rela_stack, rela_stack_top, type);
arch/loongarch/kernel/module.c
430
static int apply_r_larch_32_pcrel(struct module *mod, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
433
ptrdiff_t offset = (void *)v - (void *)location;
arch/loongarch/kernel/module.c
435
*(u32 *)location = offset;
arch/loongarch/kernel/module.c
442
static int apply_r_larch_64_pcrel(struct module *mod, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
445
ptrdiff_t offset = (void *)v - (void *)location;
arch/loongarch/kernel/module.c
447
*(u64 *)location = offset;
arch/loongarch/kernel/module.c
483
void *location;
arch/loongarch/kernel/module.c
496
location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr + rel[i].r_offset;
arch/loongarch/kernel/module.c
521
(unsigned long)sym->st_value, (unsigned long)rel[i].r_addend, (unsigned long)location);
arch/loongarch/kernel/module.c
567
err = apply_r_larch_b26(mod, sechdrs, location,
arch/loongarch/kernel/module.c
572
err = apply_r_larch_got_pc(mod, sechdrs, location,
arch/loongarch/kernel/module.c
576
err = apply_r_larch_sop_push_plt_pcrel(mod, sechdrs, location,
arch/loongarch/kernel/module.c
580
err = handler(mod, location, v, rela_stack, &rela_stack_top, type);
arch/loongarch/kernel/module.c
60
static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
66
static int apply_r_larch_error(struct module *me, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
73
static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
76
*location = v;
arch/loongarch/kernel/module.c
83
static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
86
*(Elf_Addr *)location = v;
arch/loongarch/kernel/module.c
91
static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v,
arch/loongarch/kernel/module.c
94
return rela_stack_push(v - (unsigned long)location, rela_stack, rela_stack_top);
arch/loongarch/kernel/module.c
97
static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v,
arch/m68k/kernel/module.c
31
uint32_t *location;
arch/m68k/kernel/module.c
37
location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
arch/m68k/kernel/module.c
47
*location += sym->st_value;
arch/m68k/kernel/module.c
51
*location += sym->st_value - (uint32_t)location;
arch/m68k/kernel/module.c
71
uint32_t *location;
arch/m68k/kernel/module.c
77
location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
arch/m68k/kernel/module.c
87
*location = rel[i].r_addend + sym->st_value;
arch/m68k/kernel/module.c
91
*location = rel[i].r_addend + sym->st_value - (uint32_t)location;
arch/microblaze/kernel/module.c
25
unsigned long int *location;
arch/microblaze/kernel/module.c
33
location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr +
arch/microblaze/kernel/module.c
49
*location = value;
arch/microblaze/kernel/module.c
53
location[0] = (location[0] & 0xFFFF0000) |
arch/microblaze/kernel/module.c
55
location[1] = (location[1] & 0xFFFF0000) |
arch/microblaze/kernel/module.c
60
value -= (unsigned long int)(location) + 4;
arch/microblaze/kernel/module.c
61
location[0] = (location[0] & 0xFFFF0000) |
arch/microblaze/kernel/module.c
63
location[1] = (location[1] & 0xFFFF0000) |
arch/mips/kernel/module.c
106
*location = (*location & 0xffff0000) | (v & 0xffff);
arch/mips/kernel/module.c
157
*location = insnlo;
arch/mips/kernel/module.c
170
static int apply_r_mips_pc(struct module *me, u32 *location, u32 base,
arch/mips/kernel/module.c
187
offset += ((long)v - (long)location) >> 2;
arch/mips/kernel/module.c
196
*location = (*location & ~mask) | (offset & mask);
arch/mips/kernel/module.c
201
static int apply_r_mips_pc16(struct module *me, u32 *location, u32 base,
arch/mips/kernel/module.c
204
return apply_r_mips_pc(me, location, base, v, 16);
arch/mips/kernel/module.c
207
static int apply_r_mips_pc21(struct module *me, u32 *location, u32 base,
arch/mips/kernel/module.c
210
return apply_r_mips_pc(me, location, base, v, 21);
arch/mips/kernel/module.c
213
static int apply_r_mips_pc26(struct module *me, u32 *location, u32 base,
arch/mips/kernel/module.c
216
return apply_r_mips_pc(me, location, base, v, 26);
arch/mips/kernel/module.c
219
static int apply_r_mips_64(u32 *location, Elf_Addr v, bool rela)
arch/mips/kernel/module.c
224
*(Elf_Addr *)location = v;
arch/mips/kernel/module.c
229
static int apply_r_mips_higher(u32 *location, Elf_Addr v, bool rela)
arch/mips/kernel/module.c
234
*location = (*location & 0xffff0000) |
arch/mips/kernel/module.c
240
static int apply_r_mips_highest(u32 *location, Elf_Addr v, bool rela)
arch/mips/kernel/module.c
245
*location = (*location & 0xffff0000) |
arch/mips/kernel/module.c
268
static int reloc_handler(u32 type, struct module *me, u32 *location, u32 base,
arch/mips/kernel/module.c
275
apply_r_mips_32(location, base, v);
arch/mips/kernel/module.c
278
return apply_r_mips_26(me, location, base, v);
arch/mips/kernel/module.c
280
return apply_r_mips_hi16(me, location, v, rela);
arch/mips/kernel/module.c
282
return apply_r_mips_lo16(me, location, base, v, rela);
arch/mips/kernel/module.c
284
return apply_r_mips_pc16(me, location, base, v);
arch/mips/kernel/module.c
286
return apply_r_mips_pc21(me, location, base, v);
arch/mips/kernel/module.c
288
return apply_r_mips_pc26(me, location, base, v);
arch/mips/kernel/module.c
290
return apply_r_mips_64(location, v, rela);
arch/mips/kernel/module.c
292
return apply_r_mips_higher(location, v, rela);
arch/mips/kernel/module.c
294
return apply_r_mips_highest(location, v, rela);
arch/mips/kernel/module.c
312
u32 *location, base;
arch/mips/kernel/module.c
326
location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
arch/mips/kernel/module.c
33
static void apply_r_mips_32(u32 *location, u32 base, Elf_Addr v)
arch/mips/kernel/module.c
349
base = *location;
arch/mips/kernel/module.c
35
*location = base + v;
arch/mips/kernel/module.c
353
err = reloc_handler(type, me, location, base, v, rela);
arch/mips/kernel/module.c
38
static int apply_r_mips_26(struct module *me, u32 *location, u32 base,
arch/mips/kernel/module.c
47
if ((v & 0xf0000000) != (((unsigned long)location + 4) & 0xf0000000)) {
arch/mips/kernel/module.c
53
*location = (*location & ~0x03ffffff) |
arch/mips/kernel/module.c
59
static int apply_r_mips_hi16(struct module *me, u32 *location, Elf_Addr v,
arch/mips/kernel/module.c
65
*location = (*location & 0xffff0000) |
arch/mips/kernel/module.c
79
n->addr = (Elf_Addr *)location;
arch/mips/kernel/module.c
98
static int apply_r_mips_lo16(struct module *me, u32 *location,
arch/mips/kernel/vpe.c
228
static int apply_r_mips_none(struct module *me, uint32_t *location,
arch/mips/kernel/vpe.c
234
static int apply_r_mips_gprel16(struct module *me, uint32_t *location,
arch/mips/kernel/vpe.c
239
if (!(*location & 0xffff)) {
arch/mips/kernel/vpe.c
245
(int)(short)(*location & 0xffff) - gp_addr);
arch/mips/kernel/vpe.c
254
*location = (*location & 0xffff0000) | (rel & 0xffff);
arch/mips/kernel/vpe.c
259
static int apply_r_mips_pc16(struct module *me, uint32_t *location,
arch/mips/kernel/vpe.c
263
rel = (((unsigned int)v - (unsigned int)location));
arch/mips/kernel/vpe.c
273
*location = (*location & 0xffff0000) | (rel & 0xffff);
arch/mips/kernel/vpe.c
278
static int apply_r_mips_32(struct module *me, uint32_t *location,
arch/mips/kernel/vpe.c
281
*location += v;
arch/mips/kernel/vpe.c
286
static int apply_r_mips_26(struct module *me, uint32_t *location,
arch/mips/kernel/vpe.c
306
*location = (*location & ~0x03ffffff) |
arch/mips/kernel/vpe.c
307
((*location + (v >> 2)) & 0x03ffffff);
arch/mips/kernel/vpe.c
311
static int apply_r_mips_hi16(struct module *me, uint32_t *location,
arch/mips/kernel/vpe.c
325
n->addr = location;
arch/mips/kernel/vpe.c
333
static int apply_r_mips_lo16(struct module *me, uint32_t *location,
arch/mips/kernel/vpe.c
336
unsigned long insnlo = *location;
arch/mips/kernel/vpe.c
389
*location = insnlo;
arch/mips/kernel/vpe.c
404
static int (*reloc_handlers[]) (struct module *me, uint32_t *location,
arch/mips/kernel/vpe.c
433
uint32_t *location;
arch/mips/kernel/vpe.c
442
location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
arch/mips/kernel/vpe.c
456
res = reloc_handlers[ELF32_R_TYPE(r_info)](me, location, v);
arch/openrisc/kernel/module.c
25
uint32_t *location;
arch/openrisc/kernel/module.c
32
location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
arch/openrisc/kernel/module.c
43
*location = value;
arch/openrisc/kernel/module.c
46
*((uint16_t *)location + 1) = value;
arch/openrisc/kernel/module.c
49
*((uint16_t *)location + 1) = value >> 16;
arch/openrisc/kernel/module.c
52
value -= (uint32_t)location;
arch/openrisc/kernel/module.c
55
value |= *location & 0xfc000000;
arch/openrisc/kernel/module.c
56
*location = value;
arch/openrisc/kernel/module.c
59
value -= (uint32_t)location;
arch/openrisc/kernel/module.c
60
*location = value;
arch/openrisc/kernel/module.c
65
*((uint16_t *)location + 1) = value >> 16;
arch/openrisc/kernel/module.c
70
*location = (*location & ~0x3e007ff) | value;
arch/powerpc/include/asm/inst.h
115
static inline u32 *ppc_inst_next(u32 *location, u32 *value)
arch/powerpc/include/asm/inst.h
121
return (void *)location + ppc_inst_len(tmp);
arch/powerpc/kernel/eeh.c
432
const char *location = NULL;
arch/powerpc/kernel/eeh.c
482
location = of_get_property(dn, "ibm,loc-code",
arch/powerpc/kernel/eeh.c
486
location ? location : "unknown",
arch/powerpc/kernel/module_32.c
157
static uint32_t do_plt_call(void *location,
arch/powerpc/kernel/module_32.c
164
pr_debug("Doing plt for call to 0x%x at 0x%x\n", val, (unsigned int)location);
arch/powerpc/kernel/module_32.c
166
if (within_module_core((unsigned long)location, mod))
arch/powerpc/kernel/module_32.c
205
uint32_t *location;
arch/powerpc/kernel/module_32.c
212
location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
arch/powerpc/kernel/module_32.c
224
*(uint32_t *)location = value;
arch/powerpc/kernel/module_32.c
229
if (patch_location_16(location, PPC_LO(value)))
arch/powerpc/kernel/module_32.c
235
if (patch_location_16(location, PPC_HI(value)))
arch/powerpc/kernel/module_32.c
240
if (patch_location_16(location, PPC_HA(value)))
arch/powerpc/kernel/module_32.c
245
if ((int)(value - (uint32_t)location) < -0x02000000
arch/powerpc/kernel/module_32.c
246
|| (int)(value - (uint32_t)location) >= 0x02000000) {
arch/powerpc/kernel/module_32.c
247
value = do_plt_call(location, value,
arch/powerpc/kernel/module_32.c
255
value, (uint32_t)location);
arch/powerpc/kernel/module_32.c
257
*(uint32_t *)location);
arch/powerpc/kernel/module_32.c
258
value = (*(uint32_t *)location & ~PPC_LI_MASK) |
arch/powerpc/kernel/module_32.c
259
PPC_LI(value - (uint32_t)location);
arch/powerpc/kernel/module_32.c
261
if (patch_instruction(location, ppc_inst(value)))
arch/powerpc/kernel/module_32.c
265
*(uint32_t *)location);
arch/powerpc/kernel/module_32.c
267
*(uint32_t *)PPC_LI((uint32_t)location), (uint32_t)location,
arch/powerpc/kernel/module_32.c
268
(*(uint32_t *)PPC_LI((uint32_t)location)) + (uint32_t)location);
arch/powerpc/kernel/module_32.c
273
*(uint32_t *)location = value - (uint32_t)location;
arch/powerpc/kernel/module_64.c
1018
value = my_r2(sechdrs, me) - (unsigned long)location;
arch/powerpc/kernel/module_64.c
1026
if ((((uint32_t *)location)[0] & ~0xfffc) != PPC_RAW_LD(_R2, _R12, 0))
arch/powerpc/kernel/module_64.c
1028
if (((uint32_t *)location)[1] != PPC_RAW_ADD(_R2, _R2, _R12))
arch/powerpc/kernel/module_64.c
1035
((uint32_t *)location)[0] = PPC_RAW_ADDIS(_R2, _R12, PPC_HA(value));
arch/powerpc/kernel/module_64.c
1036
((uint32_t *)location)[1] = PPC_RAW_ADDI(_R2, _R2, PPC_LO(value));
arch/powerpc/kernel/module_64.c
1041
value -= (unsigned long)location;
arch/powerpc/kernel/module_64.c
1043
*((uint16_t *) location)
arch/powerpc/kernel/module_64.c
1044
= (*((uint16_t *) location) & ~0xffff)
arch/powerpc/kernel/module_64.c
1050
value -= (unsigned long)location;
arch/powerpc/kernel/module_64.c
1051
*((uint16_t *) location)
arch/powerpc/kernel/module_64.c
1052
= (*((uint16_t *) location) & ~0xffff)
arch/powerpc/kernel/module_64.c
1062
value -= (unsigned long)location;
arch/powerpc/kernel/module_64.c
1063
((uint32_t *)location)[0] = (((uint32_t *)location)[0] & ~0x3ffff) |
arch/powerpc/kernel/module_64.c
1065
((uint32_t *)location)[1] = (((uint32_t *)location)[1] & ~0xffff) |
arch/powerpc/kernel/module_64.c
802
unsigned long *location;
arch/powerpc/kernel/module_64.c
821
location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
arch/powerpc/kernel/module_64.c
828
location, (long)ELF64_R_TYPE(rela[i].r_info),
arch/powerpc/kernel/module_64.c
838
*(u32 *)location = value;
arch/powerpc/kernel/module_64.c
843
*(unsigned long *)location = value;
arch/powerpc/kernel/module_64.c
848
*(unsigned long *)location = my_r2(sechdrs, me);
arch/powerpc/kernel/module_64.c
859
*((uint16_t *) location)
arch/powerpc/kernel/module_64.c
860
= (*((uint16_t *) location) & ~0xffff)
arch/powerpc/kernel/module_64.c
867
*((uint16_t *) location)
arch/powerpc/kernel/module_64.c
868
= (*((uint16_t *) location) & ~0xffff)
arch/powerpc/kernel/module_64.c
880
*((uint16_t *) location)
arch/powerpc/kernel/module_64.c
881
= (*((uint16_t *) location) & ~0xfffc)
arch/powerpc/kernel/module_64.c
893
*((uint16_t *) location)
arch/powerpc/kernel/module_64.c
894
= (*((uint16_t *) location) & ~0xfffc)
arch/powerpc/kernel/module_64.c
902
*((uint16_t *) location)
arch/powerpc/kernel/module_64.c
903
= (*((uint16_t *) location) & ~0xffff)
arch/powerpc/kernel/module_64.c
922
(u32 *)location + 1, me))
arch/powerpc/kernel/module_64.c
928
value -= (unsigned long)location;
arch/powerpc/kernel/module_64.c
936
value = (*(uint32_t *)location & ~PPC_LI_MASK) | PPC_LI(value);
arch/powerpc/kernel/module_64.c
938
if (patch_instruction((u32 *)location, ppc_inst(value)))
arch/powerpc/kernel/module_64.c
945
*location = value - (unsigned long)location;
arch/powerpc/kernel/module_64.c
951
value -= (unsigned long)location;
arch/powerpc/kernel/module_64.c
957
*(u32 *)location = value;
arch/powerpc/kernel/module_64.c
965
value -= (unsigned long)location;
arch/powerpc/kernel/module_64.c
983
value -= (unsigned long)location;
arch/powerpc/kernel/module_64.c
986
if (patch_instruction((u32 *)location,
arch/powerpc/kernel/module_64.c
987
ppc_inst_prefix((*(u32 *)location & ~0x02000000),
arch/powerpc/kernel/module_64.c
988
(*((u32 *)location + 1) & ~0xf8000000) | 0xe4000000)))
arch/powerpc/kernel/module_64.c
992
if (patch_instruction((u32 *)location,
arch/powerpc/kernel/module_64.c
993
ppc_inst_prefix((*(u32 *)location & ~0x3ffff) | IMM_H18(value),
arch/powerpc/kernel/module_64.c
994
(*((u32 *)location + 1) & ~0xffff) | IMM_L(value))))
arch/powerpc/platforms/pasemi/gpio_mdio.c
115
static int gpio_mdio_read(struct mii_bus *bus, int phy_id, int location)
arch/powerpc/platforms/pasemi/gpio_mdio.c
120
u8 reg = location & 0xff;
arch/powerpc/platforms/pasemi/gpio_mdio.c
154
static int gpio_mdio_write(struct mii_bus *bus, int phy_id, int location, u16 val)
arch/powerpc/platforms/pasemi/gpio_mdio.c
159
u8 reg = location & 0xff;
arch/riscv/kernel/module.c
100
ptrdiff_t offset = (void *)v - location;
arch/riscv/kernel/module.c
106
return riscv_insn_rmw(location, 0x1fff07f, imm12 | imm11 | imm10_5 | imm4_1);
arch/riscv/kernel/module.c
109
static int apply_r_riscv_jal_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
112
ptrdiff_t offset = (void *)v - location;
arch/riscv/kernel/module.c
118
return riscv_insn_rmw(location, 0xfff, imm20 | imm19_12 | imm11 | imm10_1);
arch/riscv/kernel/module.c
121
static int apply_r_riscv_rvc_branch_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
124
ptrdiff_t offset = (void *)v - location;
arch/riscv/kernel/module.c
131
return riscv_insn_rvc_rmw(location, 0xe383,
arch/riscv/kernel/module.c
135
static int apply_r_riscv_rvc_jump_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
138
ptrdiff_t offset = (void *)v - location;
arch/riscv/kernel/module.c
148
return riscv_insn_rvc_rmw(location, 0xe003,
arch/riscv/kernel/module.c
152
static int apply_r_riscv_pcrel_hi20_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
155
ptrdiff_t offset = (void *)v - location;
arch/riscv/kernel/module.c
160
me->name, (long long)v, location);
arch/riscv/kernel/module.c
164
return riscv_insn_rmw(location, 0xfff, (offset + 0x800) & 0xfffff000);
arch/riscv/kernel/module.c
167
static int apply_r_riscv_pcrel_lo12_i_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
174
return riscv_insn_rmw(location, 0xfffff, (v & 0xfff) << 20);
arch/riscv/kernel/module.c
177
static int apply_r_riscv_pcrel_lo12_s_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
187
return riscv_insn_rmw(location, 0x1fff07f, imm11_5 | imm4_0);
arch/riscv/kernel/module.c
190
static int apply_r_riscv_hi20_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
196
me->name, (long long)v, location);
arch/riscv/kernel/module.c
200
return riscv_insn_rmw(location, 0xfff, ((s32)v + 0x800) & 0xfffff000);
arch/riscv/kernel/module.c
203
static int apply_r_riscv_lo12_i_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
210
return riscv_insn_rmw(location, 0xfffff, (lo12 & 0xfff) << 20);
arch/riscv/kernel/module.c
213
static int apply_r_riscv_lo12_s_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
222
return riscv_insn_rmw(location, 0x1fff07f, imm11_5 | imm4_0);
arch/riscv/kernel/module.c
225
static int apply_r_riscv_got_hi20_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
228
ptrdiff_t offset = (void *)v - location;
arch/riscv/kernel/module.c
232
offset = (void *)module_emit_got_entry(me, v) - location;
arch/riscv/kernel/module.c
236
me->name, (long long)v, location);
arch/riscv/kernel/module.c
240
return riscv_insn_rmw(location, 0xfff, (offset + 0x800) & 0xfffff000);
arch/riscv/kernel/module.c
243
static int apply_r_riscv_call_plt_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
246
ptrdiff_t offset = (void *)v - location;
arch/riscv/kernel/module.c
252
offset = (void *)module_emit_plt_entry(me, v) - location;
arch/riscv/kernel/module.c
256
me->name, (long long)v, location);
arch/riscv/kernel/module.c
263
riscv_insn_rmw(location, 0xfff, hi20);
arch/riscv/kernel/module.c
264
return riscv_insn_rmw(location + 4, 0xfffff, lo12 << 20);
arch/riscv/kernel/module.c
267
static int apply_r_riscv_call_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
27
void *location;
arch/riscv/kernel/module.c
270
ptrdiff_t offset = (void *)v - location;
arch/riscv/kernel/module.c
276
me->name, (long long)v, location);
arch/riscv/kernel/module.c
282
riscv_insn_rmw(location, 0xfff, hi20);
arch/riscv/kernel/module.c
283
return riscv_insn_rmw(location + 4, 0xfffff, lo12 << 20);
arch/riscv/kernel/module.c
286
static int apply_r_riscv_relax_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
292
static int apply_r_riscv_align_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
297
me->name, location);
arch/riscv/kernel/module.c
301
static int apply_r_riscv_add8_rela(struct module *me, void *location, Elf_Addr v)
arch/riscv/kernel/module.c
303
*(u8 *)location += (u8)v;
arch/riscv/kernel/module.c
307
static int apply_r_riscv_add16_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
310
*(u16 *)location += (u16)v;
arch/riscv/kernel/module.c
314
static int apply_r_riscv_add32_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
317
*(u32 *)location += (u32)v;
arch/riscv/kernel/module.c
321
static int apply_r_riscv_add64_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
324
*(u64 *)location += (u64)v;
arch/riscv/kernel/module.c
328
static int apply_r_riscv_sub8_rela(struct module *me, void *location, Elf_Addr v)
arch/riscv/kernel/module.c
330
*(u8 *)location -= (u8)v;
arch/riscv/kernel/module.c
334
static int apply_r_riscv_sub16_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
337
*(u16 *)location -= (u16)v;
arch/riscv/kernel/module.c
341
static int apply_r_riscv_sub32_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
344
*(u32 *)location -= (u32)v;
arch/riscv/kernel/module.c
348
static int apply_r_riscv_sub64_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
351
*(u64 *)location -= (u64)v;
arch/riscv/kernel/module.c
355
static int dynamic_linking_not_supported(struct module *me, void *location,
arch/riscv/kernel/module.c
359
me->name, location);
arch/riscv/kernel/module.c
363
static int tls_not_supported(struct module *me, void *location, Elf_Addr v)
arch/riscv/kernel/module.c
366
me->name, location);
arch/riscv/kernel/module.c
37
int (*reloc_handler)(struct module *me, void *location, Elf_Addr v);
arch/riscv/kernel/module.c
370
static int apply_r_riscv_sub6_rela(struct module *me, void *location, Elf_Addr v)
arch/riscv/kernel/module.c
372
u8 *byte = location;
arch/riscv/kernel/module.c
379
static int apply_r_riscv_set6_rela(struct module *me, void *location, Elf_Addr v)
arch/riscv/kernel/module.c
38
int (*accumulate_handler)(struct module *me, void *location,
arch/riscv/kernel/module.c
381
u8 *byte = location;
arch/riscv/kernel/module.c
388
static int apply_r_riscv_set8_rela(struct module *me, void *location, Elf_Addr v)
arch/riscv/kernel/module.c
390
*(u8 *)location = (u8)v;
arch/riscv/kernel/module.c
394
static int apply_r_riscv_set16_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
397
*(u16 *)location = (u16)v;
arch/riscv/kernel/module.c
401
static int apply_r_riscv_set32_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
404
*(u32 *)location = (u32)v;
arch/riscv/kernel/module.c
408
static int apply_r_riscv_32_pcrel_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
411
*(u32 *)location = v - (uintptr_t)location;
arch/riscv/kernel/module.c
415
static int apply_r_riscv_plt32_rela(struct module *me, void *location,
arch/riscv/kernel/module.c
418
ptrdiff_t offset = (void *)v - location;
arch/riscv/kernel/module.c
423
offset = (void *)module_emit_plt_entry(me, v) - location;
arch/riscv/kernel/module.c
426
me->name, (long long)v, location);
arch/riscv/kernel/module.c
431
*(u32 *)location = (u32)offset;
arch/riscv/kernel/module.c
435
static int apply_r_riscv_set_uleb128(struct module *me, void *location, Elf_Addr v)
arch/riscv/kernel/module.c
437
*(long *)location = v;
arch/riscv/kernel/module.c
441
static int apply_r_riscv_sub_uleb128(struct module *me, void *location, Elf_Addr v)
arch/riscv/kernel/module.c
443
*(long *)location -= v;
arch/riscv/kernel/module.c
447
static int apply_6_bit_accumulation(struct module *me, void *location, long buffer)
arch/riscv/kernel/module.c
449
u8 *byte = location;
arch/riscv/kernel/module.c
462
static int apply_8_bit_accumulation(struct module *me, void *location, long buffer)
arch/riscv/kernel/module.c
469
*(u8 *)location = (u8)buffer;
arch/riscv/kernel/module.c
473
static int apply_16_bit_accumulation(struct module *me, void *location, long buffer)
arch/riscv/kernel/module.c
480
*(u16 *)location = (u16)buffer;
arch/riscv/kernel/module.c
484
static int apply_32_bit_accumulation(struct module *me, void *location, long buffer)
arch/riscv/kernel/module.c
491
*(u32 *)location = (u32)buffer;
arch/riscv/kernel/module.c
495
static int apply_64_bit_accumulation(struct module *me, void *location, long buffer)
arch/riscv/kernel/module.c
497
*(u64 *)location = (u64)buffer;
arch/riscv/kernel/module.c
501
static int apply_uleb128_accumulation(struct module *me, void *location, long buffer)
arch/riscv/kernel/module.c
507
u8 *p = location;
arch/riscv/kernel/module.c
55
static int riscv_insn_rmw(void *location, u32 keep, u32 set)
arch/riscv/kernel/module.c
57
__le16 *parcel = location;
arch/riscv/kernel/module.c
626
void *location;
arch/riscv/kernel/module.c
634
location = rel_head_iter->location;
arch/riscv/kernel/module.c
645
me, location, buffer);
arch/riscv/kernel/module.c
655
void *location,
arch/riscv/kernel/module.c
675
hash = hash_min((uintptr_t)location, hashtable_bits);
arch/riscv/kernel/module.c
68
static int riscv_insn_rvc_rmw(void *location, u16 keep, u16 set)
arch/riscv/kernel/module.c
687
if (rel_head_iter->location == location) {
arch/riscv/kernel/module.c
70
__le16 *parcel = location;
arch/riscv/kernel/module.c
708
rel_head->location = location;
arch/riscv/kernel/module.c
771
int (*handler)(struct module *me, void *location, Elf_Addr v);
arch/riscv/kernel/module.c
773
void *location;
arch/riscv/kernel/module.c
794
location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
arch/riscv/kernel/module.c
80
static int apply_r_riscv_32_rela(struct module *me, void *location, Elf_Addr v)
arch/riscv/kernel/module.c
87
*(u32 *)location = v;
arch/riscv/kernel/module.c
879
res = add_relocation_to_accumulate(me, type, location,
arch/riscv/kernel/module.c
884
res = handler(me, location, v);
arch/riscv/kernel/module.c
91
static int apply_r_riscv_64_rela(struct module *me, void *location, Elf_Addr v)
arch/riscv/kernel/module.c
93
*(u64 *)location = v;
arch/riscv/kernel/module.c
97
static int apply_r_riscv_branch_rela(struct module *me, void *location,
arch/s390/kernel/traps.c
142
u16 __user *location;
arch/s390/kernel/traps.c
146
location = get_trap_ip(regs);
arch/s390/kernel/traps.c
148
if (get_user(opcode, location))
arch/s390/kernel/traps.c
152
force_sig_fault(SIGTRAP, TRAP_BRKPT, location);
arch/sh/kernel/module.c
34
uint32_t *location;
arch/sh/kernel/module.c
41
location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
arch/sh/kernel/module.c
53
value = get_unaligned(location);
arch/sh/kernel/module.c
55
put_unaligned(value, location);
arch/sh/kernel/module.c
58
relocation = (relocation - (Elf32_Addr) location);
arch/sh/kernel/module.c
59
value = get_unaligned(location);
arch/sh/kernel/module.c
61
put_unaligned(value, location);
arch/sh/kernel/module.c
64
*location = (*location & ~0x3fffc00) |
arch/sh/kernel/module.c
68
*location = (*location & ~0x3fffc00) |
arch/sh/kernel/module.c
72
relocation -= (Elf32_Addr) location;
arch/sh/kernel/module.c
73
*location = (*location & ~0x3fffc00) |
arch/sh/kernel/module.c
77
relocation -= (Elf32_Addr) location;
arch/sh/kernel/module.c
78
*location = (*location & ~0x3fffc00) |
arch/sparc/kernel/module.c
100
v -= (Elf_Addr) location;
arch/sparc/kernel/module.c
115
location[0] = v >> 24;
arch/sparc/kernel/module.c
116
location[1] = v >> 16;
arch/sparc/kernel/module.c
117
location[2] = v >> 8;
arch/sparc/kernel/module.c
118
location[3] = v >> 0;
arch/sparc/kernel/module.c
122
v -= (Elf_Addr) location;
arch/sparc/kernel/module.c
128
v -= (Elf_Addr) location;
arch/sparc/kernel/module.c
60
u8 *location;
arch/sparc/kernel/module.c
67
location = (u8 *)sechdrs[sechdrs[relsec].sh_info].sh_addr
arch/sparc/kernel/module.c
69
loc32 = (u32 *) location;
arch/sparc/kernel/module.c
72
BUG_ON(((u64)location >> (u64)32) != (u64)0);
arch/sparc/kernel/module.c
83
v -= (Elf_Addr) location;
arch/sparc/kernel/module.c
89
location[0] = v >> 56;
arch/sparc/kernel/module.c
90
location[1] = v >> 48;
arch/sparc/kernel/module.c
91
location[2] = v >> 40;
arch/sparc/kernel/module.c
92
location[3] = v >> 32;
arch/sparc/kernel/module.c
93
location[4] = v >> 24;
arch/sparc/kernel/module.c
94
location[5] = v >> 16;
arch/sparc/kernel/module.c
95
location[6] = v >> 8;
arch/sparc/kernel/module.c
96
location[7] = v >> 0;
arch/x86/include/asm/uv/bios.h
144
char location[UV_BIOS_MAXSTRING];
arch/x86/kernel/machine_kexec_64.c
507
void *location;
arch/x86/kernel/machine_kexec_64.c
534
location = pi->purgatory_buf;
arch/x86/kernel/machine_kexec_64.c
535
location += section->sh_offset;
arch/x86/kernel/machine_kexec_64.c
536
location += rel[i].r_offset;
arch/x86/kernel/machine_kexec_64.c
586
*(u64 *)location = value;
arch/x86/kernel/machine_kexec_64.c
589
*(u32 *)location = value;
arch/x86/kernel/machine_kexec_64.c
590
if (value != *(u32 *)location)
arch/x86/kernel/machine_kexec_64.c
594
*(s32 *)location = value;
arch/x86/kernel/machine_kexec_64.c
595
if ((s64)value != *(s32 *)location)
arch/x86/kernel/machine_kexec_64.c
601
*(u32 *)location = value;
arch/x86/kernel/module.c
50
uint32_t *location;
arch/x86/kernel/module.c
56
location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr
arch/x86/kernel/module.c
66
*location += sym->st_value;
arch/x86/kernel/module.c
71
*location += sym->st_value - (uint32_t)location;
arch/xtensa/kernel/module.c
102
location[0] = ((location[0] & ~0xc0) |
arch/xtensa/kernel/module.c
104
location[1] = (value >> 2) & 0xff;
arch/xtensa/kernel/module.c
105
location[2] = (value >> 10) & 0xff;
arch/xtensa/kernel/module.c
107
} else if (decode_l32r_opcode(location)) {
arch/xtensa/kernel/module.c
108
value -= (((unsigned long)location + 3) & -4);
arch/xtensa/kernel/module.c
121
location[1] = (value >> 8) & 0xff;
arch/xtensa/kernel/module.c
122
location[2] = value & 0xff;
arch/xtensa/kernel/module.c
125
location[1] = value & 0xff;
arch/xtensa/kernel/module.c
126
location[2] = (value >> 8) & 0xff;
arch/xtensa/kernel/module.c
26
decode_calln_opcode (unsigned char *location)
arch/xtensa/kernel/module.c
29
return (location[0] & 0xf0) == 0x50;
arch/xtensa/kernel/module.c
32
return (location[0] & 0xf) == 0x5;
arch/xtensa/kernel/module.c
37
decode_l32r_opcode (unsigned char *location)
arch/xtensa/kernel/module.c
40
return (location[0] & 0xf0) == 0x10;
arch/xtensa/kernel/module.c
43
return (location[0] & 0xf) == 0x1;
arch/xtensa/kernel/module.c
56
unsigned char *location;
arch/xtensa/kernel/module.c
63
location = (char *)sechdrs[sechdrs[relsec].sh_info].sh_addr
arch/xtensa/kernel/module.c
79
*(uint32_t *)location += value;
arch/xtensa/kernel/module.c
83
if (decode_calln_opcode(location)) {
arch/xtensa/kernel/module.c
84
value -= ((unsigned long)location & -4) + 4;
arch/xtensa/kernel/module.c
96
location[0] = ((location[0] & ~0x3) |
arch/xtensa/kernel/module.c
98
location[1] = (value >> 8) & 0xff;
arch/xtensa/kernel/module.c
99
location[2] = value & 0xff;
drivers/acpi/acpica/acdebug.h
115
acpi_db_set_method_breakpoint(char *location,
drivers/acpi/acpica/dbmethod.c
42
acpi_db_set_method_breakpoint(char *location,
drivers/acpi/acpica/dbmethod.c
56
address = strtoul(location, NULL, 16);
drivers/block/swim.c
170
enum drive_location location; /* internal or external drive */
drivers/block/swim.c
309
enum drive_location location)
drivers/block/swim.c
311
if (location == INTERNAL_DRIVE) {
drivers/block/swim.c
314
} else if (location == EXTERNAL_DRIVE) {
drivers/block/swim.c
447
swim_drive(base, fs->location);
drivers/block/swim.c
504
swim_drive(base, fs->location);
drivers/block/swim.c
625
swim_drive(base, fs->location);
drivers/block/swim.c
748
static int swim_add_floppy(struct swim_priv *swd, enum drive_location location)
drivers/block/swim.c
753
fs->location = location;
drivers/block/swim.c
755
swim_drive(base, location);
drivers/edac/edac_mc.c
101
dimm->idx, location, dimm->csrow, dimm->cschannel);
drivers/edac/edac_mc.c
1021
if (top_layer >= 0 && top_layer != dimm->location[0])
drivers/edac/edac_mc.c
1023
if (mid_layer >= 0 && mid_layer != dimm->location[1])
drivers/edac/edac_mc.c
1025
if (low_layer >= 0 && low_layer != dimm->location[2])
drivers/edac/edac_mc.c
1076
p = e->location;
drivers/edac/edac_mc.c
1077
end = p + sizeof(e->location);
drivers/edac/edac_mc.c
299
dimm->location[layer] = pos[layer];
drivers/edac/edac_mc.c
71
dimm->location[i]);
drivers/edac/edac_mc.c
841
e->label, e->location, e->page_frame_number, e->offset_in_page,
drivers/edac/edac_mc.c
878
e->label, e->location, e->page_frame_number, e->offset_in_page,
drivers/edac/edac_mc.c
890
e->label, e->location, e->page_frame_number, e->offset_in_page,
drivers/edac/edac_mc.c
92
char location[80];
drivers/edac/edac_mc.c
97
edac_dimm_info_location(dimm, location, sizeof(location));
drivers/edac/edac_mc_sysfs.c
295
char location[80];
drivers/edac/edac_mc_sysfs.c
297
edac_dimm_info_location(dimm, location, sizeof(location));
drivers/edac/edac_mc_sysfs.c
299
dev_name(&dimm->dev), location);
drivers/edac/ghes_edac.c
246
const char *location, unsigned int len)
drivers/edac/ghes_edac.c
256
n += scnprintf(msg + n, len - n, "APEI location: %s ", location);
drivers/edac/ghes_edac.c
350
p = e->location;
drivers/edac/ghes_edac.c
364
if (p > e->location)
drivers/edac/ghes_edac.c
372
p += print_mem_error_other_detail(mem_err, p, e->location, OTHER_DETAIL_LEN);
drivers/edac/i82860_edac.c
123
dimm->location[0], dimm->location[1], -1,
drivers/edac/i82860_edac.c
128
dimm->location[0], dimm->location[1], -1,
drivers/edac/npcm_edac.c
100
u8 location;
drivers/edac/npcm_edac.c
211
priv->error_type, priv->location, priv->bit);
drivers/edac/npcm_edac.c
228
if (priv->location == ERROR_LOCATION_DATA &&
drivers/edac/npcm_edac.c
236
if (priv->location == ERROR_LOCATION_CHECKCODE &&
drivers/edac/npcm_edac.c
244
syndrome = priv->location ? 1 << priv->bit
drivers/edac/npcm_edac.c
297
edac_debugfs_create_x8("location", 0644, priv->debugfs, &priv->location);
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
313
svm_range_set_default_attributes(struct svm_range_list *svms, int32_t *location,
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
317
*location = KFD_IOCTL_SVM_LOCATION_UNDEFINED;
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
3847
uint32_t location = KFD_IOCTL_SVM_LOCATION_UNDEFINED;
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
3907
svm_range_set_default_attributes(svms, &location, &prefetch_loc,
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
3930
(location != KFD_IOCTL_SVM_LOCATION_UNDEFINED &&
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
3931
location != prange->preferred_loc)) {
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
3932
location = KFD_IOCTL_SVM_LOCATION_UNDEFINED;
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
3935
location = prange->preferred_loc;
drivers/gpu/drm/amd/amdkfd/kfd_svm.c
3971
attrs[i].value = location;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
668
int location = -1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
672
location = i;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
677
return location;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
685
int location = -1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
694
location = i;
drivers/gpu/drm/amd/display/dc/dml2_0/dml21/dml21_translation_helper.c
699
return location;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1006
static void populate_dummy_dml_plane_cfg(struct dml_plane_cfg_st *out, unsigned int location,
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1022
out->CursorBPP[location] = dml_cur_32bit;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1023
out->CursorWidth[location] = 256;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1025
out->GPUVMMinPageSizeKBytes[location] = soc->gpuvm_min_page_size_kbytes;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1027
out->ViewportWidth[location] = width;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1028
out->ViewportHeight[location] = height;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1029
out->ViewportStationary[location] = false;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1030
out->ViewportWidthChroma[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1031
out->ViewportHeightChroma[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1032
out->ViewportXStart[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1033
out->ViewportXStartC[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1034
out->ViewportYStart[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1035
out->ViewportYStartC[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1037
out->ScalerEnabled[location] = false;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1038
out->HRatio[location] = 1.0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1039
out->VRatio[location] = 1.0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1040
out->HRatioChroma[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1041
out->VRatioChroma[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1042
out->HTaps[location] = 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1043
out->VTaps[location] = 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1044
out->HTapsChroma[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1045
out->VTapsChroma[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1046
out->SourceScan[location] = dml_rotation_0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1047
out->ScalerRecoutWidth[location] = width;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1049
out->LBBitPerPixel[location] = 57;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1051
out->DynamicMetadataEnable[location] = false;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1053
out->NumberOfCursors[location] = 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1054
out->UseMALLForStaticScreen[location] = dml_use_mall_static_screen_disable;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1055
out->UseMALLForPStateChange[location] = dml_use_mall_pstate_change_disable;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1057
out->DETSizeOverride[location] = 256;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1059
out->ScalerEnabled[location] = false;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1062
static void populate_dml_plane_cfg_from_plane_state(struct dml_plane_cfg_st *out, unsigned int location,
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1068
out->CursorBPP[location] = dml_cur_32bit;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1069
out->CursorWidth[location] = 256;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1071
out->GPUVMMinPageSizeKBytes[location] = soc->gpuvm_min_page_size_kbytes;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1073
out->ViewportWidth[location] = scaler_data->viewport.width;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1074
out->ViewportHeight[location] = scaler_data->viewport.height;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1075
out->ViewportWidthChroma[location] = scaler_data->viewport_c.width;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1076
out->ViewportHeightChroma[location] = scaler_data->viewport_c.height;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1077
out->ViewportXStart[location] = scaler_data->viewport.x;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1078
out->ViewportYStart[location] = scaler_data->viewport.y;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1079
out->ViewportXStartC[location] = scaler_data->viewport_c.x;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1080
out->ViewportYStartC[location] = scaler_data->viewport_c.y;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1081
out->ViewportStationary[location] = false;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1083
out->ScalerEnabled[location] = scaler_data->ratios.horz.value != dc_fixpt_one.value ||
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1093
out->LBBitPerPixel[location] = 57;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1095
if (out->ScalerEnabled[location] == false) {
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1096
out->HRatio[location] = 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1097
out->HRatioChroma[location] = 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1098
out->VRatio[location] = 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1099
out->VRatioChroma[location] = 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1102
out->HRatio[location] = (dml_float_t)scaler_data->ratios.horz.value / (1ULL << 32);
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1103
out->HRatioChroma[location] = (dml_float_t)scaler_data->ratios.horz_c.value / (1ULL << 32);
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1104
out->VRatio[location] = (dml_float_t)scaler_data->ratios.vert.value / (1ULL << 32);
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1105
out->VRatioChroma[location] = (dml_float_t)scaler_data->ratios.vert_c.value / (1ULL << 32);
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1109
out->HTaps[location] = 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1110
out->HTapsChroma[location] = 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1112
out->HTaps[location] = scaler_data->taps.h_taps;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1113
out->HTapsChroma[location] = scaler_data->taps.h_taps_c;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1116
out->VTaps[location] = 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1117
out->VTapsChroma[location] = 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1119
out->VTaps[location] = scaler_data->taps.v_taps;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1120
out->VTapsChroma[location] = scaler_data->taps.v_taps_c;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1123
out->SourceScan[location] = (enum dml_rotation_angle)in->rotation;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1124
out->ScalerRecoutWidth[location] = in->dst_rect.width;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1126
out->DynamicMetadataEnable[location] = false;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1127
out->DynamicMetadataLinesBeforeActiveRequired[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1128
out->DynamicMetadataTransmittedBytes[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1130
out->NumberOfCursors[location] = 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1137
int location = -1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1141
location = i;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1146
return location;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1178
int location = -1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1187
location = i;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1192
return location;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1230
unsigned int location, const struct dc_stream_state *in)
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1237
out->WritebackEnable[location] = wb_info->wb_enabled;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1238
out->ActiveWritebacksPerSurface[location] = wb_info->dwb_params.cnv_params.src_width;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1239
out->WritebackDestinationWidth[location] = wb_info->dwb_params.dest_width;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1240
out->WritebackDestinationHeight[location] = wb_info->dwb_params.dest_height;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1242
out->WritebackSourceWidth[location] = wb_info->dwb_params.cnv_params.crop_en ?
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1246
out->WritebackSourceHeight[location] = wb_info->dwb_params.cnv_params.crop_en ?
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1250
out->WritebackHTaps[location] = wb_info->dwb_params.scaler_taps.h_taps > 0 ?
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1252
out->WritebackVTaps[location] = wb_info->dwb_params.scaler_taps.v_taps > 0 ?
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1255
out->WritebackHRatio[location] = wb_info->dwb_params.cnv_params.crop_en ?
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
1260
out->WritebackVRatio[location] = wb_info->dwb_params.cnv_params.crop_en ?
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
755
static void populate_dml_timing_cfg_from_stream_state(struct dml_timing_cfg_st *out, unsigned int location, const struct dc_stream_state *in)
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
759
out->HActive[location] = in->timing.h_addressable + in->timing.h_border_left + in->timing.h_border_right;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
760
out->VActive[location] = in->timing.v_addressable + in->timing.v_border_bottom + in->timing.v_border_top;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
761
out->RefreshRate[location] = ((in->timing.pix_clk_100hz * 100) / in->timing.h_total) / in->timing.v_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
762
out->VFrontPorch[location] = in->timing.v_front_porch;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
763
out->PixelClock[location] = in->timing.pix_clk_100hz / 10000.00;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
765
out->PixelClock[location] *= 2;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
766
out->HTotal[location] = in->timing.h_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
767
out->VTotal[location] = in->timing.v_total;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
768
out->Interlace[location] = in->timing.flags.INTERLACE;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
770
out->HBlankEnd[location] = hblank_start
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
775
out->VBlankEnd[location] = vblank_start
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
779
out->DRRDisplay[location] = false;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
782
static void populate_dml_output_cfg_from_stream_state(struct dml_output_cfg_st *out, unsigned int location,
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
787
out->DSCEnable[location] = (enum dml_dsc_enable)in->timing.flags.DSC;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
788
out->OutputLinkDPLanes[location] = 4; // As per code in dcn20_resource.c
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
789
out->DSCInputBitPerComponent[location] = 12; // As per code in dcn20_resource.c
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
790
out->DSCSlices[location] = in->timing.dsc_cfg.num_slices_h;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
795
out->OutputEncoder[location] = dml_dp;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
796
if (location < MAX_HPO_DP2_ENCODERS && dml2->v20.scratch.hpo_stream_to_link_encoder_mapping[location] != -1)
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
797
out->OutputEncoder[dml2->v20.scratch.hpo_stream_to_link_encoder_mapping[location]] = dml_dp2p0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
800
out->OutputEncoder[location] = dml_edp;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
805
out->OutputEncoder[location] = dml_hdmi;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
808
out->OutputEncoder[location] = dml_dp;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
844
out->OutputFormat[location] = dml_444;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
845
out->OutputBpp[location] = (dml_float_t)output_bpc * 3;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
848
out->OutputFormat[location] = dml_420;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
849
out->OutputBpp[location] = (output_bpc * 3.0) / 2;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
853
out->OutputFormat[location] = dml_n422;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
855
out->OutputFormat[location] = dml_s422;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
856
out->OutputBpp[location] = (dml_float_t)output_bpc * 2;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
859
out->OutputFormat[location] = dml_444;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
860
out->OutputBpp[location] = (dml_float_t)output_bpc * 3;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
865
out->OutputBpp[location] = in->timing.dsc_cfg.bits_per_pixel / 16.0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
869
out->OutputMultistreamEn[location] = false;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
883
out->OutputLinkDPRate[location] = dml_dp_rate_na;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
887
out->PixelClockBackEnd[location] = in->timing.pix_clk_100hz / 10000.00;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
889
out->AudioSampleLayout[location] = in->audio_info.modes->sample_size;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
890
out->AudioSampleRate[location] = in->audio_info.modes->max_bit_rate;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
892
out->OutputDisabled[location] = true;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
895
static void populate_dummy_dml_surface_cfg(struct dml_surface_cfg_st *out, unsigned int location, const struct dc_stream_state *in)
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
897
out->SurfaceWidthY[location] = in->timing.h_addressable;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
898
out->SurfaceHeightY[location] = in->timing.v_addressable;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
899
out->SurfaceWidthC[location] = in->timing.h_addressable;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
900
out->SurfaceHeightC[location] = in->timing.v_addressable;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
901
out->PitchY[location] = ((out->SurfaceWidthY[location] + 127) / 128) * 128;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
902
out->PitchC[location] = 1;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
903
out->DCCEnable[location] = false;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
904
out->DCCMetaPitchY[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
905
out->DCCMetaPitchC[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
906
out->DCCRateLuma[location] = 1.0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
907
out->DCCRateChroma[location] = 1.0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
908
out->DCCFractionOfZeroSizeRequestsLuma[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
909
out->DCCFractionOfZeroSizeRequestsChroma[location] = 0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
910
out->SurfaceTiling[location] = dml_sw_64kb_r_x;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
911
out->SourcePixelFormat[location] = dml_444_32;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
914
static void populate_dml_surface_cfg_from_plane_state(enum dml_project_id dml2_project, struct dml_surface_cfg_st *out, unsigned int location, const struct dc_plane_state *in)
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
916
out->PitchY[location] = in->plane_size.surface_pitch;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
917
out->SurfaceHeightY[location] = in->plane_size.surface_size.height;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
918
out->SurfaceWidthY[location] = in->plane_size.surface_size.width;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
919
out->SurfaceHeightC[location] = in->plane_size.chroma_size.height;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
920
out->SurfaceWidthC[location] = in->plane_size.chroma_size.width;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
921
out->PitchC[location] = in->plane_size.chroma_pitch;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
922
out->DCCEnable[location] = in->dcc.enable;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
923
out->DCCMetaPitchY[location] = in->dcc.meta_pitch;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
924
out->DCCMetaPitchC[location] = in->dcc.meta_pitch_c;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
925
out->DCCRateLuma[location] = 1.0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
926
out->DCCRateChroma[location] = 1.0;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
927
out->DCCFractionOfZeroSizeRequestsLuma[location] = in->dcc.independent_64b_blks;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
928
out->DCCFractionOfZeroSizeRequestsChroma[location] = in->dcc.independent_64b_blks_c;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
932
out->SurfaceTiling[location] = (enum dml_swizzle_mode)in->tiling_info.gfx9.swizzle;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
941
out->SurfaceTiling[location] = dml_sw_64kb_r_x;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
944
out->SurfaceTiling[location] = dml_sw_linear;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
952
out->SourcePixelFormat[location] = dml_420_8;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
956
out->SourcePixelFormat[location] = dml_420_10;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
962
out->SourcePixelFormat[location] = dml_444_64;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
966
out->SourcePixelFormat[location] = dml_444_16;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
969
out->SourcePixelFormat[location] = dml_444_8;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
972
out->SourcePixelFormat[location] = dml_rgbe_alpha;
drivers/gpu/drm/amd/display/dc/dml2_0/dml2_translation_helper.c
975
out->SourcePixelFormat[location] = dml_444_32;
drivers/gpu/drm/amd/display/dc/inc/hw/mpc.h
1027
void (*set_movable_cm_location)(struct mpc *mpc, enum mpcc_movable_cm_location location, int mpcc_id);
drivers/gpu/drm/amd/display/dc/mpc/dcn401/dcn401_mpc.c
50
void mpc401_set_movable_cm_location(struct mpc *mpc, enum mpcc_movable_cm_location location, int mpcc_id)
drivers/gpu/drm/amd/display/dc/mpc/dcn401/dcn401_mpc.c
54
switch (location) {
drivers/gpu/drm/amd/display/dc/mpc/dcn401/dcn401_mpc.h
207
void mpc401_set_movable_cm_location(struct mpc *mpc, enum mpcc_movable_cm_location location, int mpcc_id);
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
1820
drm_printf(p, " - location: %d\n", block->location);
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.c
923
A7XX_SP_READ_SEL_LOCATION(block->location) |
drivers/gpu/drm/msm/adreno/a6xx_gpu_state.h
601
u32 location;
drivers/gpu/drm/nouveau/dispnv04/crtc.c
486
if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP && digital)
drivers/gpu/drm/nouveau/dispnv04/dfp.c
158
if (dcb->type != DCB_OUTPUT_TMDS || dcb->location == DCB_LOC_ON_CHIP)
drivers/gpu/drm/nouveau/dispnv04/dfp.c
210
if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP)
drivers/gpu/drm/nouveau/dispnv04/dfp.c
262
if (nv_encoder->dcb->location == DCB_LOC_ON_CHIP)
drivers/gpu/drm/nouveau/dispnv04/dfp.c
342
if (nv_encoder->dcb->location != DCB_LOC_ON_CHIP &&
drivers/gpu/drm/nouveau/dispnv04/dfp.c
719
entry->location != DCB_LOC_ON_CHIP)
drivers/gpu/drm/nouveau/dispnv04/disp.c
267
if (dcbent->location == DCB_LOC_ON_CHIP)
drivers/gpu/drm/nouveau/dispnv50/crc.c
440
if (dcbe->location != DCB_LOC_ON_CHIP)
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/conn.h
90
u8 location;
drivers/gpu/drm/nouveau/include/nvkm/subdev/bios/dcb.h
25
uint8_t location;
drivers/gpu/drm/nouveau/nouveau_bios.c
1391
entry->location = !DCB_LOC_ON_CHIP; /* ie OFF CHIP */
drivers/gpu/drm/nouveau/nouveau_bios.c
1407
entry->location = (conn >> 20) & 0x3;
drivers/gpu/drm/nouveau/nouveau_bios.c
1536
entry->hasht = (entry->extdev << 8) | (entry->location << 4) |
drivers/gpu/drm/nouveau/nouveau_bios.c
1573
entry->location = (conn & 0x01e00000) >> 21;
drivers/gpu/drm/nouveau/nouveau_bios.c
1621
jent->location == ient->location &&
drivers/gpu/drm/nouveau/nouveau_bios.c
1812
entry->location == DCB_LOC_ON_CHIP)
drivers/gpu/drm/nouveau/nouveau_bios.c
645
dcbent->location != DCB_LOC_ON_CHIP)
drivers/gpu/drm/nouveau/nouveau_connector.c
1065
if (dcb->location != DCB_LOC_ON_CHIP ||
drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.c
57
info->type, info->location, info->hpd, info->dp,
drivers/gpu/drm/nouveau/nvkm/engine/disp/conn.h
26
_conn->index, _conn->info.location, _conn->info.type, ##a); \
drivers/gpu/drm/nouveau/nvkm/engine/disp/dp.c
651
if (dcbE->location == 0)
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
394
outp->info.type, outp->info.location, outp->info.or,
drivers/gpu/drm/nouveau/nvkm/engine/disp/outp.c
64
switch (outp->info.location) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
130
if (outp->dp.aux && !outp->info.location) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/uconn.c
143
if (!outp->info.location && !nvkm_connector_is_dp_dms(conn->info.type))
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
616
if (!outp->info.location) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
631
if (!outp->info.location) {
drivers/gpu/drm/nouveau/nvkm/engine/disp/uoutp.c
650
if (outp->info.location)
drivers/gpu/drm/nouveau/nvkm/subdev/bios/conn.c
81
info->location = nvbios_rd08(bios, data + 0x01) & 0x0f;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c
111
return (outp->extdev << 8) | (outp->location << 4) | outp->type;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c
130
outp->location = (conn & 0x00300000) >> 20;
drivers/gpu/drm/nouveau/nvkm/subdev/bios/dcb.c
182
if (outp->location != 0)
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1316
locn = ctrl->location;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/disp.c
1331
dcbE.location = locn;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvrm/disp.h
81
NvU32 location;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvrm/disp.h
95
NvU32 location;
drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r570/nvrm/disp.h
44
NvU32 location;
drivers/gpu/drm/nouveau/nvkm/subdev/i2c/base.c
351
if (!dcbE.location)
drivers/gpu/drm/tegra/riscv.c
44
#define READ_PROP(name, location) \
drivers/gpu/drm/tegra/riscv.c
45
err = of_property_read_u32(np, name, location); \
drivers/gpu/drm/vboxvideo/hgsmi_base.c
18
int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location)
drivers/gpu/drm/vboxvideo/hgsmi_base.c
27
p->buf_location = location;
drivers/gpu/drm/vboxvideo/vboxvideo_guest.h
30
int hgsmi_report_flags_location(struct gen_pool *ctx, u32 location);
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c
181
ssize_t location; \
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c
187
location = size - spill + diff_offs - 1; \
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c
188
return round_down(location, granularity); \
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c
201
location = size - to_copy + diff_offs - sizeof(_type); \
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c
202
if (location < 0 || granularity == sizeof(_type)) \
drivers/gpu/drm/vmwgfx/vmwgfx_blit.c
203
return location; \
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
1216
reloc->location = ptr;
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3765
reloc->location->offset += bo->resource->start << PAGE_SHIFT;
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3766
reloc->location->gmrId = SVGA_GMR_FRAMEBUFFER;
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
3769
reloc->location->gmrId = bo->resource->start;
drivers/gpu/drm/vmwgfx/vmwgfx_execbuf.c
54
SVGAGuestPtr *location;
drivers/hwmon/asus_wmi_sensors.c
150
int location;
drivers/hwmon/asus_wmi_sensors.c
319
s->location = location_obj.integer.value;
drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c
288
loc = state->resp->info.location;
drivers/md/dm-era-target.c
1094
dm_block_t location;
drivers/md/dm-era-target.c
1131
location = dm_block_location(clone);
drivers/md/dm-era-target.c
1134
return dm_sm_dec_block(md->sm, location);
drivers/md/dm-vdo/block-map.c
2596
struct data_location location =
drivers/md/dm-vdo/block-map.c
2599
if (!vdo_is_valid_location(&location)) {
drivers/md/dm-vdo/block-map.c
2606
if (!vdo_is_mapped_location(&location))
drivers/md/dm-vdo/block-map.c
2617
int result = cursor->parent->entry_callback(location.pbn,
drivers/md/dm-vdo/block-map.c
2634
vdo_submit_metadata_vio(&cursor->vio->vio, location.pbn,
drivers/md/dm-vdo/encodings.h
835
static inline bool vdo_is_mapped_location(const struct data_location *location)
drivers/md/dm-vdo/encodings.h
837
return (location->state != VDO_MAPPING_STATE_UNMAPPED);
drivers/md/dm-vdo/encodings.h
840
static inline bool vdo_is_valid_location(const struct data_location *location)
drivers/md/dm-vdo/encodings.h
842
if (location->pbn == VDO_ZERO_BLOCK)
drivers/md/dm-vdo/encodings.h
843
return !vdo_is_state_compressed(location->state);
drivers/md/dm-vdo/encodings.h
845
return vdo_is_mapped_location(location);
drivers/md/dm-vdo/indexer/index-session.c
167
if (request->location == UDS_LOCATION_IN_OPEN_CHAPTER)
drivers/md/dm-vdo/indexer/index-session.c
169
else if (request->location == UDS_LOCATION_IN_DENSE)
drivers/md/dm-vdo/indexer/index-session.c
171
else if (request->location == UDS_LOCATION_IN_SPARSE)
drivers/md/dm-vdo/indexer/index.c
323
request->location = new_location;
drivers/md/dm-vdo/indexer/index.c
334
request->location = UDS_LOCATION_IN_OPEN_CHAPTER;
drivers/md/dm-vdo/indexer/index.c
336
request->location = UDS_LOCATION_IN_SPARSE;
drivers/md/dm-vdo/indexer/index.c
338
request->location = UDS_LOCATION_IN_DENSE;
drivers/md/dm-vdo/indexer/index.c
366
if (request->location == UDS_LOCATION_RECORD_PAGE_LOOKUP) {
drivers/md/dm-vdo/indexer/index.c
369
} else if (request->location == UDS_LOCATION_UNAVAILABLE) {
drivers/md/dm-vdo/indexer/index.c
469
if (request->location == UDS_LOCATION_RECORD_PAGE_LOOKUP) {
drivers/md/dm-vdo/indexer/index.c
471
} else if (request->location == UDS_LOCATION_UNAVAILABLE) {
drivers/md/dm-vdo/indexer/index.c
570
if (request->location == UDS_LOCATION_IN_OPEN_CHAPTER)
drivers/md/dm-vdo/indexer/indexer.h
267
enum uds_index_region location;
drivers/md/dm-vdo/indexer/volume.c
510
enum uds_index_region location;
drivers/md/dm-vdo/indexer/volume.c
517
location = UDS_LOCATION_RECORD_PAGE_LOOKUP;
drivers/md/dm-vdo/indexer/volume.c
519
location = UDS_LOCATION_UNAVAILABLE;
drivers/md/dm-vdo/indexer/volume.c
529
location = UDS_LOCATION_UNAVAILABLE;
drivers/md/dm-vdo/indexer/volume.c
531
location = UDS_LOCATION_INDEX_PAGE_LOOKUP;
drivers/md/dm-vdo/indexer/volume.c
536
request->location = location;
drivers/md/dm-vdo/indexer/volume.c
980
if (request->location == UDS_LOCATION_INDEX_PAGE_LOOKUP) {
drivers/md/md-bitmap.c
2685
__ATTR(location, S_IRUGO|S_IWUSR, location_show, location_store);
drivers/md/persistent-data/dm-btree-remove.c
562
__le64 location = cpu_to_le64(dm_block_location(shadow_current(s)));
drivers/md/persistent-data/dm-btree-remove.c
565
&location, sizeof(__le64));
drivers/md/persistent-data/dm-btree-remove.c
656
__le64 location = cpu_to_le64(dm_block_location(shadow_current(s)));
drivers/md/persistent-data/dm-btree-remove.c
659
&location, sizeof(__le64));
drivers/md/persistent-data/dm-btree.c
1112
__le64 location = cpu_to_le64(dm_block_location(shadow_current(s)));
drivers/md/persistent-data/dm-btree.c
1114
__dm_bless_for_disk(&location);
drivers/md/persistent-data/dm-btree.c
1116
&location, sizeof(__le64));
drivers/md/persistent-data/dm-btree.c
1176
__le64 location = cpu_to_le64(dm_block_location(shadow_current(s)));
drivers/md/persistent-data/dm-btree.c
1178
__dm_bless_for_disk(&location);
drivers/md/persistent-data/dm-btree.c
1180
&location, sizeof(__le64));
drivers/md/persistent-data/dm-btree.c
660
__le64 location;
drivers/md/persistent-data/dm-btree.c
681
location = cpu_to_le64(dm_block_location(right));
drivers/md/persistent-data/dm-btree.c
682
__dm_bless_for_disk(&location);
drivers/md/persistent-data/dm-btree.c
684
le64_to_cpu(rn->keys[0]), &location);
drivers/md/persistent-data/dm-btree.c
744
__le64 location;
drivers/md/persistent-data/dm-btree.c
780
location = cpu_to_le64(dm_block_location(middle));
drivers/md/persistent-data/dm-btree.c
781
__dm_bless_for_disk(&location);
drivers/md/persistent-data/dm-btree.c
783
le64_to_cpu(mn->keys[0]), &location);
drivers/md/raid5-cache.c
1811
le64_to_cpu(payload->location), 0,
drivers/md/raid5-cache.c
2121
conf, le64_to_cpu(payload->location), 0, &dd,
drivers/md/raid5-cache.c
2123
: le64_to_cpu(payload->location);
drivers/md/raid5-cache.c
2377
payload->location = cpu_to_le64(
drivers/md/raid5-cache.c
820
sector_t location,
drivers/md/raid5-cache.c
832
payload->location = cpu_to_le64(location);
drivers/misc/mei/vsc-fw-loader.c
200
u32 location;
drivers/misc/mei/vsc-fw-loader.c
438
frag->location = le32_to_cpu(img->image_location[i]);
drivers/misc/mei/vsc-fw-loader.c
515
frag->location = le32_to_cpu(img->image_location[i]);
drivers/misc/mei/vsc-fw-loader.c
518
if (!frag->location) {
drivers/misc/mei/vsc-fw-loader.c
520
frag->location =
drivers/misc/mei/vsc-fw-loader.c
521
ALIGN(last_frag->location + last_frag->size, SZ_4K);
drivers/misc/mei/vsc-fw-loader.c
568
frag->location = VSC_SKU_CFG_LOCATION;
drivers/misc/mei/vsc-fw-loader.c
604
cmd->data.dl_start.img_loc = cpu_to_le32(frag->location);
drivers/misc/mei/vsc-fw-loader.c
652
cmd->data.dl_set.payload[index++] = cpu_to_le32(frag->location);
drivers/misc/mei/vsc-fw-loader.c
672
cmd->data.dl_start.img_loc = cpu_to_le32(frag->location);
drivers/net/dsa/bcm_sf2_cfp.c
1069
rule = bcm_sf2_cfp_rule_find(priv, port, nfc->fs.location);
drivers/net/dsa/bcm_sf2_cfp.c
1160
ret = bcm_sf2_cfp_rule_del(priv, port, nfc->fs.location);
drivers/net/dsa/bcm_sf2_cfp.c
1179
bcm_sf2_cfp_rule_del(priv, port, nfc->fs.location);
drivers/net/dsa/bcm_sf2_cfp.c
1221
bcm_sf2_cfp_rule_del(priv, rule->port, rule->fs.location);
drivers/net/dsa/bcm_sf2_cfp.c
1244
rule->fs.location);
drivers/net/dsa/bcm_sf2_cfp.c
384
if (fs->location == RX_CLS_LOC_ANY)
drivers/net/dsa/bcm_sf2_cfp.c
388
rule_index = fs->location;
drivers/net/dsa/bcm_sf2_cfp.c
473
fs->location = rule_index;
drivers/net/dsa/bcm_sf2_cfp.c
568
int port, u32 location)
drivers/net/dsa/bcm_sf2_cfp.c
573
if (rule->port == port && rule->fs.location == location)
drivers/net/dsa/bcm_sf2_cfp.c
682
if (fs->location == RX_CLS_LOC_ANY)
drivers/net/dsa/bcm_sf2_cfp.c
686
rule_index[1] = fs->location;
drivers/net/dsa/bcm_sf2_cfp.c
835
fs->location = rule_index[1];
drivers/net/dsa/bcm_sf2_cfp.c
937
if (fs->location != RX_CLS_LOC_ANY &&
drivers/net/dsa/bcm_sf2_cfp.c
938
fs->location > bcm_sf2_cfp_rule_size(priv))
drivers/net/dsa/bcm_sf2_cfp.c
945
if (fs->location != RX_CLS_LOC_ANY &&
drivers/net/dsa/bcm_sf2_cfp.c
946
test_bit(fs->location, priv->cfp.used))
drivers/net/dsa/mv88e6xxx/chip.c
2367
if (fs->location != RX_CLS_LOC_ANY)
drivers/net/dsa/mv88e6xxx/chip.c
2411
fs->location = 0;
drivers/net/dsa/mv88e6xxx/chip.c
2412
err = idr_alloc_u32(&chip->policies, policy, &fs->location, 0xffffffff,
drivers/net/dsa/mv88e6xxx/chip.c
2428
idr_remove(&chip->policies, fs->location);
drivers/net/dsa/mv88e6xxx/chip.c
2459
policy = idr_find(&chip->policies, fs->location);
drivers/net/dsa/mv88e6xxx/chip.c
2499
policy = idr_remove(&chip->policies, fs->location);
drivers/net/ethernet/3com/3c574_cs.c
221
static int mdio_read(unsigned int ioaddr, int phy_id, int location);
drivers/net/ethernet/3com/3c574_cs.c
222
static void mdio_write(unsigned int ioaddr, int phy_id, int location,
drivers/net/ethernet/3com/3c574_cs.c
541
static int mdio_read(unsigned int ioaddr, int phy_id, int location)
drivers/net/ethernet/3com/3c574_cs.c
544
int read_cmd = (0xf6 << 10) | (phy_id << 5) | location;
drivers/net/ethernet/3com/3c574_cs.c
566
static void mdio_write(unsigned int ioaddr, int phy_id, int location, int value)
drivers/net/ethernet/3com/3c574_cs.c
568
int write_cmd = 0x50020000 | (phy_id << 23) | (location << 18) | value;
drivers/net/ethernet/3com/3c59x.c
3154
static int mdio_read(struct net_device *dev, int phy_id, int location)
drivers/net/ethernet/3com/3c59x.c
3158
int read_cmd = (0xf6 << 10) | (phy_id << 5) | location;
drivers/net/ethernet/3com/3c59x.c
3192
static void mdio_write(struct net_device *dev, int phy_id, int location, int value)
drivers/net/ethernet/3com/3c59x.c
3195
int write_cmd = 0x50020000 | (phy_id << 23) | (location << 18) | value;
drivers/net/ethernet/3com/3c59x.c
759
static int mdio_read(struct net_device *dev, int phy_id, int location);
drivers/net/ethernet/3com/3c59x.c
760
static void mdio_write(struct net_device *vp, int phy_id, int location, int value);
drivers/net/ethernet/8390/pcnet_cs.c
768
static int read_eeprom(unsigned int ioaddr, int location)
drivers/net/ethernet/8390/pcnet_cs.c
772
int read_cmd = location | (EE_READ_CMD << 8);
drivers/net/ethernet/8390/pcnet_cs.c
802
static void write_asic(unsigned int ioaddr, int location, short asic_data)
drivers/net/ethernet/8390/pcnet_cs.c
807
int read_cmd = location | (EE_READ_CMD << 8);
drivers/net/ethernet/8390/pcnet_cs.c
809
asic_data |= read_eeprom(ioaddr, location);
drivers/net/ethernet/adaptec/starfire.c
559
static int mdio_read(struct net_device *dev, int phy_id, int location);
drivers/net/ethernet/adaptec/starfire.c
560
static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
drivers/net/ethernet/adaptec/starfire.c
826
static int mdio_read(struct net_device *dev, int phy_id, int location)
drivers/net/ethernet/adaptec/starfire.c
829
void __iomem *mdio_addr = np->base + MIICtrl + (phy_id<<7) + (location<<2);
drivers/net/ethernet/adaptec/starfire.c
843
static void mdio_write(struct net_device *dev, int phy_id, int location, int value)
drivers/net/ethernet/adaptec/starfire.c
846
void __iomem *mdio_addr = np->base + MIICtrl + (phy_id<<7) + (location<<2);
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
113
fsp->location != AQ_RX_FIRST_LOC_FL3L4 + 4 &&
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
114
fsp->location != AQ_RX_FIRST_LOC_FL3L4) {
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
132
if (fsp->location < AQ_RX_FIRST_LOC_FETHERT ||
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
133
fsp->location > last_location) {
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
158
if (fsp->location < AQ_RX_FIRST_LOC_FVLANID ||
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
159
fsp->location > AQ_RX_LAST_LOC_FVLANID) {
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
272
} else if (fsp->location > AQ_RX_MAX_RXNFC_LOC) {
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
275
fsp->location);
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
316
data->location = fsp->location - AQ_RX_FIRST_LOC_FETHERT;
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
406
int location = fsp->location - AQ_RX_FIRST_LOC_FVLANID;
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
409
memset(&aq_vlans[location], 0, sizeof(aq_vlans[location]));
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
422
aq_vlans[location].location = location;
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
423
aq_vlans[location].vlan_id = be16_to_cpu(fsp->h_ext.vlan_tci)
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
425
aq_vlans[location].queue = fsp->ring_cookie & 0x1FU;
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
426
aq_vlans[location].enable = 1U;
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
446
cmd.fs.location = rule->aq_fsp.location;
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
479
data->location = HW_ATL_GET_REG_LOCATION_FL3L4(fsp->location);
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
483
rx_fltrs->fl3l4.active_ipv4 &= ~BIT(data->location);
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
486
~BIT((data->location) / 4);
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
517
rx_fltrs->fl3l4.active_ipv4 |= BIT(data->location);
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
521
rx_fltrs->fl3l4.active_ipv6 |= BIT((data->location) / 4);
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
580
if (unlikely(aq_rx_fltr->aq_fsp.location < AQ_RX_FIRST_LOC_FL3L4 ||
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
581
aq_rx_fltr->aq_fsp.location > AQ_RX_LAST_LOC_FL3L4 ||
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
640
if (rule->aq_fsp.location >= index)
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
645
if (rule && rule->aq_fsp.location == index) {
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
699
err = aq_update_table_filters(aq_nic, aq_rx_fltr, fsp->location, NULL);
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
727
if (rule->aq_fsp.location == cmd->fs.location)
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
731
if (rule && rule->aq_fsp.location == cmd->fs.location) {
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
750
if (fsp->location <= rule->aq_fsp.location)
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
753
if (unlikely(!rule || fsp->location != rule->aq_fsp.location))
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
76
if (rule->aq_fsp.location == fsp->location)
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
776
rule_locs[count++] = rule->aq_fsp.location;
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
95
if (fsp->location < AQ_RX_FIRST_LOC_FL3L4 ||
drivers/net/ethernet/aquantia/atlantic/aq_filters.c
96
fsp->location > last_location) {
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
1512
u8 location = 0xFF;
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
1518
location = AQ_RX_LAST_LOC_FETHERT - AQ_RX_FIRST_LOC_FETHERT -
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
1528
location = n_bit;
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
1534
return location;
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
1538
u32 location)
drivers/net/ethernet/aquantia/atlantic/aq_nic.c
1546
self->aq_hw_rx_fltrs.fl3l4.active_ipv4 &= ~BIT(location);
drivers/net/ethernet/aquantia/atlantic/aq_nic.h
215
u32 location);
drivers/net/ethernet/aquantia/atlantic/aq_ptp.c
1225
aq_ptp->eth_type_filter.location =
drivers/net/ethernet/aquantia/atlantic/aq_ptp.c
1227
aq_ptp->udp_filter.location =
drivers/net/ethernet/aquantia/atlantic/aq_ptp.c
1258
aq_ptp->eth_type_filter.location);
drivers/net/ethernet/aquantia/atlantic/aq_ptp.c
1260
aq_ptp->udp_filter.location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
893
u8 location = data->location;
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
896
hw_atl_rpfl3l4_cmd_clear(self, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
897
hw_atl_rpf_l4_spd_set(self, 0U, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
898
hw_atl_rpf_l4_dpd_set(self, 0U, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
899
hw_atl_rpfl3l4_ipv4_src_addr_clear(self, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
900
hw_atl_rpfl3l4_ipv4_dest_addr_clear(self, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
905
hw_atl_rpfl3l4_cmd_clear(self, location + i);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
906
hw_atl_rpf_l4_spd_set(self, 0U, location + i);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
907
hw_atl_rpf_l4_dpd_set(self, 0U, location + i);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
909
hw_atl_rpfl3l4_ipv6_src_addr_clear(self, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
910
hw_atl_rpfl3l4_ipv6_dest_addr_clear(self, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
919
u8 location = data->location;
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
926
location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
929
location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
933
location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
936
location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
940
hw_atl_rpf_l4_dpd_set(self, data->p_dst, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
941
hw_atl_rpf_l4_spd_set(self, data->p_src, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_a0.c
942
hw_atl_rpfl3l4_cmd_set(self, location, data->cmd);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1434
u8 location = data->location;
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1437
hw_atl_rpfl3l4_cmd_clear(self, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1438
hw_atl_rpf_l4_spd_set(self, 0U, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1439
hw_atl_rpf_l4_dpd_set(self, 0U, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1440
hw_atl_rpfl3l4_ipv4_src_addr_clear(self, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1441
hw_atl_rpfl3l4_ipv4_dest_addr_clear(self, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1446
hw_atl_rpfl3l4_cmd_clear(self, location + i);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1447
hw_atl_rpf_l4_spd_set(self, 0U, location + i);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1448
hw_atl_rpf_l4_dpd_set(self, 0U, location + i);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1450
hw_atl_rpfl3l4_ipv6_src_addr_clear(self, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1451
hw_atl_rpfl3l4_ipv6_dest_addr_clear(self, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1460
u8 location = data->location;
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1468
location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1471
location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1475
location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1478
location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1485
hw_atl_rpf_l4_dpd_set(self, data->p_dst, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1486
hw_atl_rpf_l4_spd_set(self, data->p_src, location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1489
hw_atl_rpfl3l4_cmd_set(self, location, data->cmd);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1497
hw_atl_rpf_etht_flr_en_set(self, 1U, data->location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1498
hw_atl_rpf_etht_flr_set(self, data->ethertype, data->location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1501
data->location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1505
data->location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1508
hw_atl_rpf_etht_flr_act_set(self, 0U, data->location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1509
hw_atl_rpf_etht_rx_queue_en_set(self, 0U, data->location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1511
hw_atl_rpf_etht_flr_act_set(self, 1U, data->location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1512
hw_atl_rpf_etht_rx_queue_en_set(self, 1U, data->location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1513
hw_atl_rpf_etht_rx_queue_set(self, data->queue, data->location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1522
hw_atl_rpf_etht_flr_en_set(self, 0U, data->location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1523
hw_atl_rpf_etht_flr_set(self, 0U, data->location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_b0.c
1524
hw_atl_rpf_etht_user_priority_en_set(self, 0U, data->location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1728
void hw_atl_rpfl3l4_ipv4_dest_addr_clear(struct aq_hw_s *aq_hw, u8 location)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1730
aq_hw_write_reg(aq_hw, HW_ATL_RPF_L3_DSTA_ADR(location), 0U);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1733
void hw_atl_rpfl3l4_ipv4_src_addr_clear(struct aq_hw_s *aq_hw, u8 location)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1735
aq_hw_write_reg(aq_hw, HW_ATL_RPF_L3_SRCA_ADR(location), 0U);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1738
void hw_atl_rpfl3l4_cmd_clear(struct aq_hw_s *aq_hw, u8 location)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1740
aq_hw_write_reg(aq_hw, HW_ATL_RPF_L3_REG_CTRL_ADR(location), 0U);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1743
void hw_atl_rpfl3l4_ipv6_dest_addr_clear(struct aq_hw_s *aq_hw, u8 location)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1749
HW_ATL_RPF_L3_DSTA_ADR(location + i),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1753
void hw_atl_rpfl3l4_ipv6_src_addr_clear(struct aq_hw_s *aq_hw, u8 location)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1759
HW_ATL_RPF_L3_SRCA_ADR(location + i),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1763
void hw_atl_rpfl3l4_ipv4_dest_addr_set(struct aq_hw_s *aq_hw, u8 location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1766
aq_hw_write_reg(aq_hw, HW_ATL_RPF_L3_DSTA_ADR(location),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1770
void hw_atl_rpfl3l4_ipv4_src_addr_set(struct aq_hw_s *aq_hw, u8 location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1774
HW_ATL_RPF_L3_SRCA_ADR(location),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1778
void hw_atl_rpfl3l4_cmd_set(struct aq_hw_s *aq_hw, u8 location, u32 cmd)
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1780
aq_hw_write_reg(aq_hw, HW_ATL_RPF_L3_REG_CTRL_ADR(location), cmd);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1783
void hw_atl_rpfl3l4_ipv6_src_addr_set(struct aq_hw_s *aq_hw, u8 location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1790
HW_ATL_RPF_L3_SRCA_ADR(location + i),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1794
void hw_atl_rpfl3l4_ipv6_dest_addr_set(struct aq_hw_s *aq_hw, u8 location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.c
1801
HW_ATL_RPF_L3_DSTA_ADR(location + i),
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
810
void hw_atl_rpfl3l4_ipv4_dest_addr_clear(struct aq_hw_s *aq_hw, u8 location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
813
void hw_atl_rpfl3l4_ipv4_src_addr_clear(struct aq_hw_s *aq_hw, u8 location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
816
void hw_atl_rpfl3l4_cmd_clear(struct aq_hw_s *aq_hw, u8 location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
819
void hw_atl_rpfl3l4_ipv6_dest_addr_clear(struct aq_hw_s *aq_hw, u8 location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
822
void hw_atl_rpfl3l4_ipv6_src_addr_clear(struct aq_hw_s *aq_hw, u8 location);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
825
void hw_atl_rpfl3l4_ipv4_dest_addr_set(struct aq_hw_s *aq_hw, u8 location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
829
void hw_atl_rpfl3l4_ipv4_src_addr_set(struct aq_hw_s *aq_hw, u8 location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
833
void hw_atl_rpfl3l4_cmd_set(struct aq_hw_s *aq_hw, u8 location, u32 cmd);
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
836
void hw_atl_rpfl3l4_ipv6_src_addr_set(struct aq_hw_s *aq_hw, u8 location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_llh.h
840
void hw_atl_rpfl3l4_ipv6_dest_addr_set(struct aq_hw_s *aq_hw, u8 location,
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h
358
u8 location;
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h
367
u8 location;
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h
375
u8 location;
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h
408
#define HW_ATL_GET_REG_LOCATION_FL3L4(location) \
drivers/net/ethernet/aquantia/atlantic/hw_atl/hw_atl_utils.h
409
((location) - AQ_RX_FIRST_LOC_FL3L4)
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c
19
static int hw_atl2_act_rslvr_table_set(struct aq_hw_s *self, u8 location,
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c
464
static int hw_atl2_act_rslvr_table_set(struct aq_hw_s *self, u8 location,
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2.c
476
hw_atl2_rpf_act_rslvr_record_set(self, location, tag, mask,
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c
145
void hw_atl2_rpf_act_rslvr_record_set(struct aq_hw_s *aq_hw, u8 location,
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c
149
HW_ATL2_RPF_ACT_RSLVR_REQ_TAG_ADR(location),
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c
152
HW_ATL2_RPF_ACT_RSLVR_TAG_MASK_ADR(location),
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.c
155
HW_ATL2_RPF_ACT_RSLVR_ACTN_ADR(location),
drivers/net/ethernet/aquantia/atlantic/hw_atl2/hw_atl2_llh.h
66
void hw_atl2_rpf_act_rslvr_record_set(struct aq_hw_s *aq_hw, u8 location,
drivers/net/ethernet/broadcom/asp2/bcmasp.c
567
rule_locs[j++] = priv->net_filters[i].fs.location;
drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c
230
u32 loc = cmd->fs.location;
drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c
261
cmd->fs.location = nfilter->hw_index;
drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c
275
nfilter = bcmasp_netfilt_get_init(intf, cmd->fs.location, false, false);
drivers/net/ethernet/broadcom/asp2/bcmasp_ethtool.c
288
nfilter = bcmasp_netfilt_get_init(intf, cmd->fs.location, false, false);
drivers/net/ethernet/broadcom/b44.c
282
static int b44_mdio_read_mii(struct net_device *dev, int phy_id, int location)
drivers/net/ethernet/broadcom/b44.c
286
int rc = __b44_readphy(bp, phy_id, location, &val);
drivers/net/ethernet/broadcom/b44.c
292
static void b44_mdio_write_mii(struct net_device *dev, int phy_id, int location,
drivers/net/ethernet/broadcom/b44.c
296
__b44_writephy(bp, phy_id, location, val);
drivers/net/ethernet/broadcom/b44.c
299
static int b44_mdio_read_phylib(struct mii_bus *bus, int phy_id, int location)
drivers/net/ethernet/broadcom/b44.c
303
int rc = __b44_readphy(bp, phy_id, location, &val);
drivers/net/ethernet/broadcom/b44.c
309
static int b44_mdio_write_phylib(struct mii_bus *bus, int phy_id, int location,
drivers/net/ethernet/broadcom/b44.c
313
return __b44_writephy(bp, phy_id, location, val);
drivers/net/ethernet/broadcom/bcm63xx_enet.c
1948
int ext, int phy_id, int location)
drivers/net/ethernet/broadcom/bcm63xx_enet.c
1958
(location << ENETSW_MDIOC_REG_SHIFT);
drivers/net/ethernet/broadcom/bcm63xx_enet.c
1971
int ext, int phy_id, int location,
drivers/net/ethernet/broadcom/bcm63xx_enet.c
1981
(location << ENETSW_MDIOC_REG_SHIFT);
drivers/net/ethernet/broadcom/bcm63xx_enet.c
2407
int location)
drivers/net/ethernet/broadcom/bcm63xx_enet.c
2414
phy_id, location);
drivers/net/ethernet/broadcom/bcm63xx_enet.c
2421
int location,
drivers/net/ethernet/broadcom/bcm63xx_enet.c
2428
phy_id, location, val);
drivers/net/ethernet/broadcom/bcmsysport.c
2120
u64 location)
drivers/net/ethernet/broadcom/bcmsysport.c
2129
if (reg == location)
drivers/net/ethernet/broadcom/bcmsysport.c
2142
index = bcm_sysport_rule_find(priv, nfc->fs.location);
drivers/net/ethernet/broadcom/bcmsysport.c
2160
if (nfc->fs.location > RXCHK_BRCM_TAG_CID_MASK)
drivers/net/ethernet/broadcom/bcmsysport.c
2177
reg |= nfc->fs.location << RXCHK_BRCM_TAG_CID_SHIFT;
drivers/net/ethernet/broadcom/bcmsysport.c
2181
priv->filters_loc[index] = nfc->fs.location;
drivers/net/ethernet/broadcom/bcmsysport.c
2188
u64 location)
drivers/net/ethernet/broadcom/bcmsysport.c
2193
index = bcm_sysport_rule_find(priv, location);
drivers/net/ethernet/broadcom/bcmsysport.c
2234
ret = bcm_sysport_rule_del(priv, nfc->fs.location);
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
1106
if (fs->location >= bp->max_fltr)
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
1112
fs->location);
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
1142
fs->location);
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
1308
fs->location = fltr->base.sw_id;
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
1491
fs->location = new_fltr->base.sw_id;
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
1512
if (fs->location != RX_CLS_LOC_ANY)
drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c
1548
u32 id = fs->location;
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1430
if (cmd->fs.location >= MAX_NUM_OF_FS_RULES &&
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1431
cmd->fs.location != RX_CLS_LOC_ANY) {
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1433
cmd->fs.location);
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1515
if (cmd->fs.location == RX_CLS_LOC_ANY) {
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1517
cmd->fs.location = loc_rule->fs.location;
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1527
cmd->fs.location = i;
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1532
cmd->fs.location = RX_CLS_LOC_ANY;
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1536
loc_rule = &priv->rxnfc_rules[cmd->fs.location];
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1539
bcmgenet_hfb_disable_filter(priv, cmd->fs.location + 1);
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1542
bcmgenet_hfb_clear_filter(priv, cmd->fs.location + 1);
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1562
if (cmd->fs.location >= MAX_NUM_OF_FS_RULES)
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1565
rule = &priv->rxnfc_rules[cmd->fs.location];
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1572
bcmgenet_hfb_disable_filter(priv, cmd->fs.location + 1);
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1575
bcmgenet_hfb_clear_filter(priv, cmd->fs.location + 1);
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1657
err = bcmgenet_get_flow(dev, cmd, cmd->fs.location);
drivers/net/ethernet/broadcom/genet/bcmgenet.c
1662
rule_locs[i++] = rule->fs.location;
drivers/net/ethernet/broadcom/genet/bcmgenet.c
4189
rule->fs.location + 1);
drivers/net/ethernet/broadcom/genet/bcmgenet.c
4279
hfb_enable |= 1 << rule->fs.location;
drivers/net/ethernet/broadcom/genet/bcmgenet.c
607
f = fs->location + 1;
drivers/net/ethernet/cadence/macb_main.c
3711
if (fs->location >= num_t2_scr)
drivers/net/ethernet/cadence/macb_main.c
3714
t2_scr = gem_readl_n(bp, SCRT2, fs->location);
drivers/net/ethernet/cadence/macb_main.c
3737
gem_writel_n(bp, SCRT2, fs->location, t2_scr);
drivers/net/ethernet/cadence/macb_main.c
3744
uint16_t index = fs->location;
drivers/net/ethernet/cadence/macb_main.c
3841
fs->flow_type, (int)fs->ring_cookie, fs->location,
drivers/net/ethernet/cadence/macb_main.c
3851
if (item->fs.location > newfs->fs.location) {
drivers/net/ethernet/cadence/macb_main.c
3855
} else if (item->fs.location == fs->location) {
drivers/net/ethernet/cadence/macb_main.c
3857
fs->location);
drivers/net/ethernet/cadence/macb_main.c
3890
if (item->fs.location == cmd->fs.location) {
drivers/net/ethernet/cadence/macb_main.c
3895
fs->flow_type, (int)fs->ring_cookie, fs->location,
drivers/net/ethernet/cadence/macb_main.c
3901
gem_writel_n(bp, SCRT2, fs->location, 0);
drivers/net/ethernet/cadence/macb_main.c
3922
if (item->fs.location == cmd->fs.location) {
drivers/net/ethernet/cadence/macb_main.c
3940
rule_locs[cnt] = item->fs.location;
drivers/net/ethernet/cadence/macb_main.c
3991
if ((cmd->fs.location >= bp->max_tuples)
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1808
return cxgb4_ntuple_get_filter(dev, info, info->fs.location);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1839
if (cmd->fs.location >= adapter->ethtool_filters->nentries) {
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1848
if (!test_bit(cmd->fs.location, filter_info->bmap))
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1851
filter_id = filter_info->loc_array[cmd->fs.location];
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1863
clear_bit(cmd->fs.location, filter_info->bmap);
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1889
if (cmd->fs.location >= adapter->ethtool_filters->nentries) {
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1896
if (test_bit(cmd->fs.location,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1911
ret = cxgb4_flow_rule_replace(netdev, flow->rule, cmd->fs.location,
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1923
filter_info->loc_array[cmd->fs.location] = tid;
drivers/net/ethernet/chelsio/cxgb4/cxgb4_ethtool.c
1924
set_bit(cmd->fs.location, filter_info->bmap);
drivers/net/ethernet/cisco/enic/enic_ethtool.c
500
n = htbl_fltr_search(enic, (u16)fsp->location);
drivers/net/ethernet/dec/tulip/de2104x.c
1764
static unsigned tulip_read_eeprom(void __iomem *regs, int location,
drivers/net/ethernet/dec/tulip/de2104x.c
1770
int read_cmd = location | (EE_READ_CMD << addr_len);
drivers/net/ethernet/dec/tulip/eeprom.c
340
int tulip_read_eeprom(struct net_device *dev, int location, int addr_len)
drivers/net/ethernet/dec/tulip/eeprom.c
346
int read_cmd = location | (EE_READ_CMD << addr_len);
drivers/net/ethernet/dec/tulip/eeprom.c
351
if (location > (1 << addr_len) - 1)
drivers/net/ethernet/dec/tulip/media.c
109
void tulip_mdio_write(struct net_device *dev, int phy_id, int location, int val)
drivers/net/ethernet/dec/tulip/media.c
113
int cmd = (0x5002 << 16) | ((phy_id & 0x1f) << 23) | (location<<18) | (val & 0xffff);
drivers/net/ethernet/dec/tulip/media.c
118
if (location & ~0x1f)
drivers/net/ethernet/dec/tulip/media.c
122
if (comet_miireg2offset[location])
drivers/net/ethernet/dec/tulip/media.c
123
iowrite32(val, ioaddr + comet_miireg2offset[location]);
drivers/net/ethernet/dec/tulip/media.c
47
int tulip_mdio_read(struct net_device *dev, int phy_id, int location)
drivers/net/ethernet/dec/tulip/media.c
51
int read_cmd = (0xf6 << 10) | ((phy_id & 0x1f) << 5) | location;
drivers/net/ethernet/dec/tulip/media.c
57
if (location & ~0x1f)
drivers/net/ethernet/dec/tulip/media.c
61
if (comet_miireg2offset[location])
drivers/net/ethernet/dec/tulip/media.c
62
return ioread32(ioaddr + comet_miireg2offset[location]);
drivers/net/ethernet/dec/tulip/media.c
68
iowrite32(0x60020000 + (phy_id<<23) + (location<<18), ioaddr + 0xA0);
drivers/net/ethernet/dec/tulip/tulip.h
484
int tulip_read_eeprom(struct net_device *dev, int location, int addr_len);
drivers/net/ethernet/dec/tulip/tulip.h
497
int tulip_mdio_read(struct net_device *dev, int phy_id, int location);
drivers/net/ethernet/dec/tulip/tulip.h
498
void tulip_mdio_write(struct net_device *dev, int phy_id, int location, int value);
drivers/net/ethernet/dec/tulip/winbond-840.c
315
static int eeprom_read(void __iomem *ioaddr, int location);
drivers/net/ethernet/dec/tulip/winbond-840.c
316
static int mdio_read(struct net_device *dev, int phy_id, int location);
drivers/net/ethernet/dec/tulip/winbond-840.c
317
static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
drivers/net/ethernet/dec/tulip/winbond-840.c
490
static int eeprom_read(void __iomem *addr, int location)
drivers/net/ethernet/dec/tulip/winbond-840.c
495
int read_cmd = location | EE_ReadCmd;
drivers/net/ethernet/dec/tulip/winbond-840.c
554
static int mdio_read(struct net_device *dev, int phy_id, int location)
drivers/net/ethernet/dec/tulip/winbond-840.c
558
int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
drivers/net/ethernet/dec/tulip/winbond-840.c
584
static void mdio_write(struct net_device *dev, int phy_id, int location, int value)
drivers/net/ethernet/dec/tulip/winbond-840.c
588
int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value;
drivers/net/ethernet/dec/tulip/winbond-840.c
591
if (location == 4 && phy_id == np->phys[0])
drivers/net/ethernet/dlink/sundance.c
421
static int eeprom_read(void __iomem *ioaddr, int location);
drivers/net/ethernet/dlink/sundance.c
422
static int mdio_read(struct net_device *dev, int phy_id, int location);
drivers/net/ethernet/dlink/sundance.c
423
static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
drivers/net/ethernet/dlink/sundance.c
717
static int eeprom_read(void __iomem *ioaddr, int location)
drivers/net/ethernet/dlink/sundance.c
720
iowrite16(0x0200 | (location & 0xff), ioaddr + EECtrl);
drivers/net/ethernet/dlink/sundance.c
761
static int mdio_read(struct net_device *dev, int phy_id, int location)
drivers/net/ethernet/dlink/sundance.c
765
int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
drivers/net/ethernet/dlink/sundance.c
791
static void mdio_write(struct net_device *dev, int phy_id, int location, int value)
drivers/net/ethernet/dlink/sundance.c
795
int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location<<18) | value;
drivers/net/ethernet/engleder/tsnep.h
59
int location;
drivers/net/ethernet/engleder/tsnep_rxnfc.c
104
rule = tsnep_get_rule(adapter, fsp->location);
drivers/net/ethernet/engleder/tsnep_rxnfc.c
142
rule_locs[count] = rule->location;
drivers/net/ethernet/engleder/tsnep_rxnfc.c
156
int location = 0;
drivers/net/ethernet/engleder/tsnep_rxnfc.c
159
if (tmp->location == location)
drivers/net/ethernet/engleder/tsnep_rxnfc.c
160
location++;
drivers/net/ethernet/engleder/tsnep_rxnfc.c
162
return location;
drivers/net/ethernet/engleder/tsnep_rxnfc.c
165
if (location >= adapter->rxnfc_max)
drivers/net/ethernet/engleder/tsnep_rxnfc.c
168
return location;
drivers/net/ethernet/engleder/tsnep_rxnfc.c
177
rule->location = fsp->location;
drivers/net/ethernet/engleder/tsnep_rxnfc.c
19
TSNEP_RX_ASSIGN_ETHER_TYPE_OFFSET * rule->location;
drivers/net/ethernet/engleder/tsnep_rxnfc.c
191
tmp->location != rule->location) {
drivers/net/ethernet/engleder/tsnep_rxnfc.c
227
if (fsp->location != RX_CLS_LOC_ANY &&
drivers/net/ethernet/engleder/tsnep_rxnfc.c
228
fsp->location >= adapter->rxnfc_max) {
drivers/net/ethernet/engleder/tsnep_rxnfc.c
24
TSNEP_RX_ASSIGN_OFFSET * rule->location;
drivers/net/ethernet/engleder/tsnep_rxnfc.c
240
if (fsp->location == RX_CLS_LOC_ANY) {
drivers/net/ethernet/engleder/tsnep_rxnfc.c
244
fsp->location = retval;
drivers/net/ethernet/engleder/tsnep_rxnfc.c
253
old_rule = tsnep_get_rule(adapter, fsp->location);
drivers/net/ethernet/engleder/tsnep_rxnfc.c
278
rule = tsnep_get_rule(adapter, fsp->location);
drivers/net/ethernet/engleder/tsnep_rxnfc.c
34
TSNEP_RX_ASSIGN_OFFSET * rule->location;
drivers/net/ethernet/engleder/tsnep_rxnfc.c
39
int location)
drivers/net/ethernet/engleder/tsnep_rxnfc.c
44
if (rule->location == location)
drivers/net/ethernet/engleder/tsnep_rxnfc.c
46
if (rule->location > location)
drivers/net/ethernet/engleder/tsnep_rxnfc.c
62
if (cur->location >= rule->location)
drivers/net/ethernet/fealnx.c
417
static int mdio_read(struct net_device *dev, int phy_id, int location);
drivers/net/ethernet/fealnx.c
418
static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
642
i, fs->location, &rule_cfg,
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
673
unsigned int location)
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
682
if (location >= dpaa2_eth_fs_count(priv))
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
685
rule = &priv->cls_rules[location];
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
735
if (rxnfc->fs.location >= max_rules)
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
737
rxnfc->fs.location = array_index_nospec(rxnfc->fs.location,
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
739
if (!priv->cls_rules[rxnfc->fs.location].in_use)
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
741
rxnfc->fs = priv->cls_rules[rxnfc->fs.location].fs;
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
768
err = dpaa2_eth_update_cls_rule(net_dev, &rxnfc->fs, rxnfc->fs.location);
drivers/net/ethernet/freescale/dpaa2/dpaa2-ethtool.c
771
err = dpaa2_eth_update_cls_rule(net_dev, NULL, rxnfc->fs.location);
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
633
return enetc_set_fs_entry(si, &rfse, fs->location);
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
660
if (rxnfc->fs.location >= priv->si->num_fs_entries)
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
664
rxnfc->fs = priv->cls_rules[rxnfc->fs.location].fs;
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
695
if (rxnfc->fs.location >= priv->si->num_fs_entries)
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
705
priv->cls_rules[rxnfc->fs.location].fs = rxnfc->fs;
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
706
priv->cls_rules[rxnfc->fs.location].used = 1;
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
709
if (rxnfc->fs.location >= priv->si->num_fs_entries)
drivers/net/ethernet/freescale/enetc/enetc_ethtool.c
715
priv->cls_rules[rxnfc->fs.location].used = 0;
drivers/net/ethernet/freescale/fs_enet/mii-fec.c
51
static int fs_enet_fec_mii_read(struct mii_bus *bus , int phy_id, int location)
drivers/net/ethernet/freescale/fs_enet/mii-fec.c
60
out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_read(location));
drivers/net/ethernet/freescale/fs_enet/mii-fec.c
74
static int fs_enet_fec_mii_write(struct mii_bus *bus, int phy_id, int location, u16 val)
drivers/net/ethernet/freescale/fs_enet/mii-fec.c
84
out_be32(&fecp->fec_mii_data, (phy_id << 23) | mk_mii_write(location, val));
drivers/net/ethernet/freescale/gianfar_ethtool.c
1314
if (comp->fs.location > flow->location) {
drivers/net/ethernet/freescale/gianfar_ethtool.c
1318
if (comp->fs.location == flow->location) {
drivers/net/ethernet/freescale/gianfar_ethtool.c
1321
flow->location);
drivers/net/ethernet/freescale/gianfar_ethtool.c
1353
if (comp->fs.location == loc) {
drivers/net/ethernet/freescale/gianfar_ethtool.c
1372
if (comp->fs.location == cmd->fs.location) {
drivers/net/ethernet/freescale/gianfar_ethtool.c
1392
rule_locs[i] = comp->fs.location;
drivers/net/ethernet/freescale/gianfar_ethtool.c
1416
cmd->fs.location >= MAX_FILER_IDX) {
drivers/net/ethernet/freescale/gianfar_ethtool.c
1423
ret = gfar_del_cls(priv, cmd->fs.location);
drivers/net/ethernet/freescale/ucc_geth.h
1056
enum ucc_geth_enet_address_recognition_location location; /* location in
drivers/net/ethernet/google/gve/gve.h
71
(GVE_ADMINQ_BUFFER_SIZE / sizeof(((struct gve_adminq_queried_flow_rule *)0)->location))
drivers/net/ethernet/google/gve/gve.h
770
u32 location;
drivers/net/ethernet/google/gve/gve_adminq.c
1343
.location = cpu_to_be32(loc),
drivers/net/ethernet/google/gve/gve_adminq.c
1354
.location = cpu_to_be32(loc),
drivers/net/ethernet/google/gve/gve_adminq.h
525
__be32 location;
drivers/net/ethernet/google/gve/gve_adminq.h
538
__be32 location;
drivers/net/ethernet/google/gve/gve_flow_rule.c
209
fsp->location < be32_to_cpu(rules_cache[0].location) ||
drivers/net/ethernet/google/gve/gve_flow_rule.c
210
fsp->location > be32_to_cpu(rules_cache[*cache_num - 1].location)) {
drivers/net/ethernet/google/gve/gve_flow_rule.c
211
err = gve_adminq_query_flow_rules(priv, GVE_FLOW_RULE_QUERY_RULES, fsp->location);
drivers/net/ethernet/google/gve/gve_flow_rule.c
219
if (fsp->location == be32_to_cpu(rules_cache[i].location)) {
drivers/net/ethernet/google/gve/gve_flow_rule.c
280
err = gve_adminq_add_flow_rule(priv, rule, fsp->location);
drivers/net/ethernet/google/gve/gve_flow_rule.c
285
dev_err(&priv->pdev->dev, "Failed to add the flow rule: %u", fsp->location);
drivers/net/ethernet/google/gve/gve_flow_rule.c
297
return gve_adminq_del_flow_rule(priv, fsp->location);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_debugfs.c
2023
rule_locs[cnt] = rule->location;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5190
static void hclge_fd_inc_rule_cnt(struct hclge_dev *hdev, u16 location)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5192
if (!test_bit(location, hdev->fd_bmap)) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5193
set_bit(location, hdev->fd_bmap);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5198
static void hclge_fd_dec_rule_cnt(struct hclge_dev *hdev, u16 location)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5200
if (test_bit(location, hdev->fd_bmap)) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5201
clear_bit(location, hdev->fd_bmap);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5237
hclge_fd_dec_rule_cnt(hdev, old_rule->location);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5253
hclge_fd_dec_rule_cnt(hdev, old_rule->location);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5263
u16 location,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5270
if (rule->location == location)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5272
else if (rule->location > location)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5372
fd_rule = hclge_find_fd_rule(hlist, rule->location, &parent);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5424
enum HCLGE_FD_NODE_STATE state, u16 location,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5430
fd_rule = hclge_find_fd_rule(hlist, location, &parent);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5447
location);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5455
hclge_fd_inc_rule_cnt(hdev, new_rule->location);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5870
ret = hclge_fd_tcam_config(hdev, stage, false, rule->location, key_y,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5879
ret = hclge_fd_tcam_config(hdev, stage, true, rule->location, key_x,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5896
ad_data.ad_id = rule->location;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
5924
ad_data.rule_id = rule->location;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6198
if (fs->location >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1]) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6201
fs->location,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6495
hclge_update_fd_list(hdev, rule->state, rule->location, rule);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6596
rule->location = fs->location;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6623
if (fs->location >= hdev->fd_cfg.rule_num[HCLGE_FD_STAGE_1])
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6628
!test_bit(fs->location, hdev->fd_bmap)) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6630
"Delete fail, rule %u is inexistent\n", fs->location);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6635
ret = hclge_fd_tcam_config(hdev, HCLGE_FD_STAGE_1, true, fs->location,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6640
hclge_update_fd_list(hdev, HCLGE_FD_DELETED, fs->location, NULL);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6652
u16 location;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6656
for_each_set_bit(location, hdev->fd_bmap,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6658
hclge_fd_tcam_config(hdev, HCLGE_FD_STAGE_1, true, location,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6898
u16 location)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6904
if (rule->location == location)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6906
else if (rule->location > location)
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
6943
rule = hclge_get_fd_rule(hdev, fs->location);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7015
rule_locs[cnt] = rule->location;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7133
rule->location = bit_id;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7137
hclge_update_fd_list(hdev, rule->state, rule->location, rule);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7146
return rule->location;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7165
rule->arfs.flow_id, rule->location)) {
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7190
rule->location, NULL, false);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7195
hclge_fd_dec_rule_cnt(hdev, rule->location);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7425
rule->location = cls_flower->common.prio - 1;
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7470
ret = hclge_fd_tcam_config(hdev, HCLGE_FD_STAGE_1, true, rule->location,
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7477
hclge_update_fd_list(hdev, HCLGE_FD_TO_DEL, rule->location, NULL);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7483
hclge_update_fd_list(hdev, HCLGE_FD_DELETED, rule->location, NULL);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7510
rule->location, NULL, false);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c
7513
hclge_fd_dec_rule_cnt(hdev, rule->location);
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.h
763
u16 location;
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
3368
if (fsp->location <= rule->fd_id)
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
3372
if (!rule || fsp->location != rule->fd_id)
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
3887
ret = i40e_update_ethtool_fdir_entry(vsi, NULL, fsp->location, cmd);
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
4837
if (fsp->location >= (pf->hw.func_caps.fd_filters_best_effort +
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
4874
input->fd_id = fsp->location;
drivers/net/ethernet/intel/i40e/i40e_ethtool.c
4931
i40e_update_ethtool_fdir_entry(vsi, input, fsp->location, NULL);
drivers/net/ethernet/intel/iavf/iavf_ethtool.c
1117
fltr->loc = fsp->location;
drivers/net/ethernet/intel/iavf/iavf_ethtool.c
1268
if (iavf_find_fdir_fltr(adapter, false, fsp->location)) {
drivers/net/ethernet/intel/iavf/iavf_ethtool.c
1303
return iavf_fdir_del_fltr(adapter, false, fsp->location);
drivers/net/ethernet/intel/iavf/iavf_ethtool.c
928
rule = iavf_find_fdir_fltr(adapter, false, fsp->location);
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
131
rule = ice_fdir_find_fltr_by_idx(hw, fsp->location);
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
133
if (!rule || fsp->location != rule->fltr_id) {
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
1781
val = ice_fdir_update_list_entry(pf, NULL, fsp->location);
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
1865
input->fltr_id = fsp->location;
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
2019
if (fsp->location >= max_location) {
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
2027
if (!ice_fdir_find_fltr_by_idx(hw, fsp->location) &&
drivers/net/ethernet/intel/ice/ice_ethtool_fdir.c
2058
ret = ice_fdir_update_list_entry(pf, input, fsp->location);
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
216
if (f->fs.location == fsp->location) {
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
221
if (f->fs.location > fsp->location)
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
233
info->rule_id = cpu_to_le32(fsp->location);
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
317
info->rule_id = cpu_to_le32(fsp->location);
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
332
if (f->fs.location == fsp->location) {
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
60
if (f->fs.location == cmd->fs.location) {
drivers/net/ethernet/intel/idpf/idpf_ethtool.c
79
rule_locs[cnt] = f->fs.location;
drivers/net/ethernet/intel/igb/e1000_82575.c
2846
data->sensor[0].location = 0x1;
drivers/net/ethernet/intel/igb/e1000_82575.c
2877
data->sensor[i].location = sensor_location;
drivers/net/ethernet/intel/igb/e1000_hw.h
344
u8 location;
drivers/net/ethernet/intel/igb/igb_ethtool.c
2437
if (fsp->location <= rule->sw_idx)
drivers/net/ethernet/intel/igb/igb_ethtool.c
2441
if (!rule || fsp->location != rule->sw_idx)
drivers/net/ethernet/intel/igb/igb_ethtool.c
2914
if (fsp->location >= IGB_MAX_RXNFC_FILTERS) {
drivers/net/ethernet/intel/igb/igb_ethtool.c
2955
input->sw_idx = fsp->location;
drivers/net/ethernet/intel/igb/igb_ethtool.c
2997
err = igb_update_ethtool_nfc_entry(adapter, NULL, fsp->location);
drivers/net/ethernet/intel/igb/igb_hwmon.c
182
if (adapter->hw.mac.thermal_sensor_data.sensor[i].location == 0)
drivers/net/ethernet/intel/igb/igb_hwmon.c
30
igb_attr->sensor->location);
drivers/net/ethernet/intel/igc/igc.h
658
u32 location;
drivers/net/ethernet/intel/igc/igc.h
766
u32 location);
drivers/net/ethernet/intel/igc/igc_ethtool.c
1039
rule_locs[cnt] = rule->location;
drivers/net/ethernet/intel/igc/igc_ethtool.c
1231
rule->location = fsp->location;
drivers/net/ethernet/intel/igc/igc_ethtool.c
1340
tmp->location != rule->location) {
drivers/net/ethernet/intel/igc/igc_ethtool.c
1393
if (fsp->location >= IGC_MAX_RXNFC_RULES) {
drivers/net/ethernet/intel/igc/igc_ethtool.c
1410
old_rule = igc_get_nfc_rule(adapter, fsp->location);
drivers/net/ethernet/intel/igc/igc_ethtool.c
1436
rule = igc_get_nfc_rule(adapter, fsp->location);
drivers/net/ethernet/intel/igc/igc_ethtool.c
973
rule = igc_get_nfc_rule(adapter, fsp->location);
drivers/net/ethernet/intel/igc/igc_main.c
3980
u32 location)
drivers/net/ethernet/intel/igc/igc_main.c
3985
if (rule->location == location)
drivers/net/ethernet/intel/igc/igc_main.c
3987
if (rule->location > location)
drivers/net/ethernet/intel/igc/igc_main.c
4047
if (cur->location >= rule->location)
drivers/net/ethernet/intel/ixgbe/ixgbe_common.c
4029
data->sensor[i].location = sensor_location;
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
2679
if (fsp->location <= rule->sw_idx)
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
2683
if (!rule || fsp->location != rule->sw_idx)
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
2979
if (fsp->location >= ((1024 << adapter->fdir_pballoc) - 2)) {
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
2991
input->sw_idx = fsp->location;
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
3078
err = ixgbe_update_ethtool_fdir_entry(adapter, NULL, fsp->location);
drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c
175
if (adapter->hw.mac.thermal_sensor_data.sensor[i].location == 0)
drivers/net/ethernet/intel/ixgbe/ixgbe_sysfs.c
24
ixgbe_attr->sensor->location);
drivers/net/ethernet/intel/ixgbe/ixgbe_type.h
212
u8 location;
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c
1347
if (rxnfc->fs.location >= MVPP2_N_RFS_ENTRIES_PER_FLOW)
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c
1350
efs = port->rfs_rules[rxnfc->fs.location];
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c
1367
if (info->fs.location >= MVPP2_N_RFS_ENTRIES_PER_FLOW)
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c
1399
efs->rule.loc = info->fs.location;
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c
1437
if (info->fs.location >= MVPP2_N_RFS_ENTRIES_PER_FLOW)
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c
1440
efs = port->rfs_rules[info->fs.location];
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c
1450
port->rfs_rules[info->fs.location] = NULL;
drivers/net/ethernet/marvell/mvpp2/mvpp2_cls.c
1574
rxnfc->fs.location);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1127
struct ethtool_rxnfc *nfc, u32 location);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h
1132
int otx2_remove_flow(struct otx2_nic *pfvf, u32 location);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
762
ret = otx2_get_flow(pfvf, nfc, nfc->fs.location);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_ethtool.c
788
ret = otx2_remove_flow(pfvf, nfc->fs.location);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1072
pf_mac->location = pfvf->flow_cfg->max_flows;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1075
pf_mac->flow_spec.location = pf_mac->location;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1129
if (fsp->location >= otx2_get_maxflows(flow_cfg))
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1132
flow = otx2_find_flow(pfvf, fsp->location);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1137
flow->location = fsp->location;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1138
flow->entry = flow_cfg->flow_ent[flow->location];
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1159
flow->location +
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1175
fsp->location = flow_cfg->max_flows + flow->entry;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1176
flow->flow_spec.location = fsp->location;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1177
flow->location = fsp->location;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1183
if (flow->location >= pfvf->flow_cfg->max_flows) {
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1186
flow->location,
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1267
int otx2_remove_flow(struct otx2_nic *pfvf, u32 location)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1273
if (location >= otx2_get_maxflows(flow_cfg))
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1276
flow = otx2_find_flow(pfvf, location);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1326
err = otx2_remove_flow(pfvf, flow->location);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
1330
flow->location, err);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
18
u32 location;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
457
static struct otx2_flow *otx2_find_flow(struct otx2_nic *pfvf, u32 location)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
462
if (iter->location == location)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
475
if (iter->location > flow->location)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
498
u32 location)
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
502
if (location >= otx2_get_maxflows(pfvf->flow_cfg))
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
506
if (iter->location == location) {
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
520
u32 location = 0;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
526
err = otx2_get_flow(pfvf, nfc, location);
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
528
rule_locs[idx++] = location;
drivers/net/ethernet/marvell/octeontx2/nic/otx2_flows.c
529
location++;
drivers/net/ethernet/mediatek/mtk_eth_soc.c
3079
(fsp->location > 1))
drivers/net/ethernet/mediatek/mtk_eth_soc.c
3082
mac->hwlro_ip[fsp->location] = htonl(fsp->h_u.tcp_ip4_spec.ip4dst);
drivers/net/ethernet/mediatek/mtk_eth_soc.c
3083
hwlro_idx = (mac->id * MTK_MAX_LRO_IP_CNT) + fsp->location;
drivers/net/ethernet/mediatek/mtk_eth_soc.c
3087
mtk_hwlro_val_ipaddr(eth, hwlro_idx, mac->hwlro_ip[fsp->location]);
drivers/net/ethernet/mediatek/mtk_eth_soc.c
3101
if (fsp->location > 1)
drivers/net/ethernet/mediatek/mtk_eth_soc.c
3104
mac->hwlro_ip[fsp->location] = 0;
drivers/net/ethernet/mediatek/mtk_eth_soc.c
3105
hwlro_idx = (mac->id * MTK_MAX_LRO_IP_CNT) + fsp->location;
drivers/net/ethernet/mediatek/mtk_eth_soc.c
3137
if (fsp->location >= ARRAY_SIZE(mac->hwlro_ip))
drivers/net/ethernet/mediatek/mtk_eth_soc.c
3142
fsp->h_u.tcp_ip4_spec.ip4dst = ntohl(mac->hwlro_ip[fsp->location]);
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
1334
if (cmd->fs.location >= MAX_NUM_OF_FS_RULES)
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
1610
rule.priority = MLX4_DOMAIN_ETHTOOL | cmd->fs.location;
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
1636
loc_rule = &priv->ethtool_rules[cmd->fs.location];
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
1641
cmd->fs.location, loc_rule->id);
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
1652
cmd->fs.location);
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
1675
if (cmd->fs.location >= MAX_NUM_OF_FS_RULES)
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
1678
rule = &priv->ethtool_rules[cmd->fs.location];
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
1687
cmd->fs.location, rule->id);
drivers/net/ethernet/mellanox/mlx4/en_ethtool.c
1757
err = mlx4_en_get_flow(dev, cmd, cmd->fs.location);
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
1007
err = mlx5e_ethtool_get_flow(priv, info, info->fs.location);
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
403
if (iter->flow_spec.location > rule->flow_spec.location)
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
523
int location)
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
529
if (iter->flow_spec.location == location)
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
536
int location)
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
540
eth_rule = find_ethtool_rule(priv, location);
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
669
if (fs->location >= MAX_NUM_OF_ETHTOOL_RULES)
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
744
eth_rule = get_ethtool_rule(priv, fs->location);
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
770
mlx5e_ethtool_flow_remove(struct mlx5e_priv *priv, int location)
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
775
if (location >= MAX_NUM_OF_ETHTOOL_RULES)
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
778
eth_rule = find_ethtool_rule(priv, location);
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
791
struct ethtool_rxnfc *info, int location)
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
796
if (location < 0 || location >= MAX_NUM_OF_ETHTOOL_RULES)
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
802
if (eth_rule->flow_spec.location != location)
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
823
int location = 0;
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
829
err = mlx5e_ethtool_get_flow(priv, NULL, location);
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
831
rule_locs[idx++] = location;
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
832
location++;
drivers/net/ethernet/mellanox/mlx5/core/en_fs_ethtool.c
986
err = mlx5e_ethtool_flow_remove(priv, cmd->fs.location);
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
1177
fsp->location = location;
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
1234
if (fsp->location >= FBNIC_RPC_ACT_TBL_NFC_ENTRIES)
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
1237
idx = fsp->location + FBNIC_RPC_ACT_TBL_NFC_OFFSET;
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
646
if (fsp->location >= FBNIC_RPC_ACT_TBL_NFC_ENTRIES)
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
649
idx = fsp->location + FBNIC_RPC_ACT_TBL_NFC_OFFSET;
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
893
int hash_idx, location;
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
899
if (fsp->location != RX_CLS_LOC_ANY)
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
901
location = fbnic_cls_rule_any_loc(fbd);
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
902
if (location < 0)
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
903
return location;
drivers/net/ethernet/meta/fbnic/fbnic_ethtool.c
920
idx = location + FBNIC_RPC_ACT_TBL_NFC_OFFSET;
drivers/net/ethernet/natsemi/natsemi.c
1003
static int eeprom_read(void __iomem *addr, int location)
drivers/net/ethernet/natsemi/natsemi.c
1008
int read_cmd = location | EE_ReadCmd;
drivers/net/ethernet/natsemi/natsemi.c
599
static int eeprom_read(void __iomem *ioaddr, int location);
drivers/net/ethernet/netronome/nfp/bpf/verifier.c
52
unsigned int location = UINT_MAX;
drivers/net/ethernet/netronome/nfp/bpf/verifier.c
78
location = meta->n;
drivers/net/ethernet/netronome/nfp/bpf/verifier.c
80
nfp_prog->adjust_head_location = location;
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
1409
if (cmd->fs.location >= NFP_FS_MAX_ENTRY)
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
1413
if (entry->loc == cmd->fs.location)
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
1416
if (entry->loc > cmd->fs.location)
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
1596
entry->loc = fs->location;
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
1631
if (fs->location >= NFP_FS_MAX_ENTRY)
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
1694
if (entry->loc == fs->location) {
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
1711
if (entry->loc > fs->location)
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
1742
if (!nn->fs.count || cmd->fs.location >= NFP_FS_MAX_ENTRY)
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
1746
if (entry->loc == cmd->fs.location) {
drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c
1756
} else if (entry->loc > cmd->fs.location) {
drivers/net/ethernet/packetengines/hamachi.c
545
static int read_eeprom(void __iomem *ioaddr, int location);
drivers/net/ethernet/packetengines/hamachi.c
546
static int mdio_read(struct net_device *dev, int phy_id, int location);
drivers/net/ethernet/packetengines/hamachi.c
547
static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
drivers/net/ethernet/packetengines/hamachi.c
797
static int read_eeprom(void __iomem *ioaddr, int location)
drivers/net/ethernet/packetengines/hamachi.c
803
writew(location, ioaddr + EEAddr);
drivers/net/ethernet/packetengines/hamachi.c
817
static int mdio_read(struct net_device *dev, int phy_id, int location)
drivers/net/ethernet/packetengines/hamachi.c
827
writew((phy_id<<8) + location, ioaddr + MII_Addr);
drivers/net/ethernet/packetengines/hamachi.c
835
static void mdio_write(struct net_device *dev, int phy_id, int location, int value)
drivers/net/ethernet/packetengines/hamachi.c
845
writew((phy_id<<8) + location, ioaddr + MII_Addr);
drivers/net/ethernet/packetengines/yellowfin.c
341
static int read_eeprom(void __iomem *ioaddr, int location);
drivers/net/ethernet/packetengines/yellowfin.c
342
static int mdio_read(void __iomem *ioaddr, int phy_id, int location);
drivers/net/ethernet/packetengines/yellowfin.c
343
static void mdio_write(void __iomem *ioaddr, int phy_id, int location, int value);
drivers/net/ethernet/packetengines/yellowfin.c
530
static int read_eeprom(void __iomem *ioaddr, int location)
drivers/net/ethernet/packetengines/yellowfin.c
534
iowrite8(location, ioaddr + EEAddr);
drivers/net/ethernet/packetengines/yellowfin.c
535
iowrite8(0x30 | ((location >> 8) & 7), ioaddr + EECtrl);
drivers/net/ethernet/packetengines/yellowfin.c
545
static int mdio_read(void __iomem *ioaddr, int phy_id, int location)
drivers/net/ethernet/packetengines/yellowfin.c
549
iowrite16((phy_id<<8) + location, ioaddr + MII_Addr);
drivers/net/ethernet/packetengines/yellowfin.c
557
static void mdio_write(void __iomem *ioaddr, int phy_id, int location, int value)
drivers/net/ethernet/packetengines/yellowfin.c
561
iowrite16((phy_id<<8) + location, ioaddr + MII_Addr);
drivers/net/ethernet/qlogic/qede/qede_ethtool.c
1351
rc = qede_delete_flow_filter(edev, info->fs.location);
drivers/net/ethernet/qlogic/qede/qede_filter.c
1269
qede_get_arfs_fltr_by_loc(struct hlist_head *head, u64 location)
drivers/net/ethernet/qlogic/qede/qede_filter.c
1274
if (location == fltr->sw_id)
drivers/net/ethernet/qlogic/qede/qede_filter.c
1331
fsp->location);
drivers/net/ethernet/qlogic/qede/qede_filter.c
1334
fsp->location);
drivers/net/ethernet/qlogic/qede/qede_filter.c
1957
__u32 location,
drivers/net/ethernet/qlogic/qede/qede_filter.c
1962
if (location >= QEDE_RFS_MAX_FLTR) {
drivers/net/ethernet/qlogic/qede/qede_filter.c
1968
if (test_bit(location, edev->arfs->arfs_fltr_bmap)) {
drivers/net/ethernet/qlogic/qede/qede_filter.c
2029
fs->location, &extack);
drivers/net/ethernet/qlogic/qede/qede_filter.c
2076
n->sw_id = fsp->location;
drivers/net/ethernet/realtek/8139cp.c
1303
static int mdio_read(struct net_device *dev, int phy_id, int location)
drivers/net/ethernet/realtek/8139cp.c
1307
return location < 8 && mii_2_8139_map[location] ?
drivers/net/ethernet/realtek/8139cp.c
1308
readw(cp->regs + mii_2_8139_map[location]) : 0;
drivers/net/ethernet/realtek/8139cp.c
1312
static void mdio_write(struct net_device *dev, int phy_id, int location,
drivers/net/ethernet/realtek/8139cp.c
1317
if (location == 0) {
drivers/net/ethernet/realtek/8139cp.c
1321
} else if (location < 8 && mii_2_8139_map[location])
drivers/net/ethernet/realtek/8139cp.c
1322
cpw16(mii_2_8139_map[location], value);
drivers/net/ethernet/realtek/8139cp.c
1712
static u16 read_eeprom (void __iomem *ioaddr, int location, int addr_len)
drivers/net/ethernet/realtek/8139cp.c
1717
int read_cmd = location | (EE_READ_CMD << addr_len);
drivers/net/ethernet/realtek/8139cp.c
1737
static void write_eeprom(void __iomem *ioaddr, int location, u16 val,
drivers/net/ethernet/realtek/8139cp.c
1742
int write_cmd = location | (EE_WRITE_CMD << addr_len);
drivers/net/ethernet/realtek/8139too.c
1137
static int read_eeprom(void __iomem *ioaddr, int location, int addr_len)
drivers/net/ethernet/realtek/8139too.c
1141
int read_cmd = location | (EE_READ_CMD << addr_len);
drivers/net/ethernet/realtek/8139too.c
1218
static int mdio_read (struct net_device *dev, int phy_id, int location)
drivers/net/ethernet/realtek/8139too.c
1224
int mii_cmd = (0xf6 << 10) | (phy_id << 5) | location;
drivers/net/ethernet/realtek/8139too.c
1230
return location < 8 && mii_2_8139_map[location] ?
drivers/net/ethernet/realtek/8139too.c
1231
RTL_R16 (mii_2_8139_map[location]) : 0;
drivers/net/ethernet/realtek/8139too.c
1260
static void mdio_write (struct net_device *dev, int phy_id, int location,
drivers/net/ethernet/realtek/8139too.c
1266
int mii_cmd = (0x5002 << 16) | (phy_id << 23) | (location << 18) | value;
drivers/net/ethernet/realtek/8139too.c
1272
if (location == 0) {
drivers/net/ethernet/realtek/8139too.c
1276
} else if (location < 8 && mii_2_8139_map[location])
drivers/net/ethernet/realtek/8139too.c
1277
RTL_W16 (mii_2_8139_map[location], value);
drivers/net/ethernet/realtek/8139too.c
634
static int read_eeprom (void __iomem *ioaddr, int location, int addr_len);
drivers/net/ethernet/realtek/8139too.c
636
static int mdio_read (struct net_device *dev, int phy_id, int location);
drivers/net/ethernet/realtek/8139too.c
637
static void mdio_write (struct net_device *dev, int phy_id, int location,
drivers/net/ethernet/realtek/r8169_main.c
1364
static void rtl_writephy(struct rtl8169_private *tp, int location, int val)
drivers/net/ethernet/realtek/r8169_main.c
1369
r8168dp_2_mdio_write(tp, location, val);
drivers/net/ethernet/realtek/r8169_main.c
1372
r8168g_mdio_write(tp, location, val);
drivers/net/ethernet/realtek/r8169_main.c
1375
r8169_mdio_write(tp, location, val);
drivers/net/ethernet/realtek/r8169_main.c
1380
static int rtl_readphy(struct rtl8169_private *tp, int location)
drivers/net/ethernet/realtek/r8169_main.c
1385
return r8168dp_2_mdio_read(tp, location);
drivers/net/ethernet/realtek/r8169_main.c
1387
return r8168g_mdio_read(tp, location);
drivers/net/ethernet/realtek/r8169_main.c
1389
return r8169_mdio_read(tp, location);
drivers/net/ethernet/sfc/ethtool_common.c
1121
rule->location = rc;
drivers/net/ethernet/sfc/ethtool_common.c
1140
info->fs.location);
drivers/net/ethernet/sfc/ethtool_common.c
655
rule->location, &spec);
drivers/net/ethernet/sfc/ethtool_common.c
933
if (rule->location != RX_CLS_LOC_ANY)
drivers/net/ethernet/sfc/falcon/ethtool.c
1050
if (rule->location != RX_CLS_LOC_ANY)
drivers/net/ethernet/sfc/falcon/ethtool.c
1231
rule->location = rc;
drivers/net/ethernet/sfc/falcon/ethtool.c
1249
info->fs.location);
drivers/net/ethernet/sfc/falcon/ethtool.c
803
rule->location, &spec);
drivers/net/ethernet/sfc/siena/ethtool_common.c
1112
rule->location = rc;
drivers/net/ethernet/sfc/siena/ethtool_common.c
1131
info->fs.location);
drivers/net/ethernet/sfc/siena/ethtool_common.c
656
rule->location, &spec);
drivers/net/ethernet/sfc/siena/ethtool_common.c
924
if (rule->location != RX_CLS_LOC_ANY)
drivers/net/ethernet/sis/sis900.c
216
static u16 read_eeprom(void __iomem *ioaddr, int location);
drivers/net/ethernet/sis/sis900.c
217
static int mdio_read(struct net_device *net_dev, int phy_id, int location);
drivers/net/ethernet/sis/sis900.c
218
static void mdio_write(struct net_device *net_dev, int phy_id, int location, int val);
drivers/net/ethernet/sis/sis900.c
812
static u16 read_eeprom(void __iomem *ioaddr, int location)
drivers/net/ethernet/sis/sis900.c
814
u32 read_cmd = location | EEread;
drivers/net/ethernet/sis/sis900.c
891
static int mdio_read(struct net_device *net_dev, int phy_id, int location)
drivers/net/ethernet/sis/sis900.c
893
int mii_cmd = MIIread|(phy_id<<MIIpmdShift)|(location<<MIIregShift);
drivers/net/ethernet/sis/sis900.c
936
static void mdio_write(struct net_device *net_dev, int phy_id, int location,
drivers/net/ethernet/sis/sis900.c
939
int mii_cmd = MIIwrite|(phy_id<<MIIpmdShift)|(location<<MIIregShift);
drivers/net/ethernet/smsc/epic100.c
283
static int mdio_read(struct net_device *dev, int phy_id, int location);
drivers/net/ethernet/smsc/epic100.c
558
static int read_eeprom(struct epic_private *ep, int location)
drivers/net/ethernet/smsc/epic100.c
563
int read_cmd = location |
drivers/net/ethernet/smsc/epic100.c
594
static int mdio_read(struct net_device *dev, int phy_id, int location)
drivers/net/ethernet/smsc/epic100.c
598
int read_cmd = (phy_id << 9) | (location << 4) | MII_READOP;
drivers/net/ethernet/smsc/epic100.c
607
if (phy_id == 1 && location < 6 &&
drivers/net/ethernet/sun/niu.c
7200
idx = tcam_get_index(np, (u16)nfc->fs.location);
drivers/net/ethernet/sun/niu.c
7205
parent->index, (u16)nfc->fs.location, idx);
drivers/net/ethernet/sun/niu.c
7468
idx = nfc->fs.location;
drivers/net/ethernet/sun/niu.c
7683
ret = niu_del_ethtool_tcam_entry(np, cmd->fs.location);
drivers/net/ethernet/via/via-rhine.c
498
static int mdio_read(struct net_device *dev, int phy_id, int location);
drivers/net/ethernet/via/via-rhine.c
499
static void mdio_write(struct net_device *dev, int phy_id, int location, int value);
drivers/net/ethernet/wangxun/txgbe/txgbe_ethtool.c
121
if (fsp->location <= rule->sw_idx)
drivers/net/ethernet/wangxun/txgbe/txgbe_ethtool.c
125
if (!rule || fsp->location != rule->sw_idx)
drivers/net/ethernet/wangxun/txgbe/txgbe_ethtool.c
388
if (fsp->location >= ((1024 << TXGBE_FDIR_PBALLOC_64K) - 2)) {
drivers/net/ethernet/wangxun/txgbe/txgbe_ethtool.c
400
input->sw_idx = fsp->location;
drivers/net/ethernet/wangxun/txgbe/txgbe_ethtool.c
515
err = txgbe_update_ethtool_fdir_entry(txgbe, NULL, fsp->location);
drivers/net/ethernet/xscale/ixp4xx_eth.c
476
static int ixp4xx_mdio_cmd(struct mii_bus *bus, int phy_id, int location,
drivers/net/ethernet/xscale/ixp4xx_eth.c
490
__raw_writel(((phy_id << 5) | location) & 0xFF,
drivers/net/ethernet/xscale/ixp4xx_eth.c
527
static int ixp4xx_mdio_read(struct mii_bus *bus, int phy_id, int location)
drivers/net/ethernet/xscale/ixp4xx_eth.c
533
ret = ixp4xx_mdio_cmd(bus, phy_id, location, 0, 0);
drivers/net/ethernet/xscale/ixp4xx_eth.c
537
phy_id, location, ret);
drivers/net/ethernet/xscale/ixp4xx_eth.c
542
static int ixp4xx_mdio_write(struct mii_bus *bus, int phy_id, int location,
drivers/net/ethernet/xscale/ixp4xx_eth.c
549
ret = ixp4xx_mdio_cmd(bus, phy_id, location, 1, val);
drivers/net/ethernet/xscale/ixp4xx_eth.c
553
bus->name, phy_id, location, val, ret);
drivers/net/phy/bcm7xxx.c
223
static int __phy_set_clr_bits(struct phy_device *dev, int location,
drivers/net/phy/bcm7xxx.c
228
v = __phy_read(dev, location);
drivers/net/phy/bcm7xxx.c
235
ret = __phy_write(dev, location, v);
drivers/net/phy/bcm7xxx.c
242
static int phy_set_clr_bits(struct phy_device *dev, int location,
drivers/net/phy/bcm7xxx.c
248
ret = __phy_set_clr_bits(dev, location, set_mask, clr_mask);
drivers/net/phy/dp83td510.c
800
int location;
drivers/net/phy/dp83td510.c
813
location = FIELD_GET(DP83TD510E_TDR_PEAK_LOCATION,
drivers/net/phy/dp83td510.c
817
location);
drivers/net/phy/dp83td510.c
847
unsigned int location;
drivers/net/phy/dp83td510.c
868
location = FIELD_GET(DP83TD510E_ALCD_CABLE_LENGTH, ret) * 100;
drivers/net/phy/dp83td510.c
871
location,
drivers/net/phy/dp83tg720.c
403
int location;
drivers/net/phy/dp83tg720.c
415
location = oa_1000bt1_get_tdr_distance(ret);
drivers/net/phy/dp83tg720.c
416
if (location > 0)
drivers/net/phy/dp83tg720.c
419
location);
drivers/net/usb/mcs7830.c
315
int location)
drivers/net/usb/mcs7830.c
318
return mcs7830_read_phy(dev, location);
drivers/net/usb/mcs7830.c
322
int location, int val)
drivers/net/usb/mcs7830.c
325
mcs7830_write_phy(dev, location, val);
drivers/net/wireless/realtek/rtw88/fw.c
1024
u8 location = 0;
drivers/net/wireless/realtek/rtw88/fw.c
1031
location = rsvd_pkt->page;
drivers/net/wireless/realtek/rtw88/fw.c
1034
return location;
drivers/net/wireless/realtek/rtw88/fw.c
1057
u8 location = 0;
drivers/net/wireless/realtek/rtw88/fw.c
1061
location = rtw_get_rsvd_page_location(rtwdev, RSVD_PROBE_RESP);
drivers/net/wireless/realtek/rtw88/fw.c
1062
*(h2c_pkt + 1) = location;
drivers/net/wireless/realtek/rtw88/fw.c
1063
rtw_dbg(rtwdev, RTW_DBG_FW, "RSVD_PROBE_RESP loc: %d\n", location);
drivers/net/wireless/realtek/rtw88/fw.c
1065
location = rtw_get_rsvd_page_location(rtwdev, RSVD_PS_POLL);
drivers/net/wireless/realtek/rtw88/fw.c
1066
*(h2c_pkt + 2) = location;
drivers/net/wireless/realtek/rtw88/fw.c
1067
rtw_dbg(rtwdev, RTW_DBG_FW, "RSVD_PS_POLL loc: %d\n", location);
drivers/net/wireless/realtek/rtw88/fw.c
1069
location = rtw_get_rsvd_page_location(rtwdev, RSVD_NULL);
drivers/net/wireless/realtek/rtw88/fw.c
1070
*(h2c_pkt + 3) = location;
drivers/net/wireless/realtek/rtw88/fw.c
1071
rtw_dbg(rtwdev, RTW_DBG_FW, "RSVD_NULL loc: %d\n", location);
drivers/net/wireless/realtek/rtw88/fw.c
1073
location = rtw_get_rsvd_page_location(rtwdev, RSVD_QOS_NULL);
drivers/net/wireless/realtek/rtw88/fw.c
1074
*(h2c_pkt + 4) = location;
drivers/net/wireless/realtek/rtw88/fw.c
1075
rtw_dbg(rtwdev, RTW_DBG_FW, "RSVD_QOS_NULL loc: %d\n", location);
drivers/net/wireless/realtek/rtw88/fw.c
1123
nlo_hdr->location[i] = loc;
drivers/net/wireless/realtek/rtw88/fw.c
1897
u8 location)
drivers/net/wireless/realtek/rtw88/fw.c
1907
UPDATE_PKT_SET_LOCATION(h2c_pkt, location);
drivers/net/wireless/realtek/rtw88/fw.c
961
u8 location = 0;
drivers/net/wireless/realtek/rtw88/fw.c
965
location = rsvd_pkt->page;
drivers/net/wireless/realtek/rtw88/fw.c
968
return location;
drivers/net/wireless/realtek/rtw88/fw.h
233
u8 location[8];
drivers/platform/x86/dell/alienware-wmi-base.c
204
char *buf, u8 location)
drivers/platform/x86/dell/alienware-wmi-base.c
207
struct color_platform *colors = &priv->colors[location];
drivers/platform/x86/dell/alienware-wmi-base.c
215
const char *buf, size_t count, u8 location)
drivers/platform/x86/dell/alienware-wmi-base.c
218
struct color_platform *colors = &priv->colors[location];
drivers/platform/x86/dell/alienware-wmi-base.c
226
ret = pdata->ops.upd_led(priv, pdata->wdev, location);
drivers/platform/x86/dell/alienware-wmi-legacy.c
24
struct wmi_device *wdev, u8 location)
drivers/platform/x86/dell/alienware-wmi-legacy.c
27
.colors = priv->colors[location],
drivers/platform/x86/dell/alienware-wmi-legacy.c
41
location + 1, &input, NULL);
drivers/platform/x86/dell/alienware-wmi-legacy.c
48
return alienware_wmi_command(wdev, location + 1, &legacy_args,
drivers/platform/x86/dell/alienware-wmi-wmax.c
1571
struct wmi_device *wdev, u8 location)
drivers/platform/x86/dell/alienware-wmi-wmax.c
1574
.led_mask = 1 << location,
drivers/platform/x86/dell/alienware-wmi-wmax.c
1575
.colors = priv->colors[location],
drivers/platform/x86/dell/alienware-wmi.h
60
u8 location);
drivers/platform/x86/dell/dell-laptop.c
1402
dell_fill_request(&buffer, token->location, 0, 0, 0);
drivers/platform/x86/dell/dell-laptop.c
387
dell_fill_request(buffer, token->location, val, 0, 0);
drivers/platform/x86/dell/dell-smbios-base.c
229
if (da_tokens[i].location != buffer->input[0])
drivers/platform/x86/dell/dell-smbios-base.c
438
da_tokens[j].location,
drivers/platform/x86/dell/dell-smbios-base.c
467
return sysfs_emit(buf, "%08x", data->token->location);
drivers/platform/x86/dell/dell-smbios-smm.c
89
buffer->input[0] = wsmt->location;
drivers/platform/x86/dell/dell-smbios.h
52
u16 location;
drivers/platform/x86/hp/hp-wmi.c
1103
u32 *location;
drivers/platform/x86/hp/hp-wmi.c
1117
location = (u32 *)obj->buffer.pointer;
drivers/platform/x86/hp/hp-wmi.c
1119
event_id = *location;
drivers/platform/x86/hp/hp-wmi.c
1120
event_data = *(location + 1);
drivers/platform/x86/hp/hp-wmi.c
1122
event_id = *location;
drivers/platform/x86/hp/hp-wmi.c
1123
event_data = *(location + 2);
drivers/platform/x86/uv_sysfs.c
128
return sysfs_emit(buf, "%s\n", hub_info->location);
drivers/platform/x86/uv_sysfs.c
160
__ATTR(location, 0444, hub_location_show, NULL);
drivers/platform/x86/uv_sysfs.c
453
char *location;
drivers/platform/x86/uv_sysfs.c
468
return sysfs_emit(buf, "%s\n", top_obj->location);
drivers/platform/x86/uv_sysfs.c
495
__ATTR(location, 0444, uv_pci_location_show, NULL);
drivers/platform/x86/uv_sysfs.c
508
kfree(top_obj->location);
drivers/platform/x86/uv_sysfs.c
539
char type[11], location[14], ppb_addr[15];
drivers/platform/x86/uv_sysfs.c
578
location, type, &top_obj->iio_stack);
drivers/platform/x86/uv_sysfs.c
584
top_obj->location = kstrdup(location, GFP_KERNEL);
drivers/platform/x86/uv_sysfs.c
585
if (!top_obj->location) {
drivers/platform/x86/uv_sysfs.c
620
if (top_obj->location) {
drivers/platform/x86/uv_sysfs.c
70
static int location_to_bpos(char *location, int *rack, int *slot, int *blade)
drivers/platform/x86/uv_sysfs.c
75
if (sscanf(location, "%c%03d%c%02d%c%2d%c%d",
drivers/platform/x86/uv_sysfs.c
93
if (location_to_bpos(obj->location, &obj_rack, &obj_slot, &obj_blade))
drivers/scsi/aic94xx/aic94xx_sds.c
476
u8 location;
drivers/scsi/esas2r/atioctl.h
555
u8 location;
drivers/scsi/ibmvscsi/ibmvfc.c
1490
const char *location;
drivers/scsi/ibmvscsi/ibmvfc.c
1526
location = of_get_property(of_node, "ibm,loc-code", NULL);
drivers/scsi/ibmvscsi/ibmvfc.c
1527
location = location ? location : dev_name(vhost->dev);
drivers/scsi/ibmvscsi/ibmvfc.c
1528
strscpy(login_info->drc_name, location, sizeof(login_info->drc_name));
drivers/scsi/ibmvscsi/ibmvscsi.c
1272
const char *location;
drivers/scsi/ibmvscsi/ibmvscsi.c
1290
location = of_get_property(of_node, "ibm,loc-code", NULL);
drivers/scsi/ibmvscsi/ibmvscsi.c
1291
location = location ? location : dev_name(hostdata->dev);
drivers/scsi/ibmvscsi/ibmvscsi.c
1292
strscpy(hostdata->caps.loc, location, sizeof(hostdata->caps.loc));
drivers/scsi/ipr.c
3037
strcpy(driver_dump->location_entry.location, dev_name(&ioa_cfg->pdev->dev));
drivers/scsi/ipr.h
1623
u8 location[20];
drivers/scsi/mpi3mr/mpi/mpi30_cnfg.h
367
u8 location;
drivers/staging/media/atomisp/pci/runtime/bufq/src/bufq.c
255
remoteq.location = IA_CSS_QUEUE_LOC_SP;
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
777
int l = state->trace[t][i].location &
drivers/staging/media/atomisp/pci/runtime/debug/src/ia_css_debug.c
779
int fid = state->trace[t][i].location >>
drivers/staging/media/atomisp/pci/runtime/queue/interface/ia_css_queue_comm.h
39
u8 location; /* Cell location for queue */
drivers/staging/media/atomisp/pci/runtime/queue/src/queue.c
46
qhandle->location = desc->location;
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.c
104
} else if (rdesc->location == IA_CSS_QUEUE_LOC_HOST) {
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.c
109
} else if (rdesc->location == IA_CSS_QUEUE_LOC_ISP) {
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.c
125
if (rdesc->location == IA_CSS_QUEUE_LOC_SP) {
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.c
131
} else if (rdesc->location == IA_CSS_QUEUE_LOC_HOST) {
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.c
136
} else if (rdesc->location == IA_CSS_QUEUE_LOC_ISP) {
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.c
152
if (rdesc->location == IA_CSS_QUEUE_LOC_SP) {
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.c
158
} else if (rdesc->location == IA_CSS_QUEUE_LOC_HOST) {
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.c
163
} else if (rdesc->location == IA_CSS_QUEUE_LOC_ISP) {
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.c
23
if (rdesc->location == IA_CSS_QUEUE_LOC_SP) {
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.c
57
} else if (rdesc->location == IA_CSS_QUEUE_LOC_HOST) {
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.c
62
} else if (rdesc->location == IA_CSS_QUEUE_LOC_ISP) {
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.c
78
if (rdesc->location == IA_CSS_QUEUE_LOC_SP) {
drivers/staging/media/atomisp/pci/runtime/queue/src/queue_access.h
47
u8 location; /* Cell location for queue */
drivers/staging/media/atomisp/pci/sh_css_internal.h
292
u16 location; /* bit 15..13 = file_id, 12..0 = line nr. */
drivers/usb/core/hub.h
111
usb_port_location_t location;
drivers/usb/core/port.c
171
return sysfs_emit(buf, "0x%08x\n", port_dev->location);
drivers/usb/core/port.c
173
static DEVICE_ATTR_RO(location);
drivers/usb/core/port.c
497
if (left->location && left->location == right->location)
drivers/usb/core/port.c
628
peer->location == port_dev->location) {
drivers/usb/core/port.c
655
if (port_dev->location) {
drivers/usb/core/port.c
691
if (peer && peer->location == 0)
drivers/usb/core/usb-acpi.c
221
port_dev->location = USB_ACPI_LOCATION_VALID |
drivers/video/console/mdacon.c
149
static inline void mda_set_cursor(unsigned int location)
drivers/video/console/mdacon.c
151
if (mda_cursor_loc == location)
drivers/video/console/mdacon.c
154
write_mda_w(location >> 1, 0x0e);
drivers/video/console/mdacon.c
156
mda_cursor_loc = location;
fs/btrfs/accessors.h
539
read_eb_member(eb, item, struct btrfs_dir_item, location, key);
fs/btrfs/accessors.h
546
write_eb_member(eb, item, struct btrfs_dir_item, location, key);
fs/btrfs/accessors.h
560
read_eb_member(eb, h, struct btrfs_free_space_header, location, key);
fs/btrfs/accessors.h
567
write_eb_member(eb, h, struct btrfs_free_space_header, location, key);
fs/btrfs/delayed-inode.c
1505
dir_item->location = *disk_key;
fs/btrfs/delayed-inode.c
1793
struct btrfs_key location;
fs/btrfs/delayed-inode.c
1821
btrfs_disk_key_to_cpu(&location, &di->location);
fs/btrfs/delayed-inode.c
1823
over = !dir_emit(ctx, name, name_len, location.objectid, d_type);
fs/btrfs/dir-item.c
110
const struct btrfs_key *location, u8 type, u64 index)
fs/btrfs/dir-item.c
131
btrfs_cpu_key_to_disk(&disk_key, location);
fs/btrfs/dir-item.c
65
struct btrfs_key key, location;
fs/btrfs/dir-item.c
82
memset(&location, 0, sizeof(location));
fs/btrfs/dir-item.c
85
btrfs_cpu_key_to_disk(&disk_key, &location);
fs/btrfs/dir-item.h
21
const struct btrfs_key *location, u8 type, u64 index);
fs/btrfs/disk-io.c
2162
struct btrfs_key location;
fs/btrfs/disk-io.c
2171
location.type = BTRFS_ROOT_ITEM_KEY;
fs/btrfs/disk-io.c
2172
location.offset = 0;
fs/btrfs/disk-io.c
2175
location.objectid = BTRFS_BLOCK_GROUP_TREE_OBJECTID;
fs/btrfs/disk-io.c
2176
root = btrfs_read_tree_root(tree_root, &location);
fs/btrfs/disk-io.c
2188
location.objectid = BTRFS_DEV_TREE_OBJECTID;
fs/btrfs/disk-io.c
2189
root = btrfs_read_tree_root(tree_root, &location);
fs/btrfs/disk-io.c
2215
location.objectid = BTRFS_DATA_RELOC_TREE_OBJECTID;
fs/btrfs/disk-io.c
2216
root = btrfs_read_tree_root(fs_info->tree_root, &location);
fs/btrfs/disk-io.c
2234
location.objectid = BTRFS_DATA_RELOC_TREE_OBJECTID;
fs/btrfs/disk-io.c
2244
location.objectid = BTRFS_QUOTA_TREE_OBJECTID;
fs/btrfs/disk-io.c
2245
root = btrfs_read_tree_root(tree_root, &location);
fs/btrfs/disk-io.c
2251
location.objectid = BTRFS_UUID_TREE_OBJECTID;
fs/btrfs/disk-io.c
2252
root = btrfs_read_tree_root(tree_root, &location);
fs/btrfs/disk-io.c
2265
location.objectid = BTRFS_RAID_STRIPE_TREE_OBJECTID;
fs/btrfs/disk-io.c
2266
root = btrfs_read_tree_root(tree_root, &location);
fs/btrfs/disk-io.c
2281
location.objectid, ret);
fs/btrfs/free-space-cache.c
112
btrfs_disk_key_to_cpu(&location, &disk_key);
fs/btrfs/free-space-cache.c
120
inode = btrfs_iget_path(location.objectid, root, path);
fs/btrfs/free-space-cache.c
88
struct btrfs_key location;
fs/btrfs/inode-item.c
385
struct btrfs_key *location, int mod)
fs/btrfs/inode-item.c
394
ret = btrfs_search_slot(trans, root, location, path, ins_len, cow);
fs/btrfs/inode-item.c
395
if (ret > 0 && location->type == BTRFS_ROOT_ITEM_KEY &&
fs/btrfs/inode-item.c
396
location->offset == (u64)-1 && path->slots[0] != 0) {
fs/btrfs/inode-item.c
400
if (found_key.objectid == location->objectid &&
fs/btrfs/inode-item.c
401
found_key.type == location->type) {
fs/btrfs/inode-item.h
102
struct btrfs_key *location, int mod);
fs/btrfs/inode.c
4054
struct btrfs_key location;
fs/btrfs/inode.c
4068
btrfs_get_inode_key(inode, &location);
fs/btrfs/inode.c
4070
ret = btrfs_lookup_inode(NULL, root, path, &location, 0);
fs/btrfs/inode.c
4178
btrfs_item_key_to_cpu(leaf, &location, path->slots[0]);
fs/btrfs/inode.c
4179
if (location.objectid != btrfs_ino(inode))
fs/btrfs/inode.c
4183
if (location.type == BTRFS_INODE_REF_KEY) {
fs/btrfs/inode.c
4188
} else if (location.type == BTRFS_INODE_EXTREF_KEY) {
fs/btrfs/inode.c
5760
struct btrfs_key *location, u8 *type)
fs/btrfs/inode.c
5790
btrfs_dir_item_key_to_cpu(path->nodes[0], di, location);
fs/btrfs/inode.c
5791
if (unlikely(location->type != BTRFS_INODE_ITEM_KEY &&
fs/btrfs/inode.c
5792
location->type != BTRFS_ROOT_ITEM_KEY)) {
fs/btrfs/inode.c
5797
BTRFS_KEY_FMT_VALUE(location));
fs/btrfs/inode.c
5814
struct btrfs_key *location,
fs/btrfs/inode.c
5839
key.offset = location->objectid;
fs/btrfs/inode.c
5861
new_root = btrfs_get_fs_root(fs_info, location->objectid, true);
fs/btrfs/inode.c
5868
location->objectid = btrfs_root_dirid(&new_root->root_item);
fs/btrfs/inode.c
5869
location->type = BTRFS_INODE_ITEM_KEY;
fs/btrfs/inode.c
5870
location->offset = 0;
fs/btrfs/inode.c
6068
struct btrfs_key location = { 0 };
fs/btrfs/inode.c
6075
ret = btrfs_inode_by_name(BTRFS_I(dir), dentry, &location, &di_type);
fs/btrfs/inode.c
6079
if (location.type == BTRFS_INODE_ITEM_KEY) {
fs/btrfs/inode.c
6080
inode = btrfs_iget(location.objectid, root);
fs/btrfs/inode.c
6097
&location, &sub_root);
fs/btrfs/inode.c
6102
inode = new_simple_dir(dir, &location, root);
fs/btrfs/inode.c
6104
inode = btrfs_iget(location.objectid, sub_root);
fs/btrfs/inode.c
6322
struct btrfs_key location;
fs/btrfs/inode.c
6378
btrfs_dir_item_key_to_cpu(leaf, di, &location);
fs/btrfs/inode.c
6379
put_unaligned(location.objectid, &entry->ino);
fs/btrfs/print-tree.c
278
struct btrfs_key location;
fs/btrfs/print-tree.c
280
btrfs_dir_item_key_to_cpu(eb, di, &location);
fs/btrfs/print-tree.c
282
BTRFS_KEY_FMT_VALUE(&location), btrfs_dir_ftype(eb, di));
fs/btrfs/super.c
923
struct btrfs_key location;
fs/btrfs/super.c
951
btrfs_dir_item_key_to_cpu(path->nodes[0], di, &location);
fs/btrfs/super.c
952
*objectid = location.objectid;
fs/btrfs/tree-log.c
1090
struct btrfs_key location;
fs/btrfs/tree-log.c
1093
btrfs_dir_item_key_to_cpu(leaf, di, &location);
fs/btrfs/tree-log.c
1104
inode = btrfs_iget_logging(location.objectid, root);
fs/btrfs/tree-log.c
1109
location.objectid, btrfs_ino(dir),
fs/btrfs/tree-log.c
1115
ret = link_to_fixup_dir(wc, location.objectid);
fs/btrfs/tree-log.c
1140
struct btrfs_key location;
fs/btrfs/tree-log.c
1149
btrfs_dir_item_key_to_cpu(path->nodes[0], di, &location);
fs/btrfs/tree-log.c
1150
if (location.objectid != objectid)
fs/btrfs/tree-log.c
1162
btrfs_dir_item_key_to_cpu(path->nodes[0], di, &location);
fs/btrfs/tree-log.c
1163
if (location.objectid == objectid)
fs/btrfs/tree-log.c
2046
struct btrfs_key *location)
fs/btrfs/tree-log.c
2052
inode = btrfs_iget_logging(location->objectid, root);
fs/btrfs/tree-log.c
2437
struct btrfs_key location;
fs/btrfs/tree-log.c
2480
btrfs_dir_item_key_to_cpu(eb, di, &location);
fs/btrfs/tree-log.c
2483
inode = btrfs_iget_logging(location.objectid, root);
fs/btrfs/tree-log.c
2489
location.objectid, btrfs_root_id(root));
fs/btrfs/tree-log.c
2493
ret = link_to_fixup_dir(wc, location.objectid);
fs/btrfs/tree-log.c
6846
btrfs_disk_key_to_cpu(&key, &dir_item->location);
fs/isofs/rock.c
517
reloc_block = isonum_733(rr->u.CL.location);
fs/isofs/rock.h
61
__u8 location[8];
fs/isofs/rock.h
65
__u8 location[8];
fs/nfs/nfs4namespace.c
289
const struct nfs4_fs_location *location)
fs/nfs/nfs4namespace.c
301
for (s = 0; s < location->nservers; s++) {
fs/nfs/nfs4namespace.c
302
const struct nfs4_string *buf = &location->servers[s];
fs/nfs/nfs4namespace.c
312
export_path = nfs4_pathname_string(&location->rootpath,
fs/nfs/nfs4namespace.c
327
for (s = 0; s < location->nservers; s++) {
fs/nfs/nfs4namespace.c
328
const struct nfs4_string *buf = &location->servers[s];
fs/nfs/nfs4namespace.c
386
const struct nfs4_fs_location *location = &locations->locations[loc];
fs/nfs/nfs4namespace.c
388
if (location == NULL || location->nservers <= 0 ||
fs/nfs/nfs4namespace.c
389
location->rootpath.ncomponents == 0)
fs/nfs/nfs4namespace.c
392
error = try_location(fc, location);
fs/nfs/nfs4namespace.c
485
const struct nfs4_fs_location *location)
fs/nfs/nfs4namespace.c
498
for (s = 0; s < location->nservers; s++) {
fs/nfs/nfs4namespace.c
499
const struct nfs4_string *buf = &location->servers[s];
fs/nfs/nfs4namespace.c
560
const struct nfs4_fs_location *location =
fs/nfs/nfs4namespace.c
563
if (location == NULL || location->nservers <= 0 ||
fs/nfs/nfs4namespace.c
564
location->rootpath.ncomponents == 0)
fs/nfs/nfs4namespace.c
568
page2, location);
fs/nfs/nfs4proc.c
4022
static void test_fs_location_for_trunking(struct nfs4_fs_location *location,
fs/nfs/nfs4proc.c
4028
for (i = 0; i < location->nservers; i++) {
fs/nfs/nfs4proc.c
4029
struct nfs4_string *srv_loc = &location->servers[i];
fs/nfsd/nfs4xdr.c
2824
struct nfsd4_fs_location *location)
fs/nfsd/nfs4xdr.c
2828
status = nfsd4_encode_components_esc(xdr, ':', location->hosts,
fs/nfsd/nfs4xdr.c
2832
status = nfsd4_encode_components(xdr, '/', location->path);
fs/ocfs2/ocfs2_trace.h
1758
unsigned int hash, unsigned long long location,
fs/ocfs2/ocfs2_trace.h
1760
TP_ARGS(ino, name, name_index, hash, location, xe_index),
fs/ocfs2/ocfs2_trace.h
1766
__field(unsigned long long, location)
fs/ocfs2/ocfs2_trace.h
1774
__entry->location = location;
fs/ocfs2/ocfs2_trace.h
1778
__entry->name_index, __entry->hash, __entry->location,
fs/udf/misc.c
189
uint32_t location, uint16_t *ident)
fs/udf/misc.c
202
block, location);
fs/udf/misc.c
210
if (location != le32_to_cpu(tag_p->tagLocation)) {
fs/udf/misc.c
212
block, le32_to_cpu(tag_p->tagLocation), location);
fs/udf/namei.c
1000
fid->udf.parent_block = location.logicalBlockNum;
fs/udf/namei.c
1001
fid->udf.parent_partref = location.partitionReferenceNum;
fs/udf/namei.c
980
struct kernel_lb_addr location = UDF_I(inode)->i_location;
fs/udf/namei.c
993
fid->udf.block = location.logicalBlockNum;
fs/udf/namei.c
994
fid->udf.partref = location.partitionReferenceNum;
fs/udf/namei.c
999
location = UDF_I(parent)->i_location;
include/linux/edac.h
387
unsigned int location[EDAC_MAX_LAYERS];
include/linux/edac.h
478
char location[LOCATION_SIZE];
include/linux/ethtool.h
35
u32 location;
include/linux/mii.h
29
int (*mdio_read) (struct net_device *dev, int phy_id, int location);
include/linux/mii.h
30
void (*mdio_write) (struct net_device *dev, int phy_id, int location, int val);
include/linux/platform_data/cros_ec_commands.h
2803
uint8_t location;
include/linux/platform_data/cros_ec_commands.h
2815
uint8_t location;
include/net/tcp.h
2417
void (*calc_md5_hash)(char *location,
include/net/tcp.h
2434
int (*calc_ao_hash)(char *location, struct tcp_ao_key *ao,
include/net/tcp.h
2445
void (*calc_md5_hash) (char *location,
include/trace/events/skb.h
26
TP_PROTO(struct sk_buff *skb, void *location,
include/trace/events/skb.h
29
TP_ARGS(skb, location, reason, rx_sk),
include/trace/events/skb.h
33
__field(void *, location)
include/trace/events/skb.h
41
__entry->location = location;
include/trace/events/skb.h
49
__entry->location,
include/trace/events/skb.h
59
TP_PROTO(struct sk_buff *skb, void *location),
include/trace/events/skb.h
61
TP_ARGS(skb, location),
include/trace/events/skb.h
65
__field( void *, location)
include/trace/events/skb.h
70
__entry->location = location;
include/trace/events/skb.h
73
TP_printk("skbaddr=%p location=%pS", __entry->skbaddr, __entry->location)
include/uapi/linux/btrfs_tree.h
747
struct btrfs_disk_key location;
include/uapi/linux/btrfs_tree.h
915
struct btrfs_disk_key location;
include/uapi/linux/ethtool.h
1412
__u32 location;
include/uapi/linux/netfilter/xt_u32.h
31
struct xt_u32_location_element location[XT_U32_MAXSIZE+1];
include/uapi/linux/raid/md_p.h
360
__le64 location; /* sector. For data, it's raid sector. For
lib/kunit/assert_test.c
55
const struct kunit_loc location = {
lib/kunit/assert_test.c
64
kunit_assert_prologue(&location, KUNIT_EXPECTATION, stream);
lib/kunit/assert_test.c
72
kunit_assert_prologue(&location, KUNIT_ASSERTION, stream);
lib/test_maple_tree.c
3613
unsigned long location;
lib/test_maple_tree.c
3621
mas_alloc_cyclic(&mas, &location, mt, 2, ULONG_MAX, &next, GFP_KERNEL);
lib/test_maple_tree.c
3622
MAS_BUG_ON(&mas, i != location - 2);
lib/test_maple_tree.c
3623
MAS_BUG_ON(&mas, mas.index != location);
lib/test_maple_tree.c
3624
MAS_BUG_ON(&mas, mas.last != location);
lib/test_maple_tree.c
3633
mtree_alloc_cyclic(mt, &location, mt, 2, ULONG_MAX, &next, GFP_KERNEL);
lib/test_maple_tree.c
3634
MT_BUG_ON(mt, i != location - 2);
lib/test_maple_tree.c
3636
MT_BUG_ON(mt, mtree_load(mt, location) != mt);
lib/test_maple_tree.c
3650
mtree_alloc_cyclic(mt, &location, mt, 2, 1024, &next, GFP_KERNEL);
lib/test_maple_tree.c
3651
MT_BUG_ON(mt, i != location - 2);
lib/test_maple_tree.c
3653
MT_BUG_ON(mt, mtree_load(mt, location) != mt);
lib/test_maple_tree.c
3657
mtree_alloc_cyclic(mt, &location, mt, 2, 1024, &next, GFP_KERNEL);
lib/test_maple_tree.c
3658
MT_BUG_ON(mt, 123 != location);
lib/test_maple_tree.c
3660
MT_BUG_ON(mt, mtree_load(mt, location) != mt);
lib/test_maple_tree.c
3662
mtree_alloc_cyclic(mt, &location, mt, 2, 1024, &next, GFP_KERNEL);
lib/test_maple_tree.c
3663
MT_BUG_ON(mt, 100 != location);
lib/test_maple_tree.c
3665
MT_BUG_ON(mt, mtree_load(mt, location) != mt);
lib/test_maple_tree.c
3670
ret = mtree_alloc_cyclic(mt, &location, mt, 2, ULONG_MAX, &next, GFP_KERNEL);
lib/test_maple_tree.c
3672
ret = mtree_alloc_cyclic(mt, &location, mt, 2, ULONG_MAX, &next, GFP_KERNEL);
lib/test_maple_tree.c
3674
ret = mtree_alloc_cyclic(mt, &location, mt, 2, ULONG_MAX, &next, GFP_KERNEL);
lib/ubsan.c
126
static bool was_reported(struct source_location *location)
lib/ubsan.c
128
return test_and_set_bit(REPORTED_BIT, &location->reported);
lib/ubsan.c
249
if (suppress_report(&data->location))
lib/ubsan.c
252
ubsan_prologue(&data->location, type_is_signed(type) ?
lib/ubsan.c
294
if (suppress_report(&data->location))
lib/ubsan.c
297
ubsan_prologue(&data->location, "negation-overflow");
lib/ubsan.c
314
if (suppress_report(&data->location))
lib/ubsan.c
320
ubsan_prologue(&data->location, "implicit-conversion");
lib/ubsan.c
338
if (suppress_report(&data->location))
lib/ubsan.c
341
ubsan_prologue(&data->location, "division-overflow");
lib/ubsan.c
357
if (suppress_report(data->location))
lib/ubsan.c
360
ubsan_prologue(data->location, "null-ptr-deref");
lib/ubsan.c
372
if (suppress_report(data->location))
lib/ubsan.c
375
ubsan_prologue(data->location, "misaligned-access");
lib/ubsan.c
388
if (suppress_report(data->location))
lib/ubsan.c
391
ubsan_prologue(data->location, "object-size-mismatch");
lib/ubsan.c
418
.location = &data->location,
lib/ubsan.c
432
.location = &data->location,
lib/ubsan.c
447
if (suppress_report(&data->location))
lib/ubsan.c
450
ubsan_prologue(&data->location, "array-index-out-of-bounds");
lib/ubsan.c
468
if (suppress_report(&data->location))
lib/ubsan.c
471
ubsan_prologue(&data->location, "shift-out-of-bounds");
lib/ubsan.c
504
ubsan_prologue(&data->location, "unreachable");
lib/ubsan.c
517
if (suppress_report(&data->location))
lib/ubsan.c
520
ubsan_prologue(&data->location, "invalid-load");
lib/ubsan.c
540
if (suppress_report(&data->location))
lib/ubsan.c
543
ubsan_prologue(&data->location, "alignment-assumption");
lib/ubsan.h
100
struct source_location location;
lib/ubsan.h
106
struct source_location location;
lib/ubsan.h
112
struct source_location location;
lib/ubsan.h
116
struct source_location location;
lib/ubsan.h
121
struct source_location location;
lib/ubsan.h
61
struct source_location location;
lib/ubsan.h
66
struct source_location location;
lib/ubsan.h
73
struct source_location location;
lib/ubsan.h
80
struct source_location location;
lib/ubsan.h
87
struct source_location *location;
lib/ubsan.h
94
struct source_location location;
mm/kasan/kasan.h
244
struct kasan_source_location *location;
mm/slub.c
8647
struct location *loc;
mm/slub.c
8657
get_order(sizeof(struct location) * t->max));
mm/slub.c
8662
struct location *l;
mm/slub.c
8665
order = get_order(sizeof(struct location) * max);
mm/slub.c
8672
memcpy(l, t->loc, sizeof(struct location) * t->count);
mm/slub.c
8685
struct location *l;
mm/slub.c
8754
(t->count - pos) * sizeof(struct location));
mm/slub.c
9610
struct location *l;
mm/slub.c
9690
struct location *loc1 = (struct location *)a;
mm/slub.c
9691
struct location *loc2 = (struct location *)b;
mm/slub.c
9733
if (!alloc_loc_track(t, PAGE_SIZE / sizeof(struct location), GFP_KERNEL)) {
mm/slub.c
9755
sort(t->loc, t->count, sizeof(struct location),
net/core/drop_monitor.c
111
void *location,
net/core/drop_monitor.c
216
static void trace_drop_common(struct sk_buff *skb, void *location)
net/core/drop_monitor.c
240
if (!memcmp(&location, &point->pc, sizeof(void *))) {
net/core/drop_monitor.c
253
memcpy(point->pc, &location, sizeof(void *));
net/core/drop_monitor.c
267
void *location,
net/core/drop_monitor.c
271
trace_drop_common(skb, location);
net/core/drop_monitor.c
494
void *location,
net/core/drop_monitor.c
513
cb->pc = location;
net/ethtool/common.c
703
.fs.location = info->rule_locs[i],
net/ethtool/common.c
857
.fs.location = info->rule_locs[i],
net/ethtool/ioctl.c
853
BUILD_BUG_ON(offsetof(struct compat_ethtool_rxnfc, fs.location) -
net/ethtool/ioctl.c
855
offsetof(struct ethtool_rxnfc, fs.location) -
net/ethtool/ioctl.c
872
.location = crxnfc.fs.location,
net/ethtool/ioctl.c
911
.location = rxnfc->fs.location,
net/netfilter/xt_u32.c
111
if (ct->nnums > ARRAY_SIZE(ct->location) ||
net/netfilter/xt_u32.c
37
pos = ct->location[0].number;
net/netfilter/xt_u32.c
49
u_int32_t number = ct->location[i].number;
net/netfilter/xt_u32.c
50
switch (ct->location[i].nextop) {
net/smc/smc_tracepoint.h
108
__entry->location = location;
net/smc/smc_tracepoint.h
114
__entry->location)
net/smc/smc_tracepoint.h
87
TP_PROTO(const struct smc_link *lnk, void *location),
net/smc/smc_tracepoint.h
89
TP_ARGS(lnk, location),
net/smc/smc_tracepoint.h
97
__field(void *, location)
samples/seccomp/bpf-helper.c
37
if (labels->labels[instr->k].location == 0xffffffff) {
samples/seccomp/bpf-helper.c
42
instr->k = labels->labels[instr->k].location -
samples/seccomp/bpf-helper.c
48
if (labels->labels[instr->k].location != 0xffffffff) {
samples/seccomp/bpf-helper.c
53
labels->labels[instr->k].location = offset;
samples/seccomp/bpf-helper.c
75
begin->location = 0xffffffff;
samples/seccomp/bpf-helper.c
85
begin->location = 0xffffffff;
samples/seccomp/bpf-helper.h
31
__u32 location;
scripts/kconfig/menu.c
645
struct menu *submenu[8], *menu, *location = NULL;
scripts/kconfig/menu.c
665
if (location == NULL && menu_is_visible(menu))
scripts/kconfig/menu.c
666
location = menu;
scripts/kconfig/menu.c
668
if (head && location) {
scripts/kconfig/menu.c
670
jump->target = location;
scripts/kconfig/menu.c
680
if (jump && menu == location) {
scripts/mod/modpost.c
1167
static Elf_Addr addend_386_rel(uint32_t *location, unsigned int r_type)
scripts/mod/modpost.c
1171
return get_unaligned_native(location);
scripts/mod/modpost.c
1173
return get_unaligned_native(location) + 4;
scripts/mod/modpost.c
1270
static Elf_Addr addend_mips_rel(uint32_t *location, unsigned int r_type)
scripts/mod/modpost.c
1274
inst = get_unaligned_native(location);
sound/firewire/bebob/bebob_stream.c
257
unsigned int pcm, midi, location;
sound/firewire/bebob/bebob_stream.c
355
location = pcm + sec_loc;
sound/firewire/bebob/bebob_stream.c
356
if (location >= AM824_MAX_CHANNELS_FOR_PCM) {
sound/firewire/bebob/bebob_stream.c
360
amdtp_am824_set_pcm_position(s, location,
sound/hda/codecs/generic.c
1480
unsigned int location, hda_nid_t nid)
sound/hda/codecs/generic.c
1487
if (location && get_defcfg_location(defcfg) != location)
sound/hda/codecs/generic.c
1501
unsigned int location = get_defcfg_location(defcfg);
sound/hda/codecs/generic.c
1509
if (can_be_multiio_pin(codec, location,
sound/hda/codecs/generic.c
1533
unsigned int location = get_defcfg_location(defcfg);
sound/hda/codecs/generic.c
1552
if (!can_be_multiio_pin(codec, location, nid))
sound/soc/au1x/dma.c
271
long location;
sound/soc/au1x/dma.c
273
location = get_dma_residue(stream->dma);
sound/soc/au1x/dma.c
274
location = stream->buffer->relative_end - location;
sound/soc/au1x/dma.c
275
if (location == -1)
sound/soc/au1x/dma.c
276
location = 0;
sound/soc/au1x/dma.c
277
return bytes_to_frames(ss->runtime, location);
sound/virtio/virtio_jack.c
57
unsigned int location =
sound/virtio/virtio_jack.c
71
if (location == AC_JACK_LOC_HDMI)
tools/iio/iio_generic_buffer.c
192
print1byte(*(uint8_t *)(data + channels[k].location),
tools/iio/iio_generic_buffer.c
196
print2byte(*(uint16_t *)(data + channels[k].location),
tools/iio/iio_generic_buffer.c
200
print4byte(*(uint32_t *)(data + channels[k].location),
tools/iio/iio_generic_buffer.c
204
print8byte(*(uint64_t *)(data + channels[k].location),
tools/iio/iio_generic_buffer.c
64
channels[i].location = bytes;
tools/iio/iio_generic_buffer.c
66
channels[i].location = bytes - bytes % channels[i].bytes
tools/iio/iio_generic_buffer.c
69
bytes = channels[i].location + channels[i].bytes;
tools/iio/iio_utils.h
50
unsigned location;
tools/testing/selftests/bpf/progs/dynptr_success.c
606
int BPF_PROG(test_dynptr_skb_tp_btf, void *skb, void *location)
tools/testing/selftests/bpf/progs/kfree_skb.c
61
int BPF_PROG(trace_kfree_skb, struct sk_buff *skb, void *location)
tools/testing/selftests/bpf/progs/strobemeta.h
348
void *location = calc_location(&cfg->int_locs[idx], tls_base);
tools/testing/selftests/bpf/progs/strobemeta.h
349
if (!location)
tools/testing/selftests/bpf/progs/strobemeta.h
352
bpf_probe_read_user(value, sizeof(struct strobe_value_generic), location);
tools/testing/selftests/bpf/progs/strobemeta.h
364
void *location;
tools/testing/selftests/bpf/progs/strobemeta.h
368
location = calc_location(&cfg->str_locs[idx], tls_base);
tools/testing/selftests/bpf/progs/strobemeta.h
369
if (!location)
tools/testing/selftests/bpf/progs/strobemeta.h
372
bpf_probe_read_user(value, sizeof(struct strobe_value_generic), location);
tools/testing/selftests/bpf/progs/strobemeta.h
396
void *location;
tools/testing/selftests/bpf/progs/strobemeta.h
402
location = calc_location(&cfg->map_locs[idx], tls_base);
tools/testing/selftests/bpf/progs/strobemeta.h
403
if (!location)
tools/testing/selftests/bpf/progs/strobemeta.h
406
bpf_probe_read_user(value, sizeof(struct strobe_value_generic), location);
tools/wmi/dell-smbios-example.c
101
buffer->std.input[0] = *location;
tools/wmi/dell-smbios-example.c
111
__u16 location;
tools/wmi/dell-smbios-example.c
115
ret = find_token(token, &location, &value);
tools/wmi/dell-smbios-example.c
120
return token_is_active(&location, &value, buffer);
tools/wmi/dell-smbios-example.c
126
__u16 location;
tools/wmi/dell-smbios-example.c
130
ret = find_token(token, &location, &value);
tools/wmi/dell-smbios-example.c
137
buffer->std.input[0] = location;
tools/wmi/dell-smbios-example.c
53
static int find_token(__u16 token, __u16 *location, __u16 *value)
tools/wmi/dell-smbios-example.c
87
*location = (__u16) strtol(buf, NULL, 16);
tools/wmi/dell-smbios-example.c
89
if (*location)
tools/wmi/dell-smbios-example.c
94
static int token_is_active(__u16 *location, __u16 *cmpvalue,
usr/gen_init_cpio.c
358
static int cpio_mkfile(const char *name, const char *location,
usr/gen_init_cpio.c
374
file = open (location, O_RDONLY);
usr/gen_init_cpio.c
376
fprintf (stderr, "File %s could not be opened for reading\n", location);
usr/gen_init_cpio.c
382
fprintf(stderr, "File %s could not be stat()'ed\n", location);
usr/gen_init_cpio.c
392
location);
usr/gen_init_cpio.c
398
location);
usr/gen_init_cpio.c
405
location);
usr/gen_init_cpio.c
410
fprintf(stderr, "Failed to checksum file %s\n", location);
usr/gen_init_cpio.c
476
fprintf(stderr, "Can not read %s file\n", location);
usr/gen_init_cpio.c
522
char location[PATH_MAX + 1];
usr/gen_init_cpio.c
532
name, location, &mode, &uid, &gid, &end)) {
usr/gen_init_cpio.c
563
rc = cpio_mkfile(dname, cpio_replace_env(location),