Home
last modified time | relevance | path

Searched defs:idx (Results 1 – 25 of 2735) sorted by relevance

12345678910>>...110

/linux-6.1.9/drivers/clk/uniphier/
Dclk-uniphier-sys.c27 #define UNIPHIER_LD4_SYS_CLK_NAND(idx) \ argument
31 #define UNIPHIER_PRO5_SYS_CLK_NAND(idx) \ argument
35 #define UNIPHIER_LD11_SYS_CLK_NAND(idx) \ argument
39 #define UNIPHIER_SYS_CLK_NAND_4X(idx) \ argument
42 #define UNIPHIER_LD11_SYS_CLK_EMMC(idx) \ argument
45 #define UNIPHIER_LD4_SYS_CLK_STDMAC(idx) \ argument
48 #define UNIPHIER_LD11_SYS_CLK_STDMAC(idx) \ argument
51 #define UNIPHIER_LD11_SYS_CLK_HSC(idx) \ argument
54 #define UNIPHIER_PRO4_SYS_CLK_GIO(idx) \ argument
57 #define UNIPHIER_PRO4_SYS_CLK_USB3(idx, ch) \ argument
[all …]
Dclk-uniphier-peri.c9 #define UNIPHIER_PERI_CLK_UART(idx, ch) \ argument
15 #define UNIPHIER_PERI_CLK_I2C(idx, ch) \ argument
18 #define UNIPHIER_PERI_CLK_FI2C(idx, ch) \ argument
21 #define UNIPHIER_PERI_CLK_SCSSI(idx, ch) \ argument
24 #define UNIPHIER_PERI_CLK_MCSSI(idx) \ argument
/linux-6.1.9/drivers/net/ethernet/huawei/hinic/
Dhinic_hw_csr.h21 #define HINIC_CSR_DMA_ATTR_ADDR(idx) \ argument
26 #define HINIC_CSR_PPF_ELECTION_ADDR(idx) \ argument
34 #define HINIC_CSR_API_CMD_CHAIN_HEAD_HI_ADDR(idx) \ argument
37 #define HINIC_CSR_API_CMD_CHAIN_HEAD_LO_ADDR(idx) \ argument
40 #define HINIC_CSR_API_CMD_STATUS_HI_ADDR(idx) \ argument
43 #define HINIC_CSR_API_CMD_STATUS_LO_ADDR(idx) \ argument
46 #define HINIC_CSR_API_CMD_CHAIN_NUM_CELLS_ADDR(idx) \ argument
49 #define HINIC_CSR_API_CMD_CHAIN_CTRL_ADDR(idx) \ argument
52 #define HINIC_CSR_API_CMD_CHAIN_PI_ADDR(idx) \ argument
55 #define HINIC_CSR_API_CMD_CHAIN_REQ_ADDR(idx) \ argument
[all …]
/linux-6.1.9/include/asm-generic/
Dfixmap.h30 static __always_inline unsigned long fix_to_virt(const unsigned int idx) in fix_to_virt()
64 #define set_fixmap(idx, phys) \ argument
69 #define clear_fixmap(idx) \ argument
74 #define __set_fixmap_offset(idx, phys, flags) \ argument
82 #define set_fixmap_offset(idx, phys) \ argument
88 #define set_fixmap_nocache(idx, phys) \ argument
91 #define set_fixmap_offset_nocache(idx, phys) \ argument
97 #define set_fixmap_io(idx, phys) \ argument
100 #define set_fixmap_offset_io(idx, phys) \ argument
/linux-6.1.9/mm/
Dhugetlb_cgroup.c33 __hugetlb_cgroup_counter_from_cgroup(struct hugetlb_cgroup *h_cg, int idx, in __hugetlb_cgroup_counter_from_cgroup()
42 hugetlb_cgroup_counter_from_cgroup(struct hugetlb_cgroup *h_cg, int idx) in hugetlb_cgroup_counter_from_cgroup()
48 hugetlb_cgroup_counter_from_cgroup_rsvd(struct hugetlb_cgroup *h_cg, int idx) in hugetlb_cgroup_counter_from_cgroup_rsvd()
91 int idx; in hugetlb_cgroup_init() local
187 static void hugetlb_cgroup_move_parent(int idx, struct hugetlb_cgroup *h_cg, in hugetlb_cgroup_move_parent()
241 static inline void hugetlb_event(struct hugetlb_cgroup *hugetlb, int idx, in hugetlb_event()
254 static int __hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in __hugetlb_cgroup_charge_cgroup()
297 int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup()
303 int hugetlb_cgroup_charge_cgroup_rsvd(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup_rsvd()
310 static void __hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, in __hugetlb_cgroup_commit_charge()
[all …]
/linux-6.1.9/kernel/events/
Dhw_breakpoint_test.c31 static struct perf_event *register_test_bp(int cpu, struct task_struct *tsk, int idx) in register_test_bp()
124 int idx = 0; in test_one_cpu() local
133 int idx = 0; in test_many_cpus() local
148 int idx = 0; in test_one_task_on_all_cpus() local
161 int idx = 0; in test_two_tasks_on_all_cpus() local
179 int idx = 0; in test_one_task_on_one_cpu() local
195 int idx = 0; in test_one_task_mixed() local
215 int idx = 0; in test_two_tasks_on_one_cpu() local
231 int idx = 0; in test_two_tasks_on_one_all_cpus() local
248 int idx = 0; in test_task_on_all_and_one_cpu() local
/linux-6.1.9/drivers/net/ethernet/ibm/emac/
Drgmii.c34 #define RGMII_FER_MASK(idx) (0x7 << ((idx) * 4)) argument
35 #define RGMII_FER_RTBI(idx) (0x4 << ((idx) * 4)) argument
36 #define RGMII_FER_RGMII(idx) (0x5 << ((idx) * 4)) argument
37 #define RGMII_FER_TBI(idx) (0x6 << ((idx) * 4)) argument
38 #define RGMII_FER_GMII(idx) (0x7 << ((idx) * 4)) argument
39 #define RGMII_FER_MII(idx) RGMII_FER_GMII(idx) argument
42 #define RGMII_SSR_MASK(idx) (0x7 << ((idx) * 8)) argument
43 #define RGMII_SSR_10(idx) (0x1 << ((idx) * 8)) argument
44 #define RGMII_SSR_100(idx) (0x2 << ((idx) * 8)) argument
45 #define RGMII_SSR_1000(idx) (0x4 << ((idx) * 8)) argument
Dzmii.c29 #define ZMII_FER_MDI(idx) (0x80000000 >> ((idx) * 4)) argument
33 #define ZMII_FER_SMII(idx) (0x40000000 >> ((idx) * 4)) argument
34 #define ZMII_FER_RMII(idx) (0x20000000 >> ((idx) * 4)) argument
35 #define ZMII_FER_MII(idx) (0x10000000 >> ((idx) * 4)) argument
38 #define ZMII_SSR_SCI(idx) (0x40000000 >> ((idx) * 4)) argument
39 #define ZMII_SSR_FSS(idx) (0x20000000 >> ((idx) * 4)) argument
40 #define ZMII_SSR_SP(idx) (0x10000000 >> ((idx) * 4)) argument
/linux-6.1.9/arch/x86/crypto/
Dsha512-avx-asm.S131 idx = \rnd define
172 idx = \rnd - 2 define
174 idx = \rnd - 15 define
187 idx = \rnd define
227 idx = \rnd - 16 define
229 idx = \rnd - 7 define
236 idx = \rnd + 1 define
248 idx = \rnd define
Dsha512-ssse3-asm.S125 idx = \rnd define
171 idx = \rnd -2 define
177 idx = \rnd define
179 idx = \rnd - 15 define
223 idx = \rnd + 1 define
244 idx = \rnd - 7 define
260 idx = \rnd define
/linux-6.1.9/arch/x86/um/
Dtls_32.c66 int idx; in get_free_idx() local
92 int idx; in load_TLS() local
201 int idx, int flushed) in set_tls_entry()
218 int idx, ret = -EFAULT; in arch_set_tls() local
236 int idx) in get_tls_entry()
274 int idx, ret; in SYSCALL_DEFINE1() local
305 int ptrace_set_thread_area(struct task_struct *child, int idx, in ptrace_set_thread_area()
322 int idx, ret; in SYSCALL_DEFINE1() local
344 int ptrace_get_thread_area(struct task_struct *child, int idx, in ptrace_get_thread_area()
/linux-6.1.9/drivers/input/misc/
Dad714x.c213 static void ad714x_button_state_machine(struct ad714x_chip *ad714x, int idx) in ad714x_button_state_machine()
248 static void ad714x_slider_cal_sensor_val(struct ad714x_chip *ad714x, int idx) in ad714x_slider_cal_sensor_val()
266 static void ad714x_slider_cal_highest_stage(struct ad714x_chip *ad714x, int idx) in ad714x_slider_cal_highest_stage()
291 static void ad714x_slider_cal_abs_pos(struct ad714x_chip *ad714x, int idx) in ad714x_slider_cal_abs_pos()
313 static void ad714x_slider_cal_flt_pos(struct ad714x_chip *ad714x, int idx) in ad714x_slider_cal_flt_pos()
324 static void ad714x_slider_use_com_int(struct ad714x_chip *ad714x, int idx) in ad714x_slider_use_com_int()
331 static void ad714x_slider_use_thr_int(struct ad714x_chip *ad714x, int idx) in ad714x_slider_use_thr_int()
338 static void ad714x_slider_state_machine(struct ad714x_chip *ad714x, int idx) in ad714x_slider_state_machine()
407 static void ad714x_wheel_cal_highest_stage(struct ad714x_chip *ad714x, int idx) in ad714x_wheel_cal_highest_stage()
420 static void ad714x_wheel_cal_sensor_val(struct ad714x_chip *ad714x, int idx) in ad714x_wheel_cal_sensor_val()
[all …]
/linux-6.1.9/arch/sh/kernel/cpu/sh4a/
Dubc.c15 #define UBC_CBR(idx) (0xff200000 + (0x20 * idx)) argument
16 #define UBC_CRR(idx) (0xff200004 + (0x20 * idx)) argument
17 #define UBC_CAR(idx) (0xff200008 + (0x20 * idx)) argument
18 #define UBC_CAMR(idx) (0xff20000c + (0x20 * idx)) argument
32 static void sh4a_ubc_enable(struct arch_hw_breakpoint *info, int idx) in sh4a_ubc_enable()
38 static void sh4a_ubc_disable(struct arch_hw_breakpoint *info, int idx) in sh4a_ubc_disable()
Dclock-sh7780.c33 int idx = (__raw_readl(FRQCR) & 0x0003); in module_clk_recalc() local
43 int idx = ((__raw_readl(FRQCR) >> 16) & 0x0007); in bus_clk_recalc() local
53 int idx = ((__raw_readl(FRQCR) >> 24) & 0x0001); in cpu_clk_recalc() local
68 void __init arch_init_clk_ops(struct sh_clk_ops **ops, int idx) in arch_init_clk_ops()
76 int idx = ((__raw_readl(FRQCR) >> 20) & 0x0007); in shyway_clk_recalc() local
/linux-6.1.9/arch/sh/kernel/cpu/sh3/
Dclock-sh3.c29 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init() local
41 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc() local
53 int idx = ((frqcr & 0x8000) >> 13) | ((frqcr & 0x0030) >> 4); in bus_clk_recalc() local
65 int idx = ((frqcr & 0x4000) >> 12) | ((frqcr & 0x000c) >> 2); in cpu_clk_recalc() local
81 void __init arch_init_clk_ops(struct sh_clk_ops **ops, int idx) in arch_init_clk_ops()
Dclock-sh7706.c25 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init() local
37 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc() local
49 int idx = ((frqcr & 0x8000) >> 13) | ((frqcr & 0x0030) >> 4); in bus_clk_recalc() local
61 int idx = ((frqcr & 0x4000) >> 12) | ((frqcr & 0x000c) >> 2); in cpu_clk_recalc() local
77 void __init arch_init_clk_ops(struct sh_clk_ops **ops, int idx) in arch_init_clk_ops()
Dclock-sh7709.c25 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in master_clk_init() local
37 int idx = ((frqcr & 0x2000) >> 11) | (frqcr & 0x0003); in module_clk_recalc() local
49 int idx = (frqcr & 0x0080) ? in bus_clk_recalc() local
62 int idx = ((frqcr & 0x4000) >> 12) | ((frqcr & 0x000c) >> 2); in cpu_clk_recalc() local
78 void __init arch_init_clk_ops(struct sh_clk_ops **ops, int idx) in arch_init_clk_ops()
/linux-6.1.9/tools/testing/selftests/kvm/lib/
Dsparsebit.c172 sparsebit_idx_t idx; /* index of least-significant bit in mask */ member
310 static struct node *node_find(struct sparsebit *s, sparsebit_idx_t idx) in node_find()
333 static struct node *node_add(struct sparsebit *s, sparsebit_idx_t idx) in node_add()
498 static struct node *node_split(struct sparsebit *s, sparsebit_idx_t idx) in node_split()
779 bool sparsebit_is_set(struct sparsebit *s, sparsebit_idx_t idx) in sparsebit_is_set()
805 static void bit_set(struct sparsebit *s, sparsebit_idx_t idx) in bit_set()
832 static void bit_clear(struct sparsebit *s, sparsebit_idx_t idx) in bit_clear()
986 sparsebit_idx_t idx, sparsebit_num_t num) in sparsebit_is_set_num()
1010 sparsebit_idx_t idx) in sparsebit_is_clear()
1017 sparsebit_idx_t idx, sparsebit_num_t num) in sparsebit_is_clear_num()
[all …]
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_sspp.c141 u32 *idx) in _sspp_subblk_offset()
176 u32 idx; in dpu_hw_sspp_setup_multirect() local
203 u32 idx; in _sspp_setup_opmode() local
224 u32 idx; in _sspp_setup_csc10_opmode() local
251 u32 idx; in dpu_hw_sspp_setup_format() local
367 u32 idx; in dpu_hw_sspp_setup_pe_config() local
421 u32 idx; in _dpu_hw_sspp_setup_scaler3() local
435 u32 idx; in _dpu_hw_sspp_get_scaler3_ver() local
453 u32 idx; in dpu_hw_sspp_setup_rects() local
520 u32 idx; in dpu_hw_sspp_setup_sourceaddress() local
[all …]
/linux-6.1.9/drivers/net/ethernet/chelsio/cxgb/
Dfpga_defs.h215 #define MAC_REG_ADDR(idx, reg) (MAC_REG_BASE + (idx) * 128 + (reg)) argument
217 #define MAC_REG_IDLO(idx) MAC_REG_ADDR(idx, A_GMAC_MACID_LO) argument
218 #define MAC_REG_IDHI(idx) MAC_REG_ADDR(idx, A_GMAC_MACID_HI) argument
219 #define MAC_REG_CSR(idx) MAC_REG_ADDR(idx, A_GMAC_CSR) argument
220 #define MAC_REG_IFS(idx) MAC_REG_ADDR(idx, A_GMAC_IFS) argument
221 #define MAC_REG_LARGEFRAMELENGTH(idx) MAC_REG_ADDR(idx, A_GMAC_JUMBO_FRAME_LEN) argument
222 #define MAC_REG_LINKDLY(idx) MAC_REG_ADDR(idx, A_GMAC_LNK_DLY) argument
223 #define MAC_REG_PAUSETIME(idx) MAC_REG_ADDR(idx, A_GMAC_PAUSETIME) argument
224 #define MAC_REG_CASTLO(idx) MAC_REG_ADDR(idx, A_GMAC_MCAST_LO) argument
225 #define MAC_REG_MCASTHI(idx) MAC_REG_ADDR(idx, A_GMAC_MCAST_HI) argument
[all …]
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
Dgk104.c145 read_clk(struct gk104_clk *clk, int idx) in read_clk()
223 calc_div(struct gk104_clk *clk, int idx, u32 ref, u32 freq, u32 *ddiv) in calc_div()
234 calc_src(struct gk104_clk *clk, int idx, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src()
263 calc_pll(struct gk104_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll()
288 struct nvkm_cstate *cstate, int idx, int dom) in calc_clk()
357 gk104_clk_prog_0(struct gk104_clk *clk, int idx) in gk104_clk_prog_0()
368 gk104_clk_prog_1_0(struct gk104_clk *clk, int idx) in gk104_clk_prog_1_0()
379 gk104_clk_prog_1_1(struct gk104_clk *clk, int idx) in gk104_clk_prog_1_1()
386 gk104_clk_prog_2(struct gk104_clk *clk, int idx) in gk104_clk_prog_2()
411 gk104_clk_prog_3(struct gk104_clk *clk, int idx) in gk104_clk_prog_3()
[all …]
/linux-6.1.9/arch/arm/mach-omap2/
Dcm2xxx_3xxx.h50 static inline u32 omap2_cm_read_mod_reg(s16 module, u16 idx) in omap2_cm_read_mod_reg()
55 static inline void omap2_cm_write_mod_reg(u32 val, s16 module, u16 idx) in omap2_cm_write_mod_reg()
62 s16 idx) in omap2_cm_rmw_mod_reg_bits()
75 static inline u32 omap2_cm_read_mod_bits_shift(s16 domain, s16 idx, u32 mask) in omap2_cm_read_mod_bits_shift()
86 static inline u32 omap2_cm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_set_mod_reg_bits()
91 static inline u32 omap2_cm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_cm_clear_mod_reg_bits()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
Ddisp.c59 nvbios_disp_entry(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, u8 *sub) in nvbios_disp_entry()
70 nvbios_disp_parse(struct nvkm_bios *bios, u8 idx, u8 *ver, u8 *len, u8 *sub, in nvbios_disp_parse()
82 nvbios_outp_entry(struct nvkm_bios *bios, u8 idx, in nvbios_outp_entry()
96 nvbios_outp_parse(struct nvkm_bios *bios, u8 idx, in nvbios_outp_parse()
119 u16 data, idx = 0; in nvbios_outp_match() local
130 nvbios_ocfg_entry(struct nvkm_bios *bios, u16 outp, u8 idx, in nvbios_ocfg_entry()
139 nvbios_ocfg_parse(struct nvkm_bios *bios, u16 outp, u8 idx, in nvbios_ocfg_parse()
156 u16 data, idx = 0; in nvbios_ocfg_match() local
/linux-6.1.9/drivers/perf/hisilicon/
Dhisi_pcie_pmu.c173 #define EXT_COUNTER_IS_USED(idx) ((idx) & BIT(16)) argument
180 static u32 hisi_pcie_pmu_get_offset(u32 offset, u32 idx) in hisi_pcie_pmu_get_offset()
186 u32 idx) in hisi_pcie_pmu_readl()
193 static void hisi_pcie_pmu_writel(struct hisi_pcie_pmu *pcie_pmu, u32 reg_offset, u32 idx, u32 val) in hisi_pcie_pmu_writel()
200 static u64 hisi_pcie_pmu_readq(struct hisi_pcie_pmu *pcie_pmu, u32 reg_offset, u32 idx) in hisi_pcie_pmu_readq()
207 static void hisi_pcie_pmu_writeq(struct hisi_pcie_pmu *pcie_pmu, u32 reg_offset, u32 idx, u64 val) in hisi_pcie_pmu_writeq()
371 u32 idx = event->hw.idx; in hisi_pcie_pmu_read_counter() local
380 int idx; in hisi_pcie_pmu_find_related_event() local
402 int idx; in hisi_pcie_pmu_get_event_idx() local
436 int idx = hwc->idx; in hisi_pcie_pmu_set_period() local
[all …]
/linux-6.1.9/drivers/net/ethernet/microchip/sparx5/
Dsparx5_qos.c46 u32 idx) in sparx5_lg_get_next()
71 u32 idx) in sparx5_lg_is_last()
77 u32 idx) in sparx5_lg_is_first()
108 u32 idx, u32 *group) in sparx5_lg_get_group_by_index()
154 u32 idx, u32 *prev, u32 *next, u32 *first) in sparx5_lg_get_adjacent()
180 u32 se_first, u32 idx, u32 idx_next, bool empty) in sparx5_lg_conf_set()
209 static int sparx5_lg_del(struct sparx5 *sparx5, u32 layer, u32 group, u32 idx) in sparx5_lg_del()
238 u32 idx) in sparx5_lg_add()
270 u32 idx, u32 group) in sparx5_shaper_conf_set()
428 u32 layer, u32 idx) in sparx5_tc_tbf_add()
[all …]

12345678910>>...110