/linux-6.12.1/arch/riscv/kernel/ ! |
D | module.c | 27 void *location; member 37 int (*reloc_handler)(struct module *me, void *location, Elf_Addr v); 38 int (*accumulate_handler)(struct module *me, void *location, 55 static int riscv_insn_rmw(void *location, u32 keep, u32 set) in riscv_insn_rmw() argument 57 __le16 *parcel = location; in riscv_insn_rmw() 68 static int riscv_insn_rvc_rmw(void *location, u16 keep, u16 set) in riscv_insn_rvc_rmw() argument 70 __le16 *parcel = location; in riscv_insn_rvc_rmw() 80 static int apply_r_riscv_32_rela(struct module *me, void *location, Elf_Addr v) in apply_r_riscv_32_rela() argument 87 *(u32 *)location = v; in apply_r_riscv_32_rela() 91 static int apply_r_riscv_64_rela(struct module *me, void *location, Elf_Addr v) in apply_r_riscv_64_rela() argument [all …]
|
/linux-6.12.1/drivers/video/fbdev/via/ ! |
D | hw.h | 54 /* location: {CR6D,0,7},{CR71,3,3} */ 56 /* location: {CR6E,0,7} */ 58 /* location: {CR6F,0,7},{CR71,0,2} */ 60 /* location: {CR70,0,7},{CR71,4,6} */ 62 /* location: {CR72,0,7},{CR74,4,6} */ 64 /* location: {CR73,0,7},{CR74,0,2} */ 66 /* location: {CR75,0,7},{CR76,4,6} */ 68 /* location: {CR76,0,3} */ 73 /* location: {SR1C,0,7},{SR1D,0,1} */ 82 /* location: {CR65,0,7},{CR67,2,3} */ [all …]
|
/linux-6.12.1/arch/mips/kernel/ ! |
D | module.c | 33 static void apply_r_mips_32(u32 *location, u32 base, Elf_Addr v) in apply_r_mips_32() argument 35 *location = base + v; in apply_r_mips_32() 38 static int apply_r_mips_26(struct module *me, u32 *location, u32 base, in apply_r_mips_26() argument 47 if ((v & 0xf0000000) != (((unsigned long)location + 4) & 0xf0000000)) { in apply_r_mips_26() 53 *location = (*location & ~0x03ffffff) | in apply_r_mips_26() 59 static int apply_r_mips_hi16(struct module *me, u32 *location, Elf_Addr v, in apply_r_mips_hi16() argument 65 *location = (*location & 0xffff0000) | in apply_r_mips_hi16() 79 n->addr = (Elf_Addr *)location; in apply_r_mips_hi16() 98 static int apply_r_mips_lo16(struct module *me, u32 *location, in apply_r_mips_lo16() argument 106 *location = (*location & 0xffff0000) | (v & 0xffff); in apply_r_mips_lo16() [all …]
|
/linux-6.12.1/drivers/net/ethernet/engleder/ ! |
D | tsnep_rxnfc.c | 19 TSNEP_RX_ASSIGN_ETHER_TYPE_OFFSET * rule->location; in tsnep_enable_rule() 24 TSNEP_RX_ASSIGN_OFFSET * rule->location; in tsnep_enable_rule() 34 TSNEP_RX_ASSIGN_OFFSET * rule->location; in tsnep_disable_rule() 39 int location) in tsnep_get_rule() argument 44 if (rule->location == location) in tsnep_get_rule() 46 if (rule->location > location) in tsnep_get_rule() 62 if (cur->location >= rule->location) in tsnep_add_rule() 104 rule = tsnep_get_rule(adapter, fsp->location); in tsnep_rxnfc_get_rule() 142 rule_locs[count] = rule->location; in tsnep_rxnfc_get_all() 156 int location = 0; in tsnep_rxnfc_find_location() local [all …]
|
/linux-6.12.1/arch/xtensa/kernel/ ! |
D | module.c | 26 decode_calln_opcode (unsigned char *location) in decode_calln_opcode() argument 29 return (location[0] & 0xf0) == 0x50; in decode_calln_opcode() 32 return (location[0] & 0xf) == 0x5; in decode_calln_opcode() 37 decode_l32r_opcode (unsigned char *location) in decode_l32r_opcode() argument 40 return (location[0] & 0xf0) == 0x10; in decode_l32r_opcode() 43 return (location[0] & 0xf) == 0x1; in decode_l32r_opcode() 56 unsigned char *location; in apply_relocate_add() local 63 location = (char *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 79 *(uint32_t *)location += value; in apply_relocate_add() 83 if (decode_calln_opcode(location)) { in apply_relocate_add() [all …]
|
/linux-6.12.1/drivers/gpu/drm/amd/display/dc/dml2/ ! |
D | dml2_translation_helper.c | 708 …iming_cfg_from_stream_state(struct dml_timing_cfg_st *out, unsigned int location, const struct dc_… in populate_dml_timing_cfg_from_stream_state() argument 712 …out->HActive[location] = in->timing.h_addressable + in->timing.h_border_left + in->timing.h_border… in populate_dml_timing_cfg_from_stream_state() 713 …out->VActive[location] = in->timing.v_addressable + in->timing.v_border_bottom + in->timing.v_bord… in populate_dml_timing_cfg_from_stream_state() 714 …out->RefreshRate[location] = ((in->timing.pix_clk_100hz * 100) / in->timing.h_total) / in->timing.… in populate_dml_timing_cfg_from_stream_state() 715 out->VFrontPorch[location] = in->timing.v_front_porch; in populate_dml_timing_cfg_from_stream_state() 716 out->PixelClock[location] = in->timing.pix_clk_100hz / 10000.00; in populate_dml_timing_cfg_from_stream_state() 718 out->PixelClock[location] *= 2; in populate_dml_timing_cfg_from_stream_state() 719 out->HTotal[location] = in->timing.h_total; in populate_dml_timing_cfg_from_stream_state() 720 out->VTotal[location] = in->timing.v_total; in populate_dml_timing_cfg_from_stream_state() 721 out->Interlace[location] = in->timing.flags.INTERLACE; in populate_dml_timing_cfg_from_stream_state() [all …]
|
/linux-6.12.1/arch/loongarch/kernel/ ! |
D | module.c | 47 static int apply_r_larch_none(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_none() argument 53 static int apply_r_larch_error(struct module *me, u32 *location, Elf_Addr v, in apply_r_larch_error() argument 60 static int apply_r_larch_32(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_32() argument 63 *location = v; in apply_r_larch_32() 67 static int apply_r_larch_64(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_64() argument 70 *(Elf_Addr *)location = v; in apply_r_larch_64() 74 static int apply_r_larch_sop_push_pcrel(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_pcrel() argument 77 return rela_stack_push(v - (u64)location, rela_stack, rela_stack_top); in apply_r_larch_sop_push_pcrel() 80 static int apply_r_larch_sop_push_absolute(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_absolute() argument 86 static int apply_r_larch_sop_push_dup(struct module *mod, u32 *location, Elf_Addr v, in apply_r_larch_sop_push_dup() argument [all …]
|
/linux-6.12.1/arch/sh/kernel/ ! |
D | module.c | 34 uint32_t *location; in apply_relocate_add() local 41 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 53 value = get_unaligned(location); in apply_relocate_add() 55 put_unaligned(value, location); in apply_relocate_add() 58 relocation = (relocation - (Elf32_Addr) location); in apply_relocate_add() 59 value = get_unaligned(location); in apply_relocate_add() 61 put_unaligned(value, location); in apply_relocate_add() 64 *location = (*location & ~0x3fffc00) | in apply_relocate_add() 68 *location = (*location & ~0x3fffc00) | in apply_relocate_add() 72 relocation -= (Elf32_Addr) location; in apply_relocate_add() [all …]
|
/linux-6.12.1/include/trace/events/ ! |
D | skb.h | 26 TP_PROTO(struct sk_buff *skb, void *location, 29 TP_ARGS(skb, location, reason, rx_sk), 33 __field(void *, location) 41 __entry->location = location; 47 TP_printk("skbaddr=%p rx_sk=%p protocol=%u location=%pS reason: %s", 49 __entry->location, 59 TP_PROTO(struct sk_buff *skb, void *location), 61 TP_ARGS(skb, location), 65 __field( void *, location) 70 __entry->location = location; [all …]
|
/linux-6.12.1/drivers/net/ethernet/aquantia/atlantic/ ! |
D | aq_filters.c | 76 if (rule->aq_fsp.location == fsp->location) in aq_rule_already_exists() 95 if (fsp->location < AQ_RX_FIRST_LOC_FL3L4 || in aq_check_approve_fl3l4() 96 fsp->location > last_location) { in aq_check_approve_fl3l4() 98 "ethtool: location must be in range [%d, %d]", in aq_check_approve_fl3l4() 113 fsp->location != AQ_RX_FIRST_LOC_FL3L4 + 4 && in aq_check_approve_fl3l4() 114 fsp->location != AQ_RX_FIRST_LOC_FL3L4) { in aq_check_approve_fl3l4() 116 "ethtool: The specified location for ipv6 must be %d or %d", in aq_check_approve_fl3l4() 132 if (fsp->location < AQ_RX_FIRST_LOC_FETHERT || in aq_check_approve_fl2() 133 fsp->location > last_location) { in aq_check_approve_fl2() 135 "ethtool: location must be in range [%d, %d]", in aq_check_approve_fl2() [all …]
|
/linux-6.12.1/arch/sparc/kernel/ ! |
D | module.c | 62 u8 *location; in apply_relocate_add() local 69 location = (u8 *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 71 loc32 = (u32 *) location; in apply_relocate_add() 74 BUG_ON(((u64)location >> (u64)32) != (u64)0); in apply_relocate_add() 85 v -= (Elf_Addr) location; in apply_relocate_add() 90 location[0] = v >> 56; in apply_relocate_add() 91 location[1] = v >> 48; in apply_relocate_add() 92 location[2] = v >> 40; in apply_relocate_add() 93 location[3] = v >> 32; in apply_relocate_add() 94 location[4] = v >> 24; in apply_relocate_add() [all …]
|
/linux-6.12.1/arch/microblaze/kernel/ ! |
D | module.c | 25 unsigned long int *location; in apply_relocate_add() local 33 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr + in apply_relocate_add() 44 * read the current contents of (*location), add any offset in apply_relocate_add() 49 *location = value; in apply_relocate_add() 53 location[0] = (location[0] & 0xFFFF0000) | in apply_relocate_add() 55 location[1] = (location[1] & 0xFFFF0000) | in apply_relocate_add() 60 value -= (unsigned long int)(location) + 4; in apply_relocate_add() 61 location[0] = (location[0] & 0xFFFF0000) | in apply_relocate_add() 63 location[1] = (location[1] & 0xFFFF0000) | in apply_relocate_add()
|
/linux-6.12.1/arch/csky/kernel/ ! |
D | module.c | 28 static void jsri_2_lrw_jsr(uint32_t *location) in jsri_2_lrw_jsr() argument 30 uint16_t *location_tmp = (uint16_t *)location; in jsri_2_lrw_jsr() 37 CHANGE_JSRI_TO_LRW(location); in jsri_2_lrw_jsr() 39 SET_JSR32_R26(location + 1); in jsri_2_lrw_jsr() 43 static inline void jsri_2_lrw_jsr(uint32_t *location) in jsri_2_lrw_jsr() argument 55 uint32_t *location; in apply_relocate_add() local 60 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 67 /* We add the value into the location given */ in apply_relocate_add() 68 *location = rel[i].r_addend + sym->st_value; in apply_relocate_add() 72 *location = rel[i].r_addend + sym->st_value in apply_relocate_add() [all …]
|
/linux-6.12.1/arch/powerpc/kernel/ ! |
D | module_32.c | 157 static uint32_t do_plt_call(void *location, in do_plt_call() argument 164 pr_debug("Doing plt for call to 0x%x at 0x%x\n", val, (unsigned int)location); in do_plt_call() 166 if (within_module_core((unsigned long)location, mod)) in do_plt_call() 205 uint32_t *location; in apply_relocate_add() local 212 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 224 *(uint32_t *)location = value; in apply_relocate_add() 229 if (patch_location_16(location, PPC_LO(value))) in apply_relocate_add() 235 if (patch_location_16(location, PPC_HI(value))) in apply_relocate_add() 240 if (patch_location_16(location, PPC_HA(value))) in apply_relocate_add() 245 if ((int)(value - (uint32_t)location) < -0x02000000 in apply_relocate_add() [all …]
|
D | module_64.c | 693 /* Create GOT to load the location described in this ptr */ 772 unsigned long *location; in apply_relocate_add() local 791 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 798 location, (long)ELF64_R_TYPE(rela[i].r_info), in apply_relocate_add() 808 *(u32 *)location = value; in apply_relocate_add() 813 *(unsigned long *)location = value; in apply_relocate_add() 818 *(unsigned long *)location = my_r2(sechdrs, me); in apply_relocate_add() 829 *((uint16_t *) location) in apply_relocate_add() 830 = (*((uint16_t *) location) & ~0xffff) in apply_relocate_add() 837 *((uint16_t *) location) in apply_relocate_add() [all …]
|
/linux-6.12.1/arch/hexagon/kernel/ ! |
D | module.c | 73 uint32_t *location; in apply_relocate_add() local 90 location = loc_base + rela[i].r_offset; in apply_relocate_add() 96 i, value, location, ELF32_R_TYPE(rela[i].r_info), in apply_relocate_add() 102 int dist = (int)(value - (uint32_t)location); in apply_relocate_add() 109 dist, value, (uint32_t)location, in apply_relocate_add() 114 DEBUGP("B22_PCREL contents: %08X.\n", *location); in apply_relocate_add() 115 *location &= ~0x01ff3fff; in apply_relocate_add() 116 *location |= 0x00003fff & dist; in apply_relocate_add() 117 *location |= 0x01ff0000 & (dist<<2); in apply_relocate_add() 118 DEBUGP("Contents after reloc: %08x\n", *location); in apply_relocate_add() [all …]
|
/linux-6.12.1/include/linux/ ! |
D | hp_sdc.h | 197 #define HP_SDC_CMD_READ_D0 0xf0 /* Load from i8042 RAM location 0x70 */ 198 #define HP_SDC_CMD_READ_D1 0xf1 /* Load from i8042 RAM location 0x71 */ 199 #define HP_SDC_CMD_READ_D2 0xf2 /* Load from i8042 RAM location 0x72 */ 200 #define HP_SDC_CMD_READ_D3 0xf3 /* Load from i8042 RAM location 0x73 */ 201 #define HP_SDC_CMD_READ_VT1 0xf4 /* Load from i8042 RAM location 0x74 */ 202 #define HP_SDC_CMD_READ_VT2 0xf5 /* Load from i8042 RAM location 0x75 */ 203 #define HP_SDC_CMD_READ_VT3 0xf6 /* Load from i8042 RAM location 0x76 */ 204 #define HP_SDC_CMD_READ_VT4 0xf7 /* Load from i8042 RAM location 0x77 */ 205 #define HP_SDC_CMD_READ_KBN 0xf8 /* Load from i8042 RAM location 0x78 */ 206 #define HP_SDC_CMD_READ_KBC 0xf9 /* Load from i8042 RAM location 0x79 */ [all …]
|
/linux-6.12.1/arch/openrisc/kernel/ ! |
D | module.c | 25 uint32_t *location; in apply_relocate_add() local 32 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 43 *location = value; in apply_relocate_add() 46 *((uint16_t *)location + 1) = value; in apply_relocate_add() 49 *((uint16_t *)location + 1) = value >> 16; in apply_relocate_add() 52 value -= (uint32_t)location; in apply_relocate_add() 55 value |= *location & 0xfc000000; in apply_relocate_add() 56 *location = value; in apply_relocate_add() 61 *((uint16_t *)location + 1) = value >> 16; in apply_relocate_add() 66 *location = (*location & ~0x3e007ff) | value; in apply_relocate_add()
|
/linux-6.12.1/arch/alpha/kernel/ ! |
D | module.c | 140 void *base, *location; in apply_relocate_add() local 160 location = base + rela[i].r_offset; in apply_relocate_add() 171 *(u32 *)location = value; in apply_relocate_add() 175 ((u32 *)location)[0] = value; in apply_relocate_add() 176 ((u32 *)location)[1] = value >> 32; in apply_relocate_add() 182 *(u32 *)location = value; in apply_relocate_add() 189 *(u16 *)location = lo; in apply_relocate_add() 195 value = gp - (u64)location; in apply_relocate_add() 200 *(u16 *)location = hi >> 16; in apply_relocate_add() 201 *(u16 *)(location + rela[i].r_addend) = lo; in apply_relocate_add() [all …]
|
/linux-6.12.1/lib/ ! |
D | ubsan.c | 124 static bool was_reported(struct source_location *location) in was_reported() argument 126 return test_and_set_bit(REPORTED_BIT, &location->reported); in was_reported() 247 if (suppress_report(&data->location)) in handle_overflow() 250 ubsan_prologue(&data->location, type_is_signed(type) ? in handle_overflow() 292 if (suppress_report(&data->location)) in __ubsan_handle_negate_overflow() 295 ubsan_prologue(&data->location, "negation-overflow"); in __ubsan_handle_negate_overflow() 312 if (suppress_report(&data->location)) in __ubsan_handle_divrem_overflow() 315 ubsan_prologue(&data->location, "division-overflow"); in __ubsan_handle_divrem_overflow() 331 if (suppress_report(data->location)) in handle_null_ptr_deref() 334 ubsan_prologue(data->location, "null-ptr-deref"); in handle_null_ptr_deref() [all …]
|
D | ubsan.h | 61 struct source_location location; member 66 struct source_location location; member 73 struct source_location location; member 80 struct source_location *location; member 87 struct source_location location; member 93 struct source_location location; member 99 struct source_location location; member 105 struct source_location location; member 109 struct source_location location; member 114 struct source_location location; member
|
/linux-6.12.1/arch/m68k/kernel/ ! |
D | module.c | 31 uint32_t *location; in apply_relocate() local 37 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate() 46 /* We add the value into the location given */ in apply_relocate() 47 *location += sym->st_value; in apply_relocate() 51 *location += sym->st_value - (uint32_t)location; in apply_relocate() 71 uint32_t *location; in apply_relocate_add() local 77 location = (void *)sechdrs[sechdrs[relsec].sh_info].sh_addr in apply_relocate_add() 86 /* We add the value into the location given */ in apply_relocate_add() 87 *location = rel[i].r_addend + sym->st_value; in apply_relocate_add() 91 *location = rel[i].r_addend + sym->st_value - (uint32_t)location; in apply_relocate_add()
|
/linux-6.12.1/Documentation/devicetree/bindings/powerpc/nintendo/ ! |
D | wii.txt | 31 - reg : should contain the VI registers location and length 42 - reg : should contain the PI registers location and length 64 - reg : should contain the DSP registers location and length 76 - reg : should contain the SI registers location and length 87 - reg : should contain the AI registers location and length 97 - reg : should contain the EXI registers location and length 107 - reg : should contain the EHCI registers location and length 117 - reg : should contain the SDHCI registers location and length 126 - reg : should contain the IPC registers location and length 138 - reg : should contain the controller registers location and length [all …]
|
/linux-6.12.1/drivers/staging/media/atomisp/pci/runtime/queue/src/ ! |
D | queue_access.c | 32 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_load() 66 } else if (rdesc->location == IA_CSS_QUEUE_LOC_HOST) { in ia_css_queue_load() 71 } else if (rdesc->location == IA_CSS_QUEUE_LOC_ISP) { in ia_css_queue_load() 87 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_store() 113 } else if (rdesc->location == IA_CSS_QUEUE_LOC_HOST) { in ia_css_queue_store() 118 } else if (rdesc->location == IA_CSS_QUEUE_LOC_ISP) { in ia_css_queue_store() 134 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_item_load() 140 } else if (rdesc->location == IA_CSS_QUEUE_LOC_HOST) { in ia_css_queue_item_load() 145 } else if (rdesc->location == IA_CSS_QUEUE_LOC_ISP) { in ia_css_queue_item_load() 161 if (rdesc->location == IA_CSS_QUEUE_LOC_SP) { in ia_css_queue_item_store() [all …]
|
/linux-6.12.1/tools/wmi/ ! |
D | dell-smbios-example.c | 53 static int find_token(__u16 token, __u16 *location, __u16 *value) in find_token() argument 77 printf("sprintf location failed\n"); in find_token() 87 *location = (__u16) strtol(buf, NULL, 16); in find_token() 89 if (*location) in find_token() 94 static int token_is_active(__u16 *location, __u16 *cmpvalue, in token_is_active() argument 101 buffer->std.input[0] = *location; in token_is_active() 111 __u16 location; in query_token() local 115 ret = find_token(token, &location, &value); in query_token() 120 return token_is_active(&location, &value, buffer); in query_token() 126 __u16 location; in activate_token() local [all …]
|