Home
last modified time | relevance | path

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

12345678910>>...85

/linux/drivers/clk/uniphier/
H A 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 …]
H A 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/drivers/net/ethernet/huawei/hinic/
H A 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/include/asm-generic/
H A 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
/linux/mm/
H A Dhugetlb_cgroup.c43 __hugetlb_cgroup_counter_from_cgroup(struct hugetlb_cgroup *h_cg, int idx, in __hugetlb_cgroup_counter_from_cgroup() argument
52 hugetlb_cgroup_counter_from_cgroup(struct hugetlb_cgroup *h_cg, int idx) in hugetlb_cgroup_counter_from_cgroup() argument
58 hugetlb_cgroup_counter_from_cgroup_rsvd(struct hugetlb_cgroup *h_cg, int idx) in hugetlb_cgroup_counter_from_cgroup_rsvd() argument
101 int idx; in hugetlb_cgroup_init() local
197 hugetlb_cgroup_move_parent(int idx,struct hugetlb_cgroup * h_cg,struct page * page) hugetlb_cgroup_move_parent() argument
252 hugetlb_event(struct hugetlb_cgroup * hugetlb,int idx,enum hugetlb_memory_event event) hugetlb_event() argument
265 __hugetlb_cgroup_charge_cgroup(int idx,unsigned long nr_pages,struct hugetlb_cgroup ** ptr,bool rsvd) __hugetlb_cgroup_charge_cgroup() argument
302 hugetlb_cgroup_charge_cgroup(int idx,unsigned long nr_pages,struct hugetlb_cgroup ** ptr) hugetlb_cgroup_charge_cgroup() argument
308 hugetlb_cgroup_charge_cgroup_rsvd(int idx,unsigned long nr_pages,struct hugetlb_cgroup ** ptr) hugetlb_cgroup_charge_cgroup_rsvd() argument
315 __hugetlb_cgroup_commit_charge(int idx,unsigned long nr_pages,struct hugetlb_cgroup * h_cg,struct folio * folio,bool rsvd) __hugetlb_cgroup_commit_charge() argument
336 hugetlb_cgroup_commit_charge(int idx,unsigned long nr_pages,struct hugetlb_cgroup * h_cg,struct folio * folio) hugetlb_cgroup_commit_charge() argument
343 hugetlb_cgroup_commit_charge_rsvd(int idx,unsigned long nr_pages,struct hugetlb_cgroup * h_cg,struct folio * folio) hugetlb_cgroup_commit_charge_rsvd() argument
353 __hugetlb_cgroup_uncharge_folio(int idx,unsigned long nr_pages,struct folio * folio,bool rsvd) __hugetlb_cgroup_uncharge_folio() argument
385 hugetlb_cgroup_uncharge_folio(int idx,unsigned long nr_pages,struct folio * folio) hugetlb_cgroup_uncharge_folio() argument
391 hugetlb_cgroup_uncharge_folio_rsvd(int idx,unsigned long nr_pages,struct folio * folio) hugetlb_cgroup_uncharge_folio_rsvd() argument
397 __hugetlb_cgroup_uncharge_cgroup(int idx,unsigned long nr_pages,struct hugetlb_cgroup * h_cg,bool rsvd) __hugetlb_cgroup_uncharge_cgroup() argument
412 hugetlb_cgroup_uncharge_cgroup(int idx,unsigned long nr_pages,struct hugetlb_cgroup * h_cg) hugetlb_cgroup_uncharge_cgroup() argument
418 hugetlb_cgroup_uncharge_cgroup_rsvd(int idx,unsigned long nr_pages,struct hugetlb_cgroup * h_cg) hugetlb_cgroup_uncharge_cgroup_rsvd() argument
472 int idx = MEMFILE_IDX(cft->private); hugetlb_cgroup_read_numa_stat() local
555 int idx; hugetlb_cgroup_read_u64_max() local
599 int ret, idx; hugetlb_cgroup_write() local
688 int idx; __hugetlb_events_show() local
821 int i, idx = hstate_index(h); hugetlb_cgroup_cfttypes_init() local
846 int idx = hstate_index(h); __hugetlb_cgroup_file_dfl_init() local
854 int idx = hstate_index(h); __hugetlb_cgroup_file_legacy_init() local
[all...]
/linux/drivers/net/ethernet/microchip/sparx5/
H A Dsparx5_mirror.c24 static u64 sparx5_mirror_port_get(struct sparx5 *sparx5, u32 idx) in sparx5_mirror_port_get()
37 static void sparx5_mirror_port_add(struct sparx5 *sparx5, u32 idx, u32 portno) in sparx5_mirror_port_add()
51 static void sparx5_mirror_port_del(struct sparx5 *sparx5, u32 idx, u32 portno) in sparx5_mirror_port_del()
65 static bool sparx5_mirror_contains(struct sparx5 *sparx5, u32 idx, u32 portno) in sparx5_mirror_contains()
71 static bool sparx5_mirror_is_empty(struct sparx5 *sparx5, u32 idx) in sparx5_mirror_is_empty()
77 static u32 sparx5_mirror_dir_get(struct sparx5 *sparx5, u32 idx) in sparx5_mirror_dir_get()
85 static void sparx5_mirror_dir_set(struct sparx5 *sparx5, u32 idx, u32 dir) in sparx5_mirror_dir_set()
93 static void sparx5_mirror_monitor_set(struct sparx5 *sparx5, u32 idx, in sparx5_mirror_monitor_set()
102 static u32 sparx5_mirror_monitor_get(struct sparx5 *sparx5, u32 idx) in sparx5_mirror_monitor_get()
111 static bool sparx5_mirror_has_monitor(struct sparx5 *sparx5, u32 idx, in sparx5_mirror_has_monitor()
[all …]
/linux/kernel/events/
H A 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/tools/testing/selftests/bpf/
H A Duprobe_multi.c27 #define NAME(name, idx) PASTE(name, idx) argument
29 #define DEF(name, idx) int __attribute__((weak)) NAME(name, idx)(void) { return 0; } argument
30 #define CALL(name, idx) NAME(name, idx)(); argument
32 #define F(body, name, idx) body(name, idx) argument
34 #define F10(body, name, idx) \ argument
40 #define F100(body, name, idx) \ argument
46 #define F1000(body, name, idx) \ argument
52 #define F10000(body, name, idx) \ argument
/linux/arch/x86/crypto/
H A 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
H A 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/arch/x86/um/
H A Dtls_32.c51 int idx; in get_free_idx() local
77 int idx; in load_TLS() local
186 int idx, int flushed) in set_tls_entry()
203 int idx, ret = -EFAULT; in arch_set_tls() local
220 int idx) in get_tls_entry()
258 int idx, ret; in SYSCALL_DEFINE1() local
289 int ptrace_set_thread_area(struct task_struct *child, int idx, in ptrace_set_thread_area()
306 int idx, ret; in SYSCALL_DEFINE1() local
328 int ptrace_get_thread_area(struct task_struct *child, int idx, in ptrace_get_thread_area()
/linux/drivers/input/misc/
H A 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/tools/testing/selftests/bpf/progs/
H A Dtest_bpf_ma.c56 static __always_inline void batch_alloc(struct bpf_map *map, unsigned int batch, unsigned int idx) in batch_alloc()
83 static __always_inline void batch_free(struct bpf_map *map, unsigned int batch, unsigned int idx) in batch_free()
106 unsigned int idx) in batch_percpu_alloc()
134 unsigned int idx) in batch_percpu_free()
154 #define CALL_BATCH_ALLOC(size, batch, idx) \ argument
157 #define CALL_BATCH_ALLOC_FREE(size, batch, idx) \ argument
163 #define CALL_BATCH_PERCPU_ALLOC(size, batch, idx) \ argument
166 #define CALL_BATCH_PERCPU_ALLOC_FREE(size, batch, idx) \ argument
/linux/arch/sh/kernel/cpu/sh4a/
H A 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()
H A 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/tools/testing/selftests/kvm/lib/
H A Dsparsebit.c172 sparsebit_idx_t idx; /* index of least-significant bit in mask */ member
310 static struct node *node_find(const 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()
778 bool sparsebit_is_set(const struct sparsebit *s, sparsebit_idx_t idx) in sparsebit_is_set()
804 static void bit_set(struct sparsebit *s, sparsebit_idx_t idx) in bit_set()
831 static void bit_clear(struct sparsebit *s, sparsebit_idx_t idx) in bit_clear()
985 sparsebit_idx_t idx, sparsebit_num_t num) in sparsebit_is_set_num()
1009 sparsebit_idx_t idx) in sparsebit_is_clear()
1016 sparsebit_idx_t idx, sparsebit_num_t num) in sparsebit_is_clear_num()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb/
H A 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/arch/sh/kernel/cpu/sh3/
H A 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()
H A 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()
H A 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()
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/clk/
H A 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/drivers/gpu/drm/nouveau/nvkm/subdev/bios/
H A 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/drivers/perf/
H A Darm_smmuv3_pmu.c169 unsigned int idx; in smmu_pmu_enable_quirk_hip08_09() local
188 unsigned int idx; in smmu_pmu_disable_quirk_hip08_09() local
202 u32 idx, u64 value) in smmu_pmu_counter_set_value()
210 static inline u64 smmu_pmu_counter_get_value(struct smmu_pmu *smmu_pmu, u32 idx) in smmu_pmu_counter_get_value()
222 static inline void smmu_pmu_counter_enable(struct smmu_pmu *smmu_pmu, u32 idx) in smmu_pmu_counter_enable()
227 static inline void smmu_pmu_counter_disable(struct smmu_pmu *smmu_pmu, u32 idx) in smmu_pmu_counter_disable()
232 static inline void smmu_pmu_interrupt_enable(struct smmu_pmu *smmu_pmu, u32 idx) in smmu_pmu_interrupt_enable()
238 u32 idx) in smmu_pmu_interrupt_disable()
243 static inline void smmu_pmu_set_evtyper(struct smmu_pmu *smmu_pmu, u32 idx, in smmu_pmu_set_evtyper()
249 static inline void smmu_pmu_set_smr(struct smmu_pmu *smmu_pmu, u32 idx, u32 val) in smmu_pmu_set_smr()
[all …]
H A Darm_v7_pmu.c714 static inline int armv7_pmnc_counter_valid(struct arm_pmu *cpu_pmu, int idx) in armv7_pmnc_counter_valid()
719 static inline int armv7_pmnc_counter_has_overflowed(u32 pmnc, int idx) in armv7_pmnc_counter_has_overflowed()
724 static inline void armv7_pmnc_select_counter(int idx) in armv7_pmnc_select_counter()
734 int idx = hwc->idx; in armv7pmu_read_counter() local
754 int idx = hwc->idx; in armv7pmu_write_counter() local
767 static inline void armv7_pmnc_write_evtsel(int idx, u32 val) in armv7_pmnc_write_evtsel()
774 static inline void armv7_pmnc_enable_counter(int idx) in armv7_pmnc_enable_counter()
779 static inline void armv7_pmnc_disable_counter(int idx) in armv7_pmnc_disable_counter()
784 static inline void armv7_pmnc_enable_intens(int idx) in armv7_pmnc_enable_intens()
789 static inline void armv7_pmnc_disable_intens(int idx) in armv7_pmnc_disable_intens()
[all …]
/linux/arch/arm/mach-omap2/
H A 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()

12345678910>>...85