Home
last modified time | relevance | path

Searched refs:status_bit (Results 1 – 25 of 39) sorted by relevance

12

/openbmc/u-boot/arch/arm/cpu/armv7/bcm235xx/
H A Dclk-core.h146 u32 status_bit; /* 0: gate is disabled; 0: gatge is enabled */ member
177 .status_bit = (_status_bit), \
189 .status_bit = (_status_bit), \
200 .status_bit = (_status_bit), \
211 .status_bit = (_status_bit), \
221 .status_bit = (_status_bit), \
H A Dclk-core.c138 ret = wait_bit(base, cd->gate.offset, cd->gate.status_bit, 1); in peri_clk_enable()
150 ret = wait_bit(base, cd->gate.offset, cd->gate.status_bit, 0); in peri_clk_enable()
348 if (!!(reg & (1 << cd->gate.status_bit)) == !!enable) in bus_clk_enable()
361 ret = wait_bit(base, cd->gate.offset, cd->gate.status_bit, in bus_clk_enable()
/openbmc/u-boot/arch/arm/cpu/armv7/bcm281xx/
H A Dclk-core.h146 u32 status_bit; /* 0: gate is disabled; 0: gatge is enabled */ member
177 .status_bit = (_status_bit), \
189 .status_bit = (_status_bit), \
200 .status_bit = (_status_bit), \
211 .status_bit = (_status_bit), \
221 .status_bit = (_status_bit), \
H A Dclk-core.c138 ret = wait_bit(base, cd->gate.offset, cd->gate.status_bit, 1); in peri_clk_enable()
150 ret = wait_bit(base, cd->gate.offset, cd->gate.status_bit, 0); in peri_clk_enable()
348 if (!!(reg & (1 << cd->gate.status_bit)) == !!enable) in bus_clk_enable()
361 ret = wait_bit(base, cd->gate.offset, cd->gate.status_bit, in bus_clk_enable()
/openbmc/linux/drivers/clk/bcm/
H A Dclk-kona.h123 u32 status_bit; /* 0: gate is disabled; 0: gatge is enabled */ member
154 .status_bit = (_status_bit), \
166 .status_bit = (_status_bit), \
177 .status_bit = (_status_bit), \
188 .status_bit = (_status_bit), \
198 .status_bit = (_status_bit), \
H A Dclk-kona.c359 bit_mask = 1 << gate->status_bit; in __is_clk_gate_enabled()
430 return __ccu_wait_bit(ccu, gate->offset, gate->status_bit, enabled); in __gate_commit()
/openbmc/linux/drivers/input/misc/
H A Dpm8941-pwrkey.c59 unsigned int status_bit; member
167 sts &= pwrkey->data->status_bit; in pm8941_pwrkey_irq()
423 .status_bit = PON_KPDPWR_N_SET,
433 .status_bit = PON_RESIN_N_SET,
442 .status_bit = PON_GEN3_KPDPWR_N_SET,
451 .status_bit = PON_GEN3_RESIN_N_SET,
/openbmc/linux/drivers/iio/temperature/
H A Dmaxim_thermocouple.c102 u32 status_bit; member
110 .status_bit = BIT(2),
117 .status_bit = BIT(16),
155 if (*val & data->chip->status_bit) in maxim_thermocouple_read()
/openbmc/linux/drivers/reset/
H A Dreset-ti-syscon.c35 unsigned int status_bit; member
149 return !(reset_state & BIT(control->status_bit)) == in ti_syscon_reset_status()
195 controls[i].status_bit = be32_to_cpup(list++); in ti_syscon_reset_probe()
/openbmc/u-boot/arch/arm/mach-snapdragon/
H A Dclock-snapdragon.c35 if (readl(base + gpll0->status) & gpll0->status_bit) in clk_enable_gpll0()
40 while ((readl(base + gpll0->status) & gpll0->status_bit) == 0) in clk_enable_gpll0()
H A Dclock-snapdragon.h16 int status_bit; member
H A Dclock-apq8096.c32 .status_bit = GPLL0_STATUS_ACTIVE,
H A Dclock-apq8016.c40 .status_bit = GPLL0_STATUS_ACTIVE,
/openbmc/linux/drivers/clk/qcom/
H A Dclk-pll.h46 u8 status_bit; member
H A Da53-pll.c116 pll->status_bit = 16; in qcom_a53pll_probe()
H A Dgcc-msm8939.c59 .status_bit = 17,
90 .status_bit = 17,
121 .status_bit = 17,
152 .status_bit = 17,
183 .status_bit = 17,
230 .status_bit = 17,
276 .status_bit = 17,
307 .status_bit = 17,
H A Dgcc-ipq806x.c39 .status_bit = 16,
68 .status_bit = 16,
97 .status_bit = 16,
204 .status_bit = 16,
249 .status_bit = 16,
268 .status_bit = 16,
H A Dlcc-ipq806x.c33 .status_bit = 16,
H A Dgcc-mdm9615.c54 .status_bit = 16,
96 .status_bit = 16,
125 .status_bit = 16,
H A Dclk-pll.c191 if (val & BIT(pll->status_bit)) in wait_for_pll()
H A Dlcc-msm8960.c36 .status_bit = 16,
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/therm/
H A Dg84.c96 uint32_t thrs_reg, u8 status_bit, in g84_therm_threshold_hyst_emulation() argument
/openbmc/u-boot/drivers/mmc/
H A Dsunxi_mmc.c309 const uint32_t status_bit = reading ? SUNXI_MMC_STATUS_FIFO_EMPTY : in mmc_trans_data_by_cpu() local
326 while (readl(&priv->reg->status) & status_bit) { in mmc_trans_data_by_cpu()
/openbmc/linux/drivers/mmc/host/
H A Dsunplus-mmc.c185 static inline int spmmc_wait_sdstatus(struct spmmc_host *host, unsigned int status_bit) in spmmc_wait_sdstatus() argument
190 (status & status_bit), in spmmc_wait_sdstatus()
/openbmc/linux/drivers/regulator/
H A Dda9121-regulator.c138 int status_bit; /* bit masks... */ member
646 bool now_cleared = !(status[reg_idx] & item->status_bit); in da9121_status_poll_on()

12