/linux-6.3-rc2/arch/sh/kernel/cpu/sh4a/ |
A D | clock-sh7770.c | 30 int idx = ((__raw_readl(FRQCR) >> 28) & 0x000f); in module_clk_recalc() local 40 int idx = (__raw_readl(FRQCR) & 0x000f); in bus_clk_recalc() local 50 int idx = ((__raw_readl(FRQCR) >> 24) & 0x000f); in cpu_clk_recalc() local 65 void __init arch_init_clk_ops(struct sh_clk_ops **ops, int idx) in arch_init_clk_ops()
|
A D | perf_event.c | 14 #define PPC_CCBR(idx) (0xff200800 + (sizeof(u32) * idx)) argument 15 #define PPC_PMCTR(idx) (0xfc100000 + (sizeof(u32) * idx)) argument 227 static u64 sh4a_pmu_read(int idx) in sh4a_pmu_read() 232 static void sh4a_pmu_disable(struct hw_perf_event *hwc, int idx) in sh4a_pmu_disable() 241 static void sh4a_pmu_enable(struct hw_perf_event *hwc, int idx) in sh4a_pmu_enable()
|
A D | clock-sh7763.c | 33 int idx = ((__raw_readl(FRQCR) >> 4) & 0x07); in module_clk_recalc() local 43 int idx = ((__raw_readl(FRQCR) >> 16) & 0x07); in bus_clk_recalc() local 62 void __init arch_init_clk_ops(struct sh_clk_ops **ops, int idx) in arch_init_clk_ops() 70 int idx = ((__raw_readl(FRQCR) >> 20) & 0x07); in shyway_clk_recalc() local
|
/linux-6.3-rc2/arch/sh/kernel/cpu/sh3/ |
A D | clock-sh7705.c | 41 int idx = __raw_readw(FRQCR) & 0x0003; in module_clk_recalc() local 51 int idx = (__raw_readw(FRQCR) & 0x0300) >> 8; in bus_clk_recalc() local 61 int idx = (__raw_readw(FRQCR) & 0x0030) >> 4; in cpu_clk_recalc() local 76 void __init arch_init_clk_ops(struct sh_clk_ops **ops, int idx) in arch_init_clk_ops()
|
/linux-6.3-rc2/arch/sh/kernel/cpu/sh4/ |
A D | clock-sh4.c | 37 int idx = (__raw_readw(FRQCR) & 0x0007); in module_clk_recalc() local 47 int idx = (__raw_readw(FRQCR) >> 3) & 0x0007; in bus_clk_recalc() local 57 int idx = (__raw_readw(FRQCR) >> 6) & 0x0007; in cpu_clk_recalc() local 72 void __init arch_init_clk_ops(struct sh_clk_ops **ops, int idx) in arch_init_clk_ops()
|
/linux-6.3-rc2/arch/sh/kernel/cpu/sh2a/ |
A D | clock-sh7201.c | 36 int idx = (__raw_readw(FREQCR) & 0x0007); in module_clk_recalc() local 46 int idx = (__raw_readw(FREQCR) & 0x0007); in bus_clk_recalc() local 56 int idx = ((__raw_readw(FREQCR) >> 4) & 0x0007); in cpu_clk_recalc() local 71 void __init arch_init_clk_ops(struct sh_clk_ops **ops, int idx) in arch_init_clk_ops()
|
/linux-6.3-rc2/drivers/perf/ |
A D | qcom_l2_pmu.c | 155 static inline u32 idx_to_reg_bit(u32 idx) in idx_to_reg_bit() 208 static inline void cluster_pmu_counter_enable(u32 idx) in cluster_pmu_counter_enable() 301 u32 idx = hwc->idx; in l2_cache_event_update() local 322 u32 idx = hwc->idx; in l2_cache_cluster_set_period() local 343 int idx; in l2_cache_get_event_idx() local 378 int idx = hwc->idx; in l2_cache_clear_event_idx() local 390 int idx; in l2_cache_handle_irq() local 545 int idx = hwc->idx; in l2_cache_event_start() local 575 int idx = hwc->idx; in l2_cache_event_stop() local 591 int idx; in l2_cache_event_add() local [all …]
|
A D | arm_smmuv3_pmu.c | 171 u32 idx, u64 value) in smmu_pmu_counter_set_value() 207 u32 idx) in smmu_pmu_interrupt_disable() 228 u32 idx = hwc->idx; in smmu_pmu_event_update() local 245 u32 idx = hwc->idx; in smmu_pmu_set_period() local 272 int idx, u32 span, u32 sid) in smmu_pmu_set_event_filter() 329 int idx, err; in smmu_pmu_get_event_idx() local 429 int idx = hwc->idx; in smmu_pmu_event_start() local 442 int idx = hwc->idx; in smmu_pmu_event_stop() local 456 int idx; in smmu_pmu_event_add() local 483 int idx = hwc->idx; in smmu_pmu_event_del() local [all …]
|
/linux-6.3-rc2/arch/arm/kernel/ |
A D | perf_event_v7.c | 750 int idx = hwc->idx; in armv7pmu_read_counter() local 770 int idx = hwc->idx; in armv7pmu_write_counter() local 877 int idx = hwc->idx; in armv7pmu_enable_event() local 923 int idx = hwc->idx; in armv7pmu_disable_event() local 955 int idx; in armv7pmu_handle_irq() local 1035 int idx; in armv7pmu_get_event_idx() local 1497 int idx = hwc->idx; in krait_pmu_disable_event() local 1523 int idx = hwc->idx; in krait_pmu_enable_event() local 1609 int idx; in krait_pmu_get_event_idx() local 1830 int idx = hwc->idx; in scorpion_pmu_disable_event() local [all …]
|
/linux-6.3-rc2/drivers/media/pci/pt3/ |
A D | pt3_dma.c | 16 static u32 get_dma_base(int idx) in get_dma_base() 61 static u8 *next_unit(struct pt3_adapter *adap, int *idx, int *ofs) in next_unit() 75 int idx, ofs; in pt3_proc_dma() local 107 int idx, ofs; in pt3_init_dmabuf() local 150 int idx, ofs; in pt3_alloc_dmabuf() local
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/clk/ |
A D | gf100.c | 133 read_clk(struct gf100_clk *clk, int idx) in read_clk() 210 calc_div(struct gf100_clk *clk, int idx, u32 ref, u32 freq, u32 *ddiv) in calc_div() 221 calc_src(struct gf100_clk *clk, int idx, u32 freq, u32 *dsrc, u32 *ddiv) in calc_src() 250 calc_pll(struct gf100_clk *clk, int idx, u32 freq, u32 *coef) in calc_pll() 274 calc_clk(struct gf100_clk *clk, struct nvkm_cstate *cstate, int idx, int dom) in calc_clk() 344 gf100_clk_prog_0(struct gf100_clk *clk, int idx) in gf100_clk_prog_0() 355 gf100_clk_prog_1(struct gf100_clk *clk, int idx) in gf100_clk_prog_1() 366 gf100_clk_prog_2(struct gf100_clk *clk, int idx) in gf100_clk_prog_2() 393 gf100_clk_prog_3(struct gf100_clk *clk, int idx) in gf100_clk_prog_3() 408 gf100_clk_prog_4(struct gf100_clk *clk, int idx) in gf100_clk_prog_4()
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | perf_event.c | 161 static u64 loongarch_pmu_read_counter(unsigned int idx) in loongarch_pmu_read_counter() 186 static void loongarch_pmu_write_counter(unsigned int idx, u64 val) in loongarch_pmu_write_counter() 207 static unsigned int loongarch_pmu_read_control(unsigned int idx) in loongarch_pmu_read_control() 232 static void loongarch_pmu_write_control(unsigned int idx, unsigned int val) in loongarch_pmu_write_control() 265 static void loongarch_pmu_enable_event(struct hw_perf_event *evt, int idx) in loongarch_pmu_enable_event() 285 static void loongarch_pmu_disable_event(int idx) in loongarch_pmu_disable_event() 301 int idx) in loongarch_pmu_event_set_period() 337 int idx) in loongarch_pmu_event_update() 387 int idx, err = 0; in loongarch_pmu_add() local 424 int idx = hwc->idx; in loongarch_pmu_del() local [all …]
|
A D | unaligned.c | 30 static inline unsigned long read_fpr(unsigned int idx) in read_fpr() 32 #define READ_FPR(idx, __value) \ in read_fpr() argument 141 static inline void write_fpr(unsigned int idx, unsigned long value) in write_fpr() 143 #define WRITE_FPR(idx, value) \ in write_fpr() argument
|
/linux-6.3-rc2/drivers/net/ethernet/microchip/sparx5/ |
A D | sparx5_qos.c | 103 u32 idx) in sparx5_lg_get_next() 128 u32 idx) in sparx5_lg_is_last() 134 u32 idx) in sparx5_lg_is_first() 165 u32 idx, u32 *group) in sparx5_lg_get_group_by_index() 211 u32 idx, u32 *prev, u32 *next, u32 *first) in sparx5_lg_get_adjacent() 237 u32 se_first, u32 idx, u32 idx_next, bool empty) in sparx5_lg_conf_set() 266 static int sparx5_lg_del(struct sparx5 *sparx5, u32 layer, u32 group, u32 idx) in sparx5_lg_del() 295 u32 idx) in sparx5_lg_add() 327 u32 idx, u32 group) in sparx5_shaper_conf_set() 491 u32 layer, u32 idx) in sparx5_tc_tbf_add() [all …]
|
/linux-6.3-rc2/drivers/perf/hisilicon/ |
A D | hisi_pcie_pmu.c | 191 u32 idx) in hisi_pcie_pmu_readl() 391 int idx; in hisi_pcie_pmu_find_related_event() local 413 int idx; in hisi_pcie_pmu_get_event_idx() local 447 int idx = hwc->idx; in hisi_pcie_pmu_set_period() local 456 u32 idx = hwc->idx; in hisi_pcie_pmu_enable_counter() local 466 u32 idx = hwc->idx; in hisi_pcie_pmu_disable_counter() local 476 u32 idx = hwc->idx; in hisi_pcie_pmu_enable_int() local 483 u32 idx = hwc->idx; in hisi_pcie_pmu_disable_int() local 498 int idx = hwc->idx; in hisi_pcie_pmu_start() local 542 int idx; in hisi_pcie_pmu_add() local [all …]
|
/linux-6.3-rc2/drivers/net/ethernet/ti/ |
A D | cpsw_ale.c | 109 int idx; in cpsw_ale_get_field() local 120 int idx; in cpsw_ale_set_field() local 334 int type, idx; in cpsw_ale_match_addr() local 424 int ret, idx; in cpsw_ale_flush_multicast() local 471 int idx; in cpsw_ale_add_ucast() local 497 int idx; in cpsw_ale_del_ucast() local 546 int idx; in cpsw_ale_del_mcast() local 574 int idx; in cpsw_ale_set_vlan_mcast() local 603 int idx; in cpsw_ale_add_vlan() local 682 int idx; in cpsw_ale_vlan_del_modify() local [all …]
|
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/bios/ |
A D | dp.c | 60 nvbios_dpout_entry(struct nvkm_bios *bios, u8 idx, in nvbios_dpout_entry() 91 nvbios_dpout_parse(struct nvkm_bios *bios, u8 idx, in nvbios_dpout_parse() 142 u16 data, idx = 0; in nvbios_dpout_match() local 153 nvbios_dpcfg_entry(struct nvkm_bios *bios, u16 outp, u8 idx, in nvbios_dpcfg_entry() 171 nvbios_dpcfg_parse(struct nvkm_bios *bios, u16 outp, u8 idx, in nvbios_dpcfg_parse() 211 u8 idx = 0xff; in nvbios_dpcfg_match() local
|
A D | rammap.c | 60 nvbios_rammapEe(struct nvkm_bios *bios, int idx, in nvbios_rammapEe() 91 nvbios_rammapEp(struct nvkm_bios *bios, int idx, in nvbios_rammapEp() 136 int idx = 0; in nvbios_rammapEm() local 147 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, u8 *ver, u8 *hdr) in nvbios_rammapSe() 159 nvbios_rammapSp_from_perf(struct nvkm_bios *bios, u32 data, u8 size, int idx, in nvbios_rammapSp_from_perf() 191 u8 ever, u8 ehdr, u8 ecnt, u8 elen, int idx, in nvbios_rammapSp()
|
A D | cstep.c | 59 nvbios_cstepEe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) in nvbios_cstepEe() 72 nvbios_cstepEp(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, in nvbios_cstepEp() 88 u32 data, idx = 0; in nvbios_cstepEm() local 97 nvbios_cstepXe(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr) in nvbios_cstepXe() 110 nvbios_cstepXp(struct nvkm_bios *bios, int idx, u8 *ver, u8 *hdr, in nvbios_cstepXp()
|
/linux-6.3-rc2/include/sound/ |
A D | hda_regmap.h | 50 #define snd_hdac_regmap_encode_amp(nid, ch, dir, idx) \ argument 64 #define snd_hdac_regmap_encode_amp_stereo(nid, dir, idx) \ argument 137 int ch, int dir, int idx) in snd_hdac_regmap_get_amp() 161 int ch, int dir, int idx, int mask, int val) in snd_hdac_regmap_update_amp() 182 int dir, int idx) in snd_hdac_regmap_get_amp_stereo() 206 int dir, int idx, int mask, int val) in snd_hdac_regmap_update_amp_stereo()
|
/linux-6.3-rc2/include/linux/ |
A D | hugetlb_cgroup.h | 218 static inline int hugetlb_cgroup_charge_cgroup(int idx, unsigned long nr_pages, in hugetlb_cgroup_charge_cgroup() 224 static inline int hugetlb_cgroup_charge_cgroup_rsvd(int idx, in hugetlb_cgroup_charge_cgroup_rsvd() 231 static inline void hugetlb_cgroup_commit_charge(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge() 238 hugetlb_cgroup_commit_charge_rsvd(int idx, unsigned long nr_pages, in hugetlb_cgroup_commit_charge_rsvd() 244 static inline void hugetlb_cgroup_uncharge_folio(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_folio() 249 static inline void hugetlb_cgroup_uncharge_folio_rsvd(int idx, in hugetlb_cgroup_uncharge_folio_rsvd() 254 static inline void hugetlb_cgroup_uncharge_cgroup(int idx, in hugetlb_cgroup_uncharge_cgroup() 261 hugetlb_cgroup_uncharge_cgroup_rsvd(int idx, unsigned long nr_pages, in hugetlb_cgroup_uncharge_cgroup_rsvd()
|
A D | vmstat.h | 557 enum node_stat_item idx, int val) in mod_lruvec_page_state() 587 enum node_stat_item idx, int val) in mod_lruvec_page_state() 595 enum node_stat_item idx) in __inc_lruvec_page_state() 601 enum node_stat_item idx) in __dec_lruvec_page_state() 613 enum node_stat_item idx) in __lruvec_stat_add_folio() 619 enum node_stat_item idx) in __lruvec_stat_sub_folio() 625 enum node_stat_item idx) in inc_lruvec_page_state() 631 enum node_stat_item idx) in dec_lruvec_page_state() 637 enum node_stat_item idx, int val) in lruvec_stat_mod_folio() 643 enum node_stat_item idx) in lruvec_stat_add_folio() [all …]
|
/linux-6.3-rc2/arch/arm/mach-omap2/ |
A D | prm2xxx_3xxx.h | 53 static inline u32 omap2_prm_read_mod_reg(s16 module, u16 idx) in omap2_prm_read_mod_reg() 58 static inline void omap2_prm_write_mod_reg(u32 val, s16 module, u16 idx) in omap2_prm_write_mod_reg() 65 s16 idx) in omap2_prm_rmw_mod_reg_bits() 78 static inline u32 omap2_prm_read_mod_bits_shift(s16 domain, s16 idx, u32 mask) in omap2_prm_read_mod_bits_shift() 89 static inline u32 omap2_prm_set_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_set_mod_reg_bits() 94 static inline u32 omap2_prm_clear_mod_reg_bits(u32 bits, s16 module, s16 idx) in omap2_prm_clear_mod_reg_bits()
|
/linux-6.3-rc2/drivers/vdpa/vdpa_sim/ |
A D | vdpa_sim.c | 58 static void vdpasim_queue_ready(struct vdpasim *vdpasim, unsigned int idx) in vdpasim_queue_ready() 206 static int vdpasim_set_vq_address(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_address() 220 static void vdpasim_set_vq_num(struct vdpa_device *vdpa, u16 idx, u32 num) in vdpasim_set_vq_num() 228 static void vdpasim_kick_vq(struct vdpa_device *vdpa, u16 idx) in vdpasim_kick_vq() 243 static void vdpasim_set_vq_cb(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_cb() 253 static void vdpasim_set_vq_ready(struct vdpa_device *vdpa, u16 idx, bool ready) in vdpasim_set_vq_ready() 268 static bool vdpasim_get_vq_ready(struct vdpa_device *vdpa, u16 idx) in vdpasim_get_vq_ready() 276 static int vdpasim_set_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_set_vq_state() 290 static int vdpasim_get_vq_state(struct vdpa_device *vdpa, u16 idx, in vdpasim_get_vq_state() 301 static int vdpasim_get_vq_stats(struct vdpa_device *vdpa, u16 idx, in vdpasim_get_vq_stats() [all …]
|
/linux-6.3-rc2/drivers/reset/sti/ |
A D | reset-syscfg.c | 50 unsigned long idx, int assert) in syscfg_reset_program_hw() 89 unsigned long idx) in syscfg_reset_assert() 95 unsigned long idx) in syscfg_reset_deassert() 101 unsigned long idx) in syscfg_reset_dev() 113 unsigned long idx) in syscfg_reset_status()
|