/Linux-v6.1/drivers/net/ethernet/marvell/octeontx2/af/ |
D | mcs_reg.h | 15 u64 offset; \ 17 offset = 0x408ull; \ 19 offset = 0xa28ull; \ 20 offset += (a) * 0x8ull; \ 21 offset; }) 25 u64 offset; \ 27 offset = 0x808ull; \ 29 offset = 0xa68ull; \ 30 offset += (a) * 0x8ull; \ 31 offset; }) [all …]
|
/Linux-v6.1/drivers/gpu/drm/amd/include/ |
D | v11_structs.h | 28 uint32_t reserved_0; // offset: 0 (0x0) 29 uint32_t reserved_1; // offset: 1 (0x1) 30 uint32_t reserved_2; // offset: 2 (0x2) 31 uint32_t reserved_3; // offset: 3 (0x3) 32 uint32_t reserved_4; // offset: 4 (0x4) 33 uint32_t reserved_5; // offset: 5 (0x5) 34 uint32_t reserved_6; // offset: 6 (0x6) 35 uint32_t reserved_7; // offset: 7 (0x7) 36 uint32_t reserved_8; // offset: 8 (0x8) 37 uint32_t reserved_9; // offset: 9 (0x9) [all …]
|
D | v10_structs.h | 29 uint32_t reserved_0; // offset: 0 (0x0) 30 uint32_t reserved_1; // offset: 1 (0x1) 31 uint32_t reserved_2; // offset: 2 (0x2) 32 uint32_t reserved_3; // offset: 3 (0x3) 33 uint32_t reserved_4; // offset: 4 (0x4) 34 uint32_t reserved_5; // offset: 5 (0x5) 35 uint32_t reserved_6; // offset: 6 (0x6) 36 uint32_t reserved_7; // offset: 7 (0x7) 37 uint32_t reserved_8; // offset: 8 (0x8) 38 uint32_t reserved_9; // offset: 9 (0x9) [all …]
|
/Linux-v6.1/arch/powerpc/kernel/ |
D | asm-offsets.c | 79 OFFSET(THREAD, task_struct, thread); in main() 80 OFFSET(MM, task_struct, mm); in main() 82 OFFSET(TASK_CANARY, task_struct, stack_canary); in main() 84 OFFSET(PACA_CANARY, paca_struct, canary); in main() 89 OFFSET(RTAS_SP, thread_struct, rtas_sp); in main() 92 OFFSET(TASK_STACK, task_struct, stack); in main() 94 OFFSET(TASK_CPU, task_struct, thread_info.cpu); in main() 98 OFFSET(TI_livepatch_sp, thread_info, livepatch_sp); in main() 101 OFFSET(KSP, thread_struct, ksp); in main() 102 OFFSET(PT_REGS, thread_struct, regs); in main() [all …]
|
/Linux-v6.1/arch/s390/kernel/ |
D | asm-offsets.c | 22 OFFSET(__TASK_stack, task_struct, stack); in main() 23 OFFSET(__TASK_thread, task_struct, thread); in main() 24 OFFSET(__TASK_pid, task_struct, pid); in main() 27 OFFSET(__THREAD_ksp, thread_struct, ksp); in main() 30 OFFSET(__TI_flags, task_struct, thread_info.flags); in main() 33 OFFSET(__PT_PSW, pt_regs, psw); in main() 34 OFFSET(__PT_GPRS, pt_regs, gprs); in main() 35 OFFSET(__PT_R0, pt_regs, gprs[0]); in main() 36 OFFSET(__PT_R1, pt_regs, gprs[1]); in main() 37 OFFSET(__PT_R2, pt_regs, gprs[2]); in main() [all …]
|
/Linux-v6.1/arch/mips/kernel/ |
D | asm-offsets.c | 29 OFFSET(PT_R0, pt_regs, regs[0]); in output_ptreg_defines() 30 OFFSET(PT_R1, pt_regs, regs[1]); in output_ptreg_defines() 31 OFFSET(PT_R2, pt_regs, regs[2]); in output_ptreg_defines() 32 OFFSET(PT_R3, pt_regs, regs[3]); in output_ptreg_defines() 33 OFFSET(PT_R4, pt_regs, regs[4]); in output_ptreg_defines() 34 OFFSET(PT_R5, pt_regs, regs[5]); in output_ptreg_defines() 35 OFFSET(PT_R6, pt_regs, regs[6]); in output_ptreg_defines() 36 OFFSET(PT_R7, pt_regs, regs[7]); in output_ptreg_defines() 37 OFFSET(PT_R8, pt_regs, regs[8]); in output_ptreg_defines() 38 OFFSET(PT_R9, pt_regs, regs[9]); in output_ptreg_defines() [all …]
|
/Linux-v6.1/arch/riscv/kernel/ |
D | asm-offsets.c | 22 OFFSET(TASK_THREAD_RA, task_struct, thread.ra); in asm_offsets() 23 OFFSET(TASK_THREAD_SP, task_struct, thread.sp); in asm_offsets() 24 OFFSET(TASK_THREAD_S0, task_struct, thread.s[0]); in asm_offsets() 25 OFFSET(TASK_THREAD_S1, task_struct, thread.s[1]); in asm_offsets() 26 OFFSET(TASK_THREAD_S2, task_struct, thread.s[2]); in asm_offsets() 27 OFFSET(TASK_THREAD_S3, task_struct, thread.s[3]); in asm_offsets() 28 OFFSET(TASK_THREAD_S4, task_struct, thread.s[4]); in asm_offsets() 29 OFFSET(TASK_THREAD_S5, task_struct, thread.s[5]); in asm_offsets() 30 OFFSET(TASK_THREAD_S6, task_struct, thread.s[6]); in asm_offsets() 31 OFFSET(TASK_THREAD_S7, task_struct, thread.s[7]); in asm_offsets() [all …]
|
/Linux-v6.1/arch/loongarch/kernel/ |
D | asm-offsets.c | 19 OFFSET(PT_R0, pt_regs, regs[0]); in output_ptreg_defines() 20 OFFSET(PT_R1, pt_regs, regs[1]); in output_ptreg_defines() 21 OFFSET(PT_R2, pt_regs, regs[2]); in output_ptreg_defines() 22 OFFSET(PT_R3, pt_regs, regs[3]); in output_ptreg_defines() 23 OFFSET(PT_R4, pt_regs, regs[4]); in output_ptreg_defines() 24 OFFSET(PT_R5, pt_regs, regs[5]); in output_ptreg_defines() 25 OFFSET(PT_R6, pt_regs, regs[6]); in output_ptreg_defines() 26 OFFSET(PT_R7, pt_regs, regs[7]); in output_ptreg_defines() 27 OFFSET(PT_R8, pt_regs, regs[8]); in output_ptreg_defines() 28 OFFSET(PT_R9, pt_regs, regs[9]); in output_ptreg_defines() [all …]
|
/Linux-v6.1/include/video/ |
D | mach64.h | 20 #define CRTC_H_TOTAL_DISP 0x0000 /* Dword offset 0_00 */ 21 #define CRTC2_H_TOTAL_DISP 0x0000 /* Dword offset 0_00 */ 22 #define CRTC_H_SYNC_STRT_WID 0x0004 /* Dword offset 0_01 */ 23 #define CRTC2_H_SYNC_STRT_WID 0x0004 /* Dword offset 0_01 */ 30 #define CRTC_V_TOTAL_DISP 0x0008 /* Dword offset 0_02 */ 31 #define CRTC2_V_TOTAL_DISP 0x0008 /* Dword offset 0_02 */ 36 #define CRTC_V_SYNC_STRT_WID 0x000C /* Dword offset 0_03 */ 37 #define CRTC2_V_SYNC_STRT_WID 0x000C /* Dword offset 0_03 */ 42 #define CRTC_VLINE_CRNT_VLINE 0x0010 /* Dword offset 0_04 */ 43 #define CRTC2_VLINE_CRNT_VLINE 0x0010 /* Dword offset 0_04 */ [all …]
|
/Linux-v6.1/drivers/clk/meson/ |
D | gxbb.h | 17 #define SCR 0x2C /* 0x0b offset in data sheet */ 18 #define TIMEOUT_VALUE 0x3c /* 0x0f offset in data sheet */ 20 #define HHI_GP0_PLL_CNTL 0x40 /* 0x10 offset in data sheet */ 21 #define HHI_GP0_PLL_CNTL2 0x44 /* 0x11 offset in data sheet */ 22 #define HHI_GP0_PLL_CNTL3 0x48 /* 0x12 offset in data sheet */ 23 #define HHI_GP0_PLL_CNTL4 0x4c /* 0x13 offset in data sheet */ 24 #define HHI_GP0_PLL_CNTL5 0x50 /* 0x14 offset in data sheet */ 25 #define HHI_GP0_PLL_CNTL1 0x58 /* 0x16 offset in data sheet */ 27 #define HHI_XTAL_DIVN_CNTL 0xbc /* 0x2f offset in data sheet */ 28 #define HHI_TIMER90K 0xec /* 0x3b offset in data sheet */ [all …]
|
D | meson8b.h | 22 #define HHI_GP_PLL_CNTL 0x40 /* 0x10 offset in data sheet */ 23 #define HHI_GP_PLL_CNTL2 0x44 /* 0x11 offset in data sheet */ 24 #define HHI_GP_PLL_CNTL3 0x48 /* 0x12 offset in data sheet */ 25 #define HHI_GP_PLL_CNTL4 0x4C /* 0x13 offset in data sheet */ 26 #define HHI_GP_PLL_CNTL5 0x50 /* 0x14 offset in data sheet */ 27 #define HHI_VIID_CLK_DIV 0x128 /* 0x4a offset in data sheet */ 28 #define HHI_VIID_CLK_CNTL 0x12c /* 0x4b offset in data sheet */ 29 #define HHI_GCLK_MPEG0 0x140 /* 0x50 offset in data sheet */ 30 #define HHI_GCLK_MPEG1 0x144 /* 0x51 offset in data sheet */ 31 #define HHI_GCLK_MPEG2 0x148 /* 0x52 offset in data sheet */ [all …]
|
/Linux-v6.1/arch/nios2/kernel/ |
D | asm-offsets.c | 17 OFFSET(TASK_THREAD, task_struct, thread); in main() 21 OFFSET(THREAD_KSP, thread_struct, ksp); in main() 22 OFFSET(THREAD_KPSR, thread_struct, kpsr); in main() 26 OFFSET(PT_ORIG_R2, pt_regs, orig_r2); in main() 27 OFFSET(PT_ORIG_R7, pt_regs, orig_r7); in main() 29 OFFSET(PT_R1, pt_regs, r1); in main() 30 OFFSET(PT_R2, pt_regs, r2); in main() 31 OFFSET(PT_R3, pt_regs, r3); in main() 32 OFFSET(PT_R4, pt_regs, r4); in main() 33 OFFSET(PT_R5, pt_regs, r5); in main() [all …]
|
/Linux-v6.1/arch/x86/kernel/ |
D | asm-offsets.c | 36 OFFSET(TASK_threadsp, task_struct, thread.sp); in common() 38 OFFSET(TASK_stack_canary, task_struct, stack_canary); in common() 42 OFFSET(pbe_address, pbe, address); in common() 43 OFFSET(pbe_orig_address, pbe, orig_address); in common() 44 OFFSET(pbe_next, pbe, next); in common() 48 OFFSET(IA32_SIGCONTEXT_ax, sigcontext_32, ax); in common() 49 OFFSET(IA32_SIGCONTEXT_bx, sigcontext_32, bx); in common() 50 OFFSET(IA32_SIGCONTEXT_cx, sigcontext_32, cx); in common() 51 OFFSET(IA32_SIGCONTEXT_dx, sigcontext_32, dx); in common() 52 OFFSET(IA32_SIGCONTEXT_si, sigcontext_32, si); in common() [all …]
|
D | asm-offsets_32.c | 15 OFFSET(CPUINFO_x86, cpuinfo_x86, x86); in foo() 16 OFFSET(CPUINFO_x86_vendor, cpuinfo_x86, x86_vendor); in foo() 17 OFFSET(CPUINFO_x86_model, cpuinfo_x86, x86_model); in foo() 18 OFFSET(CPUINFO_x86_stepping, cpuinfo_x86, x86_stepping); in foo() 19 OFFSET(CPUINFO_cpuid_level, cpuinfo_x86, cpuid_level); in foo() 20 OFFSET(CPUINFO_x86_capability, cpuinfo_x86, x86_capability); in foo() 21 OFFSET(CPUINFO_x86_vendor_id, cpuinfo_x86, x86_vendor_id); in foo() 24 OFFSET(PT_EBX, pt_regs, bx); in foo() 25 OFFSET(PT_ECX, pt_regs, cx); in foo() 26 OFFSET(PT_EDX, pt_regs, dx); in foo() [all …]
|
/Linux-v6.1/arch/hexagon/kernel/ |
D | asm-offsets.c | 32 OFFSET(_PT_SYSCALL_NR, pt_regs, syscall_nr); in main() 33 OFFSET(_PT_GPUGP, pt_regs, gpugp); in main() 34 OFFSET(_PT_CS1CS0, pt_regs, cs1cs0); in main() 35 OFFSET(_PT_R3130, pt_regs, r3130); in main() 36 OFFSET(_PT_R2928, pt_regs, r2928); in main() 37 OFFSET(_PT_R2726, pt_regs, r2726); in main() 38 OFFSET(_PT_R2524, pt_regs, r2524); in main() 39 OFFSET(_PT_R2322, pt_regs, r2322); in main() 40 OFFSET(_PT_R2120, pt_regs, r2120); in main() 41 OFFSET(_PT_R1918, pt_regs, r1918); in main() [all …]
|
/Linux-v6.1/drivers/infiniband/hw/hns/ |
D | hns_roce_restrack.c | 51 int offset = 0; in hns_roce_fill_res_cq_entry_raw() local 61 data[offset++] = hr_reg_read(&context, CQC_CQ_ST); in hns_roce_fill_res_cq_entry_raw() 62 data[offset++] = hr_reg_read(&context, CQC_SHIFT); in hns_roce_fill_res_cq_entry_raw() 63 data[offset++] = hr_reg_read(&context, CQC_CQE_SIZE); in hns_roce_fill_res_cq_entry_raw() 64 data[offset++] = hr_reg_read(&context, CQC_CQE_CNT); in hns_roce_fill_res_cq_entry_raw() 65 data[offset++] = hr_reg_read(&context, CQC_CQ_PRODUCER_IDX); in hns_roce_fill_res_cq_entry_raw() 66 data[offset++] = hr_reg_read(&context, CQC_CQ_CONSUMER_IDX); in hns_roce_fill_res_cq_entry_raw() 67 data[offset++] = hr_reg_read(&context, CQC_DB_RECORD_EN); in hns_roce_fill_res_cq_entry_raw() 68 data[offset++] = hr_reg_read(&context, CQC_ARM_ST); in hns_roce_fill_res_cq_entry_raw() 69 data[offset++] = hr_reg_read(&context, CQC_CMD_SN); in hns_roce_fill_res_cq_entry_raw() [all …]
|
/Linux-v6.1/drivers/crypto/cavium/nitrox/ |
D | nitrox_hal.c | 44 u64 offset; in nitrox_config_emu_unit() local 58 offset = EMU_WD_INT_ENA_W1SX(i); in nitrox_config_emu_unit() 59 nitrox_write_csr(ndev, offset, emu_wd_int.value); in nitrox_config_emu_unit() 60 offset = EMU_GE_INT_ENA_W1SX(i); in nitrox_config_emu_unit() 61 nitrox_write_csr(ndev, offset, emu_ge_int.value); in nitrox_config_emu_unit() 70 u64 offset; in reset_pkt_input_ring() local 73 offset = NPS_PKT_IN_INSTR_CTLX(ring); in reset_pkt_input_ring() 74 pkt_in_ctl.value = nitrox_read_csr(ndev, offset); in reset_pkt_input_ring() 76 nitrox_write_csr(ndev, offset, pkt_in_ctl.value); in reset_pkt_input_ring() 81 pkt_in_ctl.value = nitrox_read_csr(ndev, offset); in reset_pkt_input_ring() [all …]
|
/Linux-v6.1/drivers/net/ethernet/microchip/lan966x/ |
D | lan966x_ethtool.c | 12 { .name = "rx_octets", .offset = 0x00, }, 13 { .name = "rx_unicast", .offset = 0x01, }, 14 { .name = "rx_multicast", .offset = 0x02 }, 15 { .name = "rx_broadcast", .offset = 0x03 }, 16 { .name = "rx_short", .offset = 0x04 }, 17 { .name = "rx_frag", .offset = 0x05 }, 18 { .name = "rx_jabber", .offset = 0x06 }, 19 { .name = "rx_crc", .offset = 0x07 }, 20 { .name = "rx_symbol_err", .offset = 0x08 }, 21 { .name = "rx_sz_64", .offset = 0x09 }, [all …]
|
/Linux-v6.1/arch/powerpc/include/asm/ |
D | cpu_setup.h | 8 void __setup_cpu_power7(unsigned long offset, struct cpu_spec *spec); 9 void __setup_cpu_power8(unsigned long offset, struct cpu_spec *spec); 10 void __setup_cpu_power9(unsigned long offset, struct cpu_spec *spec); 11 void __setup_cpu_power10(unsigned long offset, struct cpu_spec *spec); 17 void __setup_cpu_e500v1(unsigned long offset, struct cpu_spec *spec); 18 void __setup_cpu_e500v2(unsigned long offset, struct cpu_spec *spec); 19 void __setup_cpu_e500mc(unsigned long offset, struct cpu_spec *spec); 20 void __setup_cpu_440ep(unsigned long offset, struct cpu_spec *spec); 21 void __setup_cpu_440epx(unsigned long offset, struct cpu_spec *spec); 22 void __setup_cpu_440gx(unsigned long offset, struct cpu_spec *spec); [all …]
|
/Linux-v6.1/drivers/thunderbolt/ |
D | cap.c | 21 u32 value, offset; in tb_port_enable_tmu() local 29 offset = 0x26; in tb_port_enable_tmu() 31 offset = 0x2a; in tb_port_enable_tmu() 35 ret = tb_sw_read(sw, &value, TB_CFG_SWITCH, offset, 1); in tb_port_enable_tmu() 44 return tb_sw_write(sw, &value, TB_CFG_SWITCH, offset, 1); in tb_port_enable_tmu() 65 * @offset: Previous capability offset (%0 for start) 67 * Returns dword offset of the next capability in port config space 72 int tb_port_next_cap(struct tb_port *port, unsigned int offset) in tb_port_next_cap() argument 77 if (!offset) in tb_port_next_cap() 80 ret = tb_port_read(port, &header, TB_CFG_PORT, offset, 1); in tb_port_next_cap() [all …]
|
/Linux-v6.1/scripts/dtc/libfdt/ |
D | fdt_ro.c | 13 static int fdt_nodename_eq_(const void *fdt, int offset, in fdt_nodename_eq_() argument 17 const char *p = fdt_get_name(fdt, offset, &olen); in fdt_nodename_eq_() 117 int offset = -1; in fdt_find_max_phandle() local 122 offset = fdt_next_node(fdt, offset, NULL); in fdt_find_max_phandle() 123 if (offset < 0) { in fdt_find_max_phandle() 124 if (offset == -FDT_ERR_NOTFOUND) in fdt_find_max_phandle() 127 return offset; in fdt_find_max_phandle() 130 value = fdt_get_phandle(fdt, offset); in fdt_find_max_phandle() 162 unsigned int offset = n * sizeof(struct fdt_reserve_entry); in fdt_mem_rsv() local 163 unsigned int absoffset = fdt_off_mem_rsvmap(fdt) + offset; in fdt_mem_rsv() [all …]
|
/Linux-v6.1/drivers/misc/ocxl/ |
D | mmio.c | 7 int ocxl_global_mmio_read32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read32() argument 10 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_read32() 20 *val = readl_be((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read32() 24 *val = readl((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read32() 32 int ocxl_global_mmio_read64(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_read64() argument 35 if (offset > afu->config.global_mmio_size - 8) in ocxl_global_mmio_read64() 45 *val = readq_be((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read64() 49 *val = readq((char *)afu->global_mmio_ptr + offset); in ocxl_global_mmio_read64() 57 int ocxl_global_mmio_write32(struct ocxl_afu *afu, size_t offset, in ocxl_global_mmio_write32() argument 60 if (offset > afu->config.global_mmio_size - 4) in ocxl_global_mmio_write32() [all …]
|
/Linux-v6.1/drivers/net/wireless/ath/ath10k/ |
D | qmi_wlfw_v01.c | 17 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01, 26 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01, 35 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01, 44 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01, 53 .offset = offsetof(struct wlfw_ce_tgt_pipe_cfg_s_v01, 66 .offset = offsetof(struct wlfw_ce_svc_pipe_cfg_s_v01, 75 .offset = offsetof(struct wlfw_ce_svc_pipe_cfg_s_v01, 84 .offset = offsetof(struct wlfw_ce_svc_pipe_cfg_s_v01, 97 .offset = offsetof(struct wlfw_shadow_reg_cfg_s_v01, 106 .offset = offsetof(struct wlfw_shadow_reg_cfg_s_v01, [all …]
|
/Linux-v6.1/arch/arm/kernel/ |
D | module.c | 78 * instruction with immediate offset. E.g., 94 static u32 get_group_rem(u32 group, u32 *offset) in get_group_rem() argument 96 u32 val = *offset; in get_group_rem() 100 *offset = val; in get_group_rem() 126 s32 offset; in apply_relocate() local 132 offset = ELF32_R_SYM(rel->r_info); in apply_relocate() 133 if (offset < 0 || offset > (symsec->sh_size / sizeof(Elf32_Sym))) { in apply_relocate() 134 pr_err("%s: section %u reloc %u: bad relocation sym offset\n", in apply_relocate() 139 sym = ((Elf32_Sym *)symsec->sh_addr) + offset; in apply_relocate() 143 pr_err("%s: section %u reloc %u sym '%s': out of bounds relocation, offset %d size %u\n", in apply_relocate() [all …]
|
/Linux-v6.1/arch/mips/include/asm/octeon/ |
D | cvmx-pexp-defs.h | 31 #define CVMX_PEXP_NPEI_BAR1_INDEXX(offset) (CVMX_ADD_IO_SEG(0x00011F0000008000ull) + ((offset) & 31… argument 43 #define CVMX_PEXP_NPEI_DMAX_COUNTS(offset) (CVMX_ADD_IO_SEG(0x00011F0000008450ull) + ((offset) & 7)… argument 44 #define CVMX_PEXP_NPEI_DMAX_DBELL(offset) (CVMX_ADD_IO_SEG(0x00011F00000083B0ull) + ((offset) & 7) … argument 45 #define CVMX_PEXP_NPEI_DMAX_IBUFF_SADDR(offset) (CVMX_ADD_IO_SEG(0x00011F0000008400ull) + ((offset)… argument 46 #define CVMX_PEXP_NPEI_DMAX_NADDR(offset) (CVMX_ADD_IO_SEG(0x00011F00000084A0ull) + ((offset) & 7) … argument 68 #define CVMX_PEXP_NPEI_MEM_ACCESS_SUBIDX(offset) (CVMX_ADD_IO_SEG(0x00011F0000008280ull) + ((offset… argument 92 #define CVMX_PEXP_NPEI_PKTX_CNTS(offset) (CVMX_ADD_IO_SEG(0x00011F000000A400ull) + ((offset) & 31) … argument 93 #define CVMX_PEXP_NPEI_PKTX_INSTR_BADDR(offset) (CVMX_ADD_IO_SEG(0x00011F000000A800ull) + ((offset)… argument 94 #define CVMX_PEXP_NPEI_PKTX_INSTR_BAOFF_DBELL(offset) (CVMX_ADD_IO_SEG(0x00011F000000AC00ull) + ((o… argument 95 #define CVMX_PEXP_NPEI_PKTX_INSTR_FIFO_RSIZE(offset) (CVMX_ADD_IO_SEG(0x00011F000000B000ull) + ((of… argument [all …]
|