Home
last modified time | relevance | path

Searched refs:_bit (Results 1 – 25 of 63) sorted by relevance

123

/openbmc/linux/drivers/reset/sti/
H A Dreset-stih407.c18 #define STIH407_PDN_0(_bit) \ argument
19 _SYSCFG_RST_CH(stih407_core, SYSCFG_5000, _bit, SYSSTAT_5500, _bit)
20 #define STIH407_PDN_1(_bit) \ argument
21 _SYSCFG_RST_CH(stih407_core, SYSCFG_5001, _bit, SYSSTAT_5501, _bit)
22 #define STIH407_PDN_ETH(_bit, _stat) \ argument
57 #define STIH407_SRST_CORE(_reg, _bit) \ argument
58 _SYSCFG_RST_CH_NO_ACK(stih407_core, _reg, _bit)
60 #define STIH407_SRST_SBC(_reg, _bit) \ argument
61 _SYSCFG_RST_CH_NO_ACK(stih407_sbc_reg, _reg, _bit)
63 #define STIH407_SRST_LPM(_reg, _bit) \ argument
[all …]
/openbmc/linux/sound/soc/mediatek/mt8188/
H A Dmt8188-audsys-clk.c33 .bit = _bit, \
38 #define GATE_AFE(_id, _name, _parent, _reg, _bit) \ argument
39 GATE_AFE_FLAGS(_id, _name, _parent, _reg, _bit, \
42 #define GATE_AUD0(_id, _name, _parent, _bit) \ argument
43 GATE_AFE(_id, _name, _parent, AUDIO_TOP_CON0, _bit)
45 #define GATE_AUD1(_id, _name, _parent, _bit) \ argument
46 GATE_AFE(_id, _name, _parent, AUDIO_TOP_CON1, _bit)
48 #define GATE_AUD3(_id, _name, _parent, _bit) \ argument
51 #define GATE_AUD4(_id, _name, _parent, _bit) \ argument
54 #define GATE_AUD5(_id, _name, _parent, _bit) \ argument
[all …]
/openbmc/linux/sound/soc/mediatek/mt8195/
H A Dmt8195-audsys-clk.c33 .bit = _bit, \
38 #define GATE_AFE(_id, _name, _parent, _reg, _bit) \ argument
39 GATE_AFE_FLAGS(_id, _name, _parent, _reg, _bit, \
42 #define GATE_AUD0(_id, _name, _parent, _bit) \ argument
43 GATE_AFE(_id, _name, _parent, AUDIO_TOP_CON0, _bit)
45 #define GATE_AUD1(_id, _name, _parent, _bit) \ argument
46 GATE_AFE(_id, _name, _parent, AUDIO_TOP_CON1, _bit)
48 #define GATE_AUD3(_id, _name, _parent, _bit) \ argument
51 #define GATE_AUD4(_id, _name, _parent, _bit) \ argument
54 #define GATE_AUD5(_id, _name, _parent, _bit) \ argument
[all …]
/openbmc/linux/sound/soc/mediatek/mt8186/
H A Dmt8186-audsys-clk.c27 #define GATE_AFE_FLAGS(_id, _name, _parent, _reg, _bit, _flags, _cgflags) {\ argument
32 .bit = _bit, \
37 #define GATE_AFE(_id, _name, _parent, _reg, _bit) \ argument
38 GATE_AFE_FLAGS(_id, _name, _parent, _reg, _bit, \
41 #define GATE_AUD0(_id, _name, _parent, _bit) \ argument
42 GATE_AFE(_id, _name, _parent, AUDIO_TOP_CON0, _bit)
44 #define GATE_AUD1(_id, _name, _parent, _bit) \ argument
45 GATE_AFE(_id, _name, _parent, AUDIO_TOP_CON1, _bit)
47 #define GATE_AUD2(_id, _name, _parent, _bit) \ argument
48 GATE_AFE(_id, _name, _parent, AUDIO_TOP_CON2, _bit)
/openbmc/u-boot/drivers/reset/
H A Dsti-reset.c79 #define STIH407_SRST_CORE(_reg, _bit) \ argument
80 _SYSCFG_RST_CH_NO_ACK(stih407_core, _reg, _bit)
82 #define STIH407_SRST_SBC(_reg, _bit) \ argument
83 _SYSCFG_RST_CH_NO_ACK(stih407_sbc_reg, _reg, _bit)
85 #define STIH407_SRST_LPM(_reg, _bit) \ argument
86 _SYSCFG_RST_CH_NO_ACK(stih407_lpm, _reg, _bit)
88 #define STIH407_PDN_0(_bit) \ argument
89 _SYSCFG_RST_CH(stih407_core, SYSCFG_5000, _bit, SYSSTAT_5500, _bit)
90 #define STIH407_PDN_1(_bit) \ argument
91 _SYSCFG_RST_CH(stih407_core, SYSCFG_5001, _bit, SYSSTAT_5501, _bit)
[all …]
H A Dreset-uniphier.c27 #define UNIPHIER_RESET(_id, _reg, _bit) \ argument
31 .bit = (_bit), \
34 #define UNIPHIER_RESETX(_id, _reg, _bit) \ argument
38 .bit = (_bit), \
/openbmc/linux/drivers/clk/meson/
H A Dclk-regmap.h117 #define __MESON_PCLK(_name, _reg, _bit, _ops, _pname) \ argument
121 .bit_idx = (_bit), \
132 #define MESON_PCLK(_name, _reg, _bit, _pname) \ argument
133 __MESON_PCLK(_name, _reg, _bit, &clk_regmap_gate_ops, _pname)
135 #define MESON_PCLK_RO(_name, _reg, _bit, _pname) \ argument
136 __MESON_PCLK(_name, _reg, _bit, &clk_regmap_gate_ro_ops, _pname)
/openbmc/linux/drivers/clk/renesas/
H A Drzg2l-cpg.h186 #define DEF_MOD_BASE(_name, _id, _parent, _off, _bit, _is_coupled) \ argument
192 .bit = (_bit), \
196 #define DEF_MOD(_name, _id, _parent, _off, _bit) \ argument
197 DEF_MOD_BASE(_name, _id, _parent, _off, _bit, false)
199 #define DEF_COUPLED(_name, _id, _parent, _off, _bit) \ argument
200 DEF_MOD_BASE(_name, _id, _parent, _off, _bit, true)
215 #define DEF_RST_MON(_id, _off, _bit, _monbit) \ argument
218 .bit = (_bit), \
221 #define DEF_RST(_id, _off, _bit) \ argument
222 DEF_RST_MON(_id, _off, _bit, -1)
/openbmc/u-boot/arch/arm/include/asm/arch-sunxi/
H A Dccu.h33 #define GATE(_off, _bit) { \ argument
35 .bit = _bit, \
51 #define RESET(_off, _bit) { \ argument
53 .bit = _bit, \
/openbmc/u-boot/drivers/clk/uniphier/
H A Dclk-uniphier.h59 #define UNIPHIER_CLK_GATE(_id, _parent, _reg, _bit) \ argument
66 .bit = (_bit), \
70 #define UNIPHIER_CLK_GATE_SIMPLE(_id, _reg, _bit) \ argument
71 UNIPHIER_CLK_GATE(_id, UNIPHIER_CLK_ID_INVALID, _reg, _bit)
/openbmc/linux/arch/xtensa/include/asm/
H A Dbitops.h102 static inline void arch_##op##_bit(unsigned int bit, volatile unsigned long *p)\
122 arch_test_and_##op##_bit(unsigned int bit, volatile unsigned long *p) \
145 static inline void arch_##op##_bit(unsigned int bit, volatile unsigned long *p)\
166 arch_test_and_##op##_bit(unsigned int bit, volatile unsigned long *p) \
/openbmc/linux/drivers/pinctrl/mediatek/
H A Dpinctrl-mtk-common.h109 #define MTK_PIN_DRV_GRP(_pin, _offset, _bit, _grp) \ argument
113 .bit = _bit, \
157 #define MTK_PIN_IES_SMT_SPEC(_start, _end, _offset, _bit) \ argument
161 .bit = _bit, \
/openbmc/linux/Documentation/
H A Datomic_bitops.txt20 {set,clear,change}_bit()
25 test_and_{set,clear,change}_bit()
47 The test_and_{}_bit() operations return the original value of the bit.
/openbmc/u-boot/drivers/clk/
H A Dclk_meson.h18 #define MESON_GATE(id, _reg, _bit) \ argument
21 .bit = (_bit), \
/openbmc/linux/drivers/clk/bcm/
H A Dclk-kona.h91 #define POLICY(_offset, _bit) \ argument
94 .bit = (_bit), \
375 #define TRIGGER(_offset, _bit) \ argument
378 .bit = (_bit), \
434 #define CCU_LVM_EN(_offset, _bit) \ argument
437 .bit = (_bit), \
/openbmc/qemu/include/hw/
H A Dqdev-properties.h83 #define DEFINE_PROP_BIT(_name, _state, _field, _bit, _defval) \ argument
85 .bitnr = (_bit), \
97 #define DEFINE_PROP_BIT64(_name, _state, _field, _bit, _defval) \ argument
99 .bitnr = (_bit), \
/openbmc/linux/arch/sh/kernel/cpu/sh4a/
H A Dclock-sh7366.c108 #define DIV4(_reg, _bit, _mask, _flags) \ argument
109 SH_CLK_DIV4(&pll_clk, _reg, _bit, _mask, _flags)
128 #define MSTP(_parent, _reg, _bit, _flags) \ argument
129 SH_CLK_MSTP32(_parent, _reg, _bit, _flags)
H A Dclock-sh7343.c105 #define DIV4(_reg, _bit, _mask, _flags) \ argument
106 SH_CLK_DIV4(&pll_clk, _reg, _bit, _mask, _flags)
125 #define MSTP(_parent, _reg, _bit, _flags) \ argument
126 SH_CLK_MSTP32(_parent, _reg, _bit, _flags)
H A Dclock-sh7757.c62 #define DIV4(_bit, _mask, _flags) \ argument
63 SH_CLK_DIV4(&pll_clk, FRQCR, _bit, _mask, _flags)
H A Dclock-shx3.c61 #define DIV4(_bit, _mask, _flags) \ argument
62 SH_CLK_DIV4(&pll_clk, FRQMR1, _bit, _mask, _flags)
/openbmc/linux/drivers/reset/
H A Dreset-uniphier.c27 #define UNIPHIER_RESET(_id, _reg, _bit) \ argument
31 .bit = (_bit), \
34 #define UNIPHIER_RESETX(_id, _reg, _bit) \ argument
38 .bit = (_bit), \
/openbmc/linux/drivers/clk/mvebu/
H A Darmada-37xx-periph.c129 #define PERIPH_GATE(_name, _bit) \ argument
132 .bit_idx = _bit, \
181 #define PERIPH_CLK_FULL_DD(_name, _bit, _shift, _reg1, _reg2, _shift1, _shift2)\ argument
182 static PERIPH_GATE(_name, _bit); \
186 #define PERIPH_CLK_FULL(_name, _bit, _shift, _reg, _shift1, _table) \ argument
187 static PERIPH_GATE(_name, _bit); \
191 #define PERIPH_CLK_GATE_DIV(_name, _bit, _reg, _shift, _table) \ argument
192 static PERIPH_GATE(_name, _bit); \
/openbmc/linux/arch/sh/kernel/cpu/sh2a/
H A Dclock-sh7264.c77 #define DIV4(_reg, _bit, _mask, _flags) \ argument
78 SH_CLK_DIV4(&pll_clk, _reg, _bit, _mask, _flags)
H A Dclock-sh7269.c105 #define DIV4(_reg, _bit, _mask, _flags) \ argument
106 SH_CLK_DIV4(&pll_clk, _reg, _bit, _mask, _flags)
/openbmc/linux/drivers/clk/uniphier/
H A Dclk-uniphier.h95 #define UNIPHIER_CLK_GATE(_name, _idx, _parent, _reg, _bit) \ argument
103 .bit = (_bit), \

123