/openbmc/linux/drivers/clk/uniphier/ |
H A D | clk-uniphier-sys.c | 27 #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 51 #define UNIPHIER_LD11_SYS_CLK_HSC(idx) \ argument 54 #define UNIPHIER_PRO4_SYS_CLK_GIO(idx) \ argument 60 #define UNIPHIER_PRO4_SYS_CLK_AIO(idx) \ argument 64 #define UNIPHIER_PRO5_SYS_CLK_AIO(idx) \ argument [all …]
|
H A D | clk-uniphier-peri.c | 9 #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
|
/openbmc/linux/drivers/net/ethernet/huawei/hinic/ |
H A D | hinic_hw_csr.h | 21 #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 …]
|
/openbmc/linux/include/asm-generic/ |
H A D | fixmap.h | 30 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
|
/openbmc/linux/drivers/net/netdevsim/ |
H A D | macsec.c | 38 int idx; in nsim_macsec_add_secy() local 67 int idx; in nsim_macsec_upd_secy() local 85 int idx; in nsim_macsec_del_secy() local 108 int idx; in nsim_macsec_add_rxsc() local 143 int idx; in nsim_macsec_upd_rxsc() local 170 int idx; in nsim_macsec_del_rxsc() local 201 int idx; in nsim_macsec_add_rxsa() local 228 int idx; in nsim_macsec_upd_rxsa() local 255 int idx; in nsim_macsec_del_rxsa() local 281 int idx; in nsim_macsec_add_txsa() local [all …]
|
/openbmc/linux/mm/ |
H A D | hugetlb_cgroup.c | 42 hugetlb_cgroup_counter_from_cgroup(struct hugetlb_cgroup *h_cg, int idx) in hugetlb_cgroup_counter_from_cgroup() 91 int idx; in hugetlb_cgroup_init() local 298 int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup() 332 void hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge() 471 int idx = MEMFILE_IDX(cft->private); in hugetlb_cgroup_read_numa_stat() local 554 int idx; in hugetlb_cgroup_read_u64_max() local 598 int ret, idx; in hugetlb_cgroup_write() local 687 int idx; in __hugetlb_events_show() local 714 static void __init __hugetlb_cgroup_file_dfl_init(int idx) in __hugetlb_cgroup_file_dfl_init() 785 static void __init __hugetlb_cgroup_file_legacy_init(int idx) in __hugetlb_cgroup_file_legacy_init() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/ |
H A D | uprobe_multi.c | 10 #define NAME(name, idx) PASTE(name, idx) argument 12 #define DEF(name, idx) int NAME(name, idx)(void) { return 0; } argument 13 #define CALL(name, idx) NAME(name, idx)(); argument 15 #define F(body, name, idx) body(name, idx) argument 17 #define F10(body, name, idx) \ argument 23 #define F100(body, name, idx) \ argument 29 #define F1000(body, name, idx) \ argument 35 #define F10000(body, name, idx) \ argument
|
/openbmc/linux/drivers/net/ethernet/ibm/emac/ |
H A D | rgmii.c | 36 #define RGMII_FER_MASK(idx) (0x7 << ((idx) * 4)) argument 37 #define RGMII_FER_RTBI(idx) (0x4 << ((idx) * 4)) argument 38 #define RGMII_FER_RGMII(idx) (0x5 << ((idx) * 4)) argument 39 #define RGMII_FER_TBI(idx) (0x6 << ((idx) * 4)) argument 40 #define RGMII_FER_GMII(idx) (0x7 << ((idx) * 4)) argument 41 #define RGMII_FER_MII(idx) RGMII_FER_GMII(idx) argument 44 #define RGMII_SSR_MASK(idx) (0x7 << ((idx) * 8)) argument 45 #define RGMII_SSR_10(idx) (0x1 << ((idx) * 8)) argument 46 #define RGMII_SSR_100(idx) (0x2 << ((idx) * 8)) argument 47 #define RGMII_SSR_1000(idx) (0x4 << ((idx) * 8)) argument
|
H A D | zmii.c | 31 #define ZMII_FER_MDI(idx) (0x80000000 >> ((idx) * 4)) argument 35 #define ZMII_FER_SMII(idx) (0x40000000 >> ((idx) * 4)) argument 36 #define ZMII_FER_RMII(idx) (0x20000000 >> ((idx) * 4)) argument 37 #define ZMII_FER_MII(idx) (0x10000000 >> ((idx) * 4)) argument 40 #define ZMII_SSR_SCI(idx) (0x40000000 >> ((idx) * 4)) argument 41 #define ZMII_SSR_FSS(idx) (0x20000000 >> ((idx) * 4)) argument 42 #define ZMII_SSR_SP(idx) (0x10000000 >> ((idx) * 4)) argument
|
/openbmc/linux/kernel/events/ |
H A D | hw_breakpoint_test.c | 31 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
|
/openbmc/linux/arch/x86/crypto/ |
H A D | sha512-avx-asm.S | 131 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 D | sha512-ssse3-asm.S | 125 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
|
/openbmc/linux/arch/x86/um/ |
H A D | tls_32.c | 66 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()
|
/openbmc/qemu/tcg/ |
H A D | tcg-op-ldst.c | 179 TCGArg idx, MemOp memop) in tcg_gen_qemu_ld_i32_int() 233 TCGArg idx, MemOp memop) in tcg_gen_qemu_st_i32_int() 290 TCGArg idx, MemOp memop) in tcg_gen_qemu_ld_i64_int() 358 TCGArg idx, MemOp memop) in tcg_gen_qemu_st_i64_int() 506 TCGArg idx, MemOp memop) in tcg_gen_qemu_ld_i128_int() 622 TCGArg idx, MemOp memop) in tcg_gen_qemu_st_i128_int() 849 TCGArg idx, MemOp memop, in tcg_gen_nonatomic_cmpxchg_i32_chk() 886 TCGArg idx, MemOp memop, in tcg_gen_atomic_cmpxchg_i32_chk() 931 TCGArg idx, MemOp memop, in tcg_gen_nonatomic_cmpxchg_i64_chk() 1055 TCGArg idx, MemOp memop, in tcg_gen_nonatomic_cmpxchg_i128_chk() [all …]
|
/openbmc/linux/arch/sh/kernel/cpu/sh4a/ |
H A D | ubc.c | 15 #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 D | clock-sh7780.c | 33 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
|
/openbmc/linux/arch/sh/kernel/cpu/sh3/ |
H A D | clock-sh7709.c | 25 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 D | clock-sh3.c | 29 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 D | clock-sh7706.c | 25 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()
|
/openbmc/u-boot/arch/riscv/lib/ |
H A D | setjmp.S | 10 #define STORE_IDX(reg, idx) sd reg, (idx*8)(a0) argument 11 #define LOAD_IDX(reg, idx) ld reg, (idx*8)(a0) argument 13 #define STORE_IDX(reg, idx) sw reg, (idx*4)(a0) argument 14 #define LOAD_IDX(reg, idx) lw reg, (idx*4)(a0) argument
|
/openbmc/linux/drivers/input/misc/ |
H A D | ad714x.c | 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() 449 static void ad714x_wheel_cal_abs_pos(struct ad714x_chip *ad714x, int idx) in ad714x_wheel_cal_abs_pos() 480 static void ad714x_wheel_cal_flt_pos(struct ad714x_chip *ad714x, int idx) in ad714x_wheel_cal_flt_pos() 496 static void ad714x_wheel_use_com_int(struct ad714x_chip *ad714x, int idx) in ad714x_wheel_use_com_int() 574 static void touchpad_cal_sensor_val(struct ad714x_chip *ad714x, int idx) in touchpad_cal_sensor_val() 654 static void touchpad_cal_abs_pos(struct ad714x_chip *ad714x, int idx) in touchpad_cal_abs_pos() 668 static void touchpad_cal_flt_pos(struct ad714x_chip *ad714x, int idx) in touchpad_cal_flt_pos() 699 static int touchpad_check_endpoint(struct ad714x_chip *ad714x, int idx) in touchpad_check_endpoint() 776 static void touchpad_use_com_int(struct ad714x_chip *ad714x, int idx) in touchpad_use_com_int() [all …]
|
/openbmc/linux/tools/testing/selftests/bpf/progs/ |
H A D | verifier_iterating_callbacks.c | 33 static int unsafe_on_2nd_iter_cb(__u32 idx, struct buf_context *ctx) in unsafe_on_2nd_iter_cb() 57 static int unsafe_on_zero_iter_cb(__u32 idx, struct num_context *ctx) in unsafe_on_zero_iter_cb() 73 static int widening_cb(__u32 idx, struct num_context *ctx) in widening_cb() 92 static int loop_detection_cb(__u32 idx, struct num_context *ctx) in loop_detection_cb() 167 static int iter_limit_cb(__u32 idx, struct num_context *ctx) in iter_limit_cb() 193 static int iter_limit_level2a_cb(__u32 idx, struct num_context *ctx) in iter_limit_level2a_cb() 199 static int iter_limit_level2b_cb(__u32 idx, struct num_context *ctx) in iter_limit_level2b_cb() 205 static int iter_limit_level1_cb(__u32 idx, struct num_context *ctx) in iter_limit_level1_cb()
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | cm2xxx_3xxx.h | 50 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()
|
/openbmc/linux/tools/testing/selftests/kvm/lib/ |
H A D | sparsebit.c | 804 static void bit_set(struct sparsebit *s, sparsebit_idx_t idx) in bit_set() 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() 1251 sparsebit_idx_t idx; in sparsebit_next_clear() local 1306 sparsebit_idx_t idx; in sparsebit_next_set_num() local 1341 sparsebit_idx_t idx; in sparsebit_next_clear_num() local 1375 sparsebit_idx_t idx; in sparsebit_set_num() local 1457 sparsebit_idx_t idx; in sparsebit_clear_num() local 1521 void sparsebit_set(struct sparsebit *s, sparsebit_idx_t idx) in sparsebit_set() [all …]
|
/openbmc/linux/drivers/net/ethernet/chelsio/cxgb/ |
H A D | fpga_defs.h | 215 #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 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 228 #define MAC_REG_RMCNT(idx) MAC_REG_ADDR(idx, A_GMAC_RMT_CNT) argument [all …]
|