/linux-4.4.14/drivers/clk/ |
D | clk-gate.c | 59 reg = BIT(gate->bit_idx + 16); in clk_gate_endisable() 61 reg |= BIT(gate->bit_idx); in clk_gate_endisable() 66 reg |= BIT(gate->bit_idx); in clk_gate_endisable() 68 reg &= ~BIT(gate->bit_idx); in clk_gate_endisable() 100 reg ^= BIT(gate->bit_idx); in clk_gate_is_enabled() 102 reg &= BIT(gate->bit_idx); in clk_gate_is_enabled() 127 void __iomem *reg, u8 bit_idx, in clk_register_gate() argument 135 if (bit_idx > 15) { in clk_register_gate() 154 gate->bit_idx = bit_idx; in clk_register_gate()
|
D | clk-stm32f4.c | 37 u8 bit_idx; member 153 u8 bit_idx; member 163 if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) in clk_apb_mul_recalc_rate() 175 if (readl(base + STM32F4_RCC_CFGR) & BIT(am->bit_idx)) in clk_apb_mul_round_rate() 207 unsigned long flags, u8 bit_idx) in clk_register_apb_mul() argument 217 am->bit_idx = bit_idx; in clk_register_apb_mul() 357 8 * (gd->offset - STM32F4_RCC_AHB1ENR) + gd->bit_idx; in stm32f4_rcc_init() 365 base + gd->offset, gd->bit_idx, 0, &stm32f4_clk_lock); in stm32f4_rcc_init()
|
D | clk-asm9260.c | 87 u8 bit_idx; member 307 base + gd->reg, gd->bit_idx, 0, &asm9260_clk_lock); in asm9260_acc_init() 326 gd->bit_idx, 0, &asm9260_clk_lock); in asm9260_acc_init()
|
/linux-4.4.14/drivers/clk/imx/ |
D | clk-gate2.c | 33 u8 bit_idx; member 53 reg |= 3 << gate->bit_idx; in clk_gate2_enable() 78 reg &= ~(3 << gate->bit_idx); in clk_gate2_disable() 85 static int clk_gate2_reg_is_enabled(void __iomem *reg, u8 bit_idx) in clk_gate2_reg_is_enabled() argument 89 if (((val >> bit_idx) & 1) == 1) in clk_gate2_reg_is_enabled() 99 return clk_gate2_reg_is_enabled(gate->reg, gate->bit_idx); in clk_gate2_is_enabled() 112 reg &= ~(3 << gate->bit_idx); in clk_gate2_disable_unused() 128 void __iomem *reg, u8 bit_idx, in clk_register_gate2() argument 142 gate->bit_idx = bit_idx; in clk_register_gate2()
|
D | clk-gate-exclusive.c | 84 gate->bit_idx = shift; in imx_clk_gate_exclusive()
|
D | clk.h | 44 void __iomem *reg, u8 bit_idx,
|
/linux-4.4.14/drivers/xen/events/ |
D | events_2l.c | 167 int word_idx, bit_idx; in evtchn_2l_handle_events() local 177 bit_idx = evtchn % BITS_PER_LONG; in evtchn_2l_handle_events() 178 if (active_evtchns(cpu, s, word_idx) & (1ULL << bit_idx)) in evtchn_2l_handle_events() 204 bit_idx = 0; in evtchn_2l_handle_events() 210 bit_idx = 0; /* usually scan entire word from start */ in evtchn_2l_handle_events() 225 bit_idx = start_bit_idx; in evtchn_2l_handle_events() 232 bits = MASK_LSBS(pending_bits, bit_idx); in evtchn_2l_handle_events() 238 bit_idx = EVTCHN_FIRST_BIT(bits); in evtchn_2l_handle_events() 241 port = (word_idx * BITS_PER_EVTCHN_WORD) + bit_idx; in evtchn_2l_handle_events() 247 bit_idx = (bit_idx + 1) % BITS_PER_EVTCHN_WORD; in evtchn_2l_handle_events() [all …]
|
/linux-4.4.14/drivers/clk/hisilicon/ |
D | clkgate-separated.c | 41 u8 bit_idx; /* bits in enable/disable register */ member 55 reg = BIT(sclk->bit_idx); in clkgate_separated_enable() 72 reg = BIT(sclk->bit_idx); in clkgate_separated_disable() 86 reg &= BIT(sclk->bit_idx); in clkgate_separated_is_enabled() 100 void __iomem *reg, u8 bit_idx, in hisi_register_clkgate_sep() argument 120 sclk->bit_idx = bit_idx; in hisi_register_clkgate_sep()
|
D | clk.h | 100 u8 bit_idx; member
|
D | clk.c | 186 clks[i].bit_idx, in hisi_clk_register_gate() 214 clks[i].bit_idx, in hisi_clk_register_gate_sep()
|
/linux-4.4.14/drivers/clk/berlin/ |
D | common.h | 25 u8 bit_idx; member
|
D | bg2q.c | 356 gd->bit_idx, 0, &lock); in berlin2q_clock_setup()
|
D | bg2.c | 662 gd->bit_idx, 0, &lock); in berlin2_clock_setup()
|
/linux-4.4.14/drivers/clk/ti/ |
D | interface.c | 37 void __iomem *reg, u8 bit_idx, in _register_interface() argument 52 clk_hw->enable_bit = bit_idx; in _register_interface()
|
D | gate.c | 97 void __iomem *reg, u8 bit_idx, in _register_gate() argument 115 clk_hw->enable_bit = bit_idx; in _register_gate()
|
/linux-4.4.14/drivers/clk/mvebu/ |
D | common.h | 43 int bit_idx; member
|
D | common.c | 217 if (clkspec->args[0] == gate->bit_idx) in clk_gating_get_src() 285 desc[n].flags, base, desc[n].bit_idx, in mvebu_clk_gating_setup()
|
/linux-4.4.14/drivers/clk/sunxi/ |
D | clk-a10-hosc.c | 49 gate->bit_idx = SUNXI_OSC24M_GATE; in sun4i_osc_clk_setup()
|
D | clk-a10-mod1.c | 55 gate->bit_idx = SUN4I_MOD1_ENABLE; in sun4i_mod1_clk_setup()
|
D | clk-a20-gmac.c | 92 gate->bit_idx = SUN7I_A20_GMAC_GPIT; in sun7i_a20_gmac_clk_setup()
|
D | clk-a10-pll2.c | 87 gate->bit_idx = SUN4I_PLL2_ENABLE; in sun4i_pll2_setup()
|
D | clk-factors.c | 209 gate->bit_idx = data->enable; in sunxi_factors_register()
|
D | clk-sunxi.c | 1036 gate->bit_idx = data->div[i].gate; in sunxi_divs_clk_setup()
|
/linux-4.4.14/arch/arm/mach-dove/ |
D | common.c | 77 const char *parent, u8 bit_idx) in dove_register_gate() argument 81 bit_idx, 0, &gating_lock); in dove_register_gate()
|
/linux-4.4.14/drivers/clk/pxa/ |
D | clk-pxa.h | 90 .gate = { .reg = (void __iomem *)_cken_reg, .bit_idx = _cken_bit }, \
|
/linux-4.4.14/drivers/clk/shmobile/ |
D | clk-rcar-gen2.c | 188 gate->bit_idx = 8; in cpg_rcan_clk_register() 233 gate->bit_idx = 8; in cpg_adsp_clk_register()
|
/linux-4.4.14/drivers/clk/st/ |
D | clk-flexgen.c | 213 fgxbar->pgate.bit_idx = xbar_shift + 6; in clk_register_flexgen() 223 fgxbar->fgate.bit_idx = 6; in clk_register_flexgen()
|
D | clkgen-mux.c | 777 gate->bit_idx = i; in st_of_clkgen_vcc_setup()
|
D | clkgen-pll.c | 1015 gate->bit_idx = pll_data->odf_gate[odf].shift; in clkgen_odf_register()
|
/linux-4.4.14/drivers/clk/socfpga/ |
D | clk-pll.c | 116 pll_clk->hw.bit_idx = SOCFPGA_PLL_EXT_ENA; in __socfpga_pll_init()
|
D | clk-pll-a10.c | 114 pll_clk->hw.bit_idx = SOCFPGA_PLL_EXT_ENA; in __socfpga_pll_init()
|
D | clk-gate-a10.c | 130 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()
|
D | clk-gate.c | 203 socfpga_clk->hw.bit_idx = clk_gate[1]; in __socfpga_gate_init()
|
/linux-4.4.14/drivers/clk/samsung/ |
D | clk.h | 234 u8 bit_idx; member 247 .bit_idx = b, \
|
D | clk-exynos-clkout.c | 94 clkout->gate.bit_idx = EXYNOS_CLKOUT_DISABLE_SHIFT; in exynos_clkout_init()
|
D | clk.c | 269 list->bit_idx, list->gate_flags, &ctx->lock); in samsung_clk_register_gate()
|
/linux-4.4.14/drivers/clk/nxp/ |
D | clk-lpc18xx-cgu.c | 185 .bit_idx = 0, \ 216 .bit_idx = 0, \ 282 .bit_idx = 0, \
|
D | clk-lpc18xx-ccu.c | 229 branch->gate.bit_idx = 0; in lpc18xx_ccu_register_branch_gate_div()
|
/linux-4.4.14/drivers/clk/rockchip/ |
D | clk.c | 77 gate->bit_idx = gate_shift; in rockchip_clk_register_branch() 130 gate->bit_idx = gate_shift; in rockchip_clk_register_frac_branch()
|
/linux-4.4.14/drivers/net/wireless/ath/wcn36xx/ |
D | smd.c | 1758 int arr_idx, bit_idx; in set_feat_caps() local 1766 bit_idx = cap % 32; in set_feat_caps() 1767 bitmap[arr_idx] |= (1 << bit_idx); in set_feat_caps() 1772 int arr_idx, bit_idx; in get_feat_caps() local 1781 bit_idx = cap % 32; in get_feat_caps() 1782 ret = (bitmap[arr_idx] & (1 << bit_idx)) ? 1 : 0; in get_feat_caps() 1788 int arr_idx, bit_idx; in clear_feat_caps() local 1796 bit_idx = cap % 32; in clear_feat_caps() 1797 bitmap[arr_idx] &= ~(1 << bit_idx); in clear_feat_caps()
|
/linux-4.4.14/include/linux/ |
D | clk-provider.h | 311 u8 bit_idx; member 322 void __iomem *reg, u8 bit_idx,
|
/linux-4.4.14/drivers/clk/mmp/ |
D | clk.h | 171 u8 bit_idx; member
|
D | clk.c | 81 clks[i].bit_idx, in mmp_register_general_gate_clks()
|
/linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
D | i40e_virtchnl_pf.c | 868 u32 reg_idx, bit_idx; in i40e_free_vfs() local 920 bit_idx = (hw->func_caps.vf_base_id + vf_id) % 32; in i40e_free_vfs() 921 wr32(hw, I40E_GLGEN_VFLRSTAT(reg_idx), BIT(bit_idx)); in i40e_free_vfs() 2009 u32 reg, reg_idx, bit_idx, vf_id; in i40e_vc_process_vflr_event() local 2025 bit_idx = (hw->func_caps.vf_base_id + vf_id) % 32; in i40e_vc_process_vflr_event() 2029 if (reg & BIT(bit_idx)) { in i40e_vc_process_vflr_event() 2031 wr32(hw, I40E_GLGEN_VFLRSTAT(reg_idx), BIT(bit_idx)); in i40e_vc_process_vflr_event()
|
/linux-4.4.14/drivers/clk/mediatek/ |
D | clk-mtk.c | 181 gate->bit_idx = mc->gate_shift; in mtk_clk_register_composite()
|
/linux-4.4.14/drivers/clk/meson/ |
D | clkc.c | 103 gate->bit_idx = composite_conf->gate_parm.shift; in meson_clk_register_composite()
|
/linux-4.4.14/Documentation/ |
D | clk.txt | 102 u8 bit_idx; 136 reg |= BIT(gate->bit_idx);
|
/linux-4.4.14/arch/x86/kvm/ |
D | emulate.c | 2809 u16 tr, io_bitmap_ptr, perm, bit_idx = port & 0x7; in emulator_io_port_access_allowed() local 2830 if ((perm >> bit_idx) & mask) in emulator_io_port_access_allowed()
|