Home
last modified time | relevance | path

Searched refs:enable (Results 1 – 25 of 788) sorted by relevance

12345678910>>...32

/linux-4.19.296/drivers/clk/bcm/
Dclk-ns2.c61 .enable = ENABLE_VAL(0x0, 18, 12, 0),
67 .enable = ENABLE_VAL(0x0, 19, 13, 0),
73 .enable = ENABLE_VAL(0x0, 20, 14, 0),
79 .enable = ENABLE_VAL(0x0, 21, 15, 0),
85 .enable = ENABLE_VAL(0x0, 22, 16, 0),
91 .enable = ENABLE_VAL(0x0, 23, 17, 0),
123 .enable = ENABLE_VAL(0x0, 18, 12, 0),
129 .enable = ENABLE_VAL(0x0, 19, 13, 0),
135 .enable = ENABLE_VAL(0x0, 20, 14, 0),
141 .enable = ENABLE_VAL(0x0, 21, 15, 0),
[all …]
Dclk-sr.c62 .enable = ENABLE_VAL(0x4, 6, 0, 12),
68 .enable = ENABLE_VAL(0x4, 7, 1, 13),
74 .enable = ENABLE_VAL(0x4, 8, 2, 14),
80 .enable = ENABLE_VAL(0x4, 9, 3, 15),
86 .enable = ENABLE_VAL(0x4, 10, 4, 16),
92 .enable = ENABLE_VAL(0x4, 11, 5, 17),
122 .enable = ENABLE_VAL(0x4, 6, 0, 12),
128 .enable = ENABLE_VAL(0x4, 7, 1, 13),
134 .enable = ENABLE_VAL(0x4, 8, 2, 14),
140 .enable = ENABLE_VAL(0x4, 9, 3, 15),
[all …]
Dclk-cygnus.c75 .enable = ENABLE_VAL(0x4, 6, 0, 12),
81 .enable = ENABLE_VAL(0x4, 7, 1, 13),
87 .enable = ENABLE_VAL(0x4, 8, 2, 14),
93 .enable = ENABLE_VAL(0x4, 9, 3, 15),
99 .enable = ENABLE_VAL(0x4, 10, 4, 16),
105 .enable = ENABLE_VAL(0x4, 11, 5, 17),
133 .enable = ENABLE_VAL(0x0, 7, 1, 13),
139 .enable = ENABLE_VAL(0x0, 8, 2, 14),
145 .enable = ENABLE_VAL(0x0, 9, 3, 15),
151 .enable = ENABLE_VAL(0x0, 10, 4, 16),
[all …]
Dclk-nsp.c60 .enable = ENABLE_VAL(0x4, 12, 6, 18),
66 .enable = ENABLE_VAL(0x4, 13, 7, 19),
72 .enable = ENABLE_VAL(0x4, 14, 8, 20),
78 .enable = ENABLE_VAL(0x4, 15, 9, 21),
84 .enable = ENABLE_VAL(0x4, 16, 10, 22),
90 .enable = ENABLE_VAL(0x4, 17, 11, 23),
117 .enable = ENABLE_VAL(0x0, 6, 3, 9),
123 .enable = ENABLE_VAL(0x0, 7, 4, 10),
129 .enable = ENABLE_VAL(0x0, 8, 5, 11),
/linux-4.19.296/drivers/clk/hisilicon/
Dclkgate-separated.c40 void __iomem *enable; /* enable register */ member
56 writel_relaxed(reg, sclk->enable); in clkgate_separated_enable()
57 readl_relaxed(sclk->enable + CLKGATE_SEPERATED_STATUS); in clkgate_separated_enable()
73 writel_relaxed(reg, sclk->enable + CLKGATE_SEPERATED_DISABLE); in clkgate_separated_disable()
74 readl_relaxed(sclk->enable + CLKGATE_SEPERATED_STATUS); in clkgate_separated_disable()
85 reg = readl_relaxed(sclk->enable + CLKGATE_SEPERATED_STATUS); in clkgate_separated_is_enabled()
92 .enable = clkgate_separated_enable,
117 sclk->enable = reg + CLKGATE_SEPERATED_ENABLE; in hisi_register_clkgate_sep()
/linux-4.19.296/drivers/media/rc/
Drc-loopback.c142 static void loop_set_idle(struct rc_dev *dev, bool enable) in loop_set_idle() argument
146 if (lodev->idle != enable) { in loop_set_idle()
147 dprintk("%sing idle mode\n", enable ? "enter" : "exit"); in loop_set_idle()
148 lodev->idle = enable; in loop_set_idle()
152 static int loop_set_learning_mode(struct rc_dev *dev, int enable) in loop_set_learning_mode() argument
156 if (lodev->learning != enable) { in loop_set_learning_mode()
157 dprintk("%sing learning mode\n", enable ? "enter" : "exit"); in loop_set_learning_mode()
158 lodev->learning = !!enable; in loop_set_learning_mode()
164 static int loop_set_carrier_report(struct rc_dev *dev, int enable) in loop_set_carrier_report() argument
168 if (lodev->carrierreport != enable) { in loop_set_carrier_report()
[all …]
/linux-4.19.296/drivers/cpuidle/
DKconfig.arm9 Select this to enable generic cpuidle driver for ARM.
23 Select this option to enable CPU idle driver for big.LITTLE based
32 Select this to enable cpuidle on Cirrus Logic CLPS711X SOCs.
39 Select this to enable cpuidle on Calxeda processors.
51 Select this to enable cpuidle on Xilinx Zynq processors.
57 Select this to enable cpuidle for ST-E u8500 processors
64 Select this to enable cpuidle for AT91 processors
71 Select this to enable cpuidle for Exynos processors
77 Select this to enable cpuidle on Armada 370, 38x and XP processors.
/linux-4.19.296/include/linux/platform_data/
Dnet-cw1200.h20 bool enable); /* Control 3v3 / 1v8 supply */
22 bool enable); /* Control CLK32K */
37 bool enable); /* Control 3v3 / 1v8 supply */
39 bool enable); /* Control CLK32K */
/linux-4.19.296/include/linux/mfd/
Dmenelaus.h18 extern int menelaus_set_mmc_opendrain(int slot, int enable);
19 extern int menelaus_set_mmc_slot(int slot, int enable, int power, int cd_on);
26 extern int menelaus_set_slot_sel(int enable);
39 extern int menelaus_set_regulator_sleep(int enable, u32 val);
/linux-4.19.296/drivers/misc/
Dqcom-coincell.c40 int vset, bool enable) in qcom_coincell_chgr_config() argument
45 if (!enable) in qcom_coincell_chgr_config()
99 bool enable; in qcom_coincell_probe() local
114 enable = !of_property_read_bool(node, "qcom,charger-disable"); in qcom_coincell_probe()
116 if (enable) { in qcom_coincell_probe()
132 return qcom_coincell_chgr_config(&chgr, rset, vset, enable); in qcom_coincell_probe()
/linux-4.19.296/drivers/media/rc/img-ir/
DKconfig14 Say Y here to enable the raw mode driver which passes raw IR signal
24 Say Y here to enable the hardware decode driver which decodes the IR
33 Say Y here to enable support for the NEC, extended NEC, and 32-bit
40 Say Y here to enable support for the JVC protocol in the ImgTec
47 Say Y here to enable support for the Sony protocol in the ImgTec
54 Say Y here to enable support for the Sharp protocol in the ImgTec
61 Say Y here to enable support for the Sanyo protocol (used by Sanyo,
68 Say Y here to enable support for the RC5 protocol in the ImgTec
75 Say Y here to enable support for the RC6 protocol in the ImgTec
/linux-4.19.296/include/linux/
Darm-cci.h40 extern int __cci_control_port_by_device(struct device_node *dn, bool enable);
41 extern int __cci_control_port_by_index(u32 port, bool enable);
49 bool enable) in __cci_control_port_by_device() argument
53 static inline int __cci_control_port_by_index(u32 port, bool enable) in __cci_control_port_by_index() argument
/linux-4.19.296/drivers/media/v4l2-core/
Dv4l2-clk.c137 if (++clk->enable == 1 && clk->ops->enable) { in v4l2_clk_enable()
138 ret = clk->ops->enable(clk); in v4l2_clk_enable()
140 clk->enable--; in v4l2_clk_enable()
155 int enable; in v4l2_clk_disable() local
162 enable = --clk->enable; in v4l2_clk_disable()
163 if (WARN(enable < 0, "Unbalanced %s() on %s!\n", __func__, in v4l2_clk_disable()
165 clk->enable++; in v4l2_clk_disable()
166 else if (!enable && clk->ops->disable) in v4l2_clk_disable()
/linux-4.19.296/drivers/ptp/
Dptp_sysfs.c56 int cnt, enable; in extts_enable_store() local
59 cnt = sscanf(buf, "%u %d", &req.extts.index, &enable); in extts_enable_store()
65 err = ops->enable(ops, &req, enable ? 1 : 0); in extts_enable_store()
116 int cnt, enable, err = -EINVAL; in period_store() local
126 enable = req.perout.period.sec || req.perout.period.nsec; in period_store()
127 err = ops->enable(ops, &req, enable); in period_store()
144 int cnt, enable; in pps_enable_store() local
150 cnt = sscanf(buf, "%d", &enable); in pps_enable_store()
154 err = ops->enable(ops, &req, enable ? 1 : 0); in pps_enable_store()
Dptp_chardev.c45 err = ops->enable(ops, &rq, 0); in ptp_disable_pinfunc()
50 err = ops->enable(ops, &rq, 0); in ptp_disable_pinfunc()
134 int enable, err = 0; in ptp_ioctl() local
163 enable = req.extts.flags & PTP_ENABLE_FEATURE ? 1 : 0; in ptp_ioctl()
164 err = ops->enable(ops, &req, enable); in ptp_ioctl()
178 enable = req.perout.period.sec || req.perout.period.nsec; in ptp_ioctl()
179 err = ops->enable(ops, &req, enable); in ptp_ioctl()
186 enable = arg ? 1 : 0; in ptp_ioctl()
187 err = ops->enable(ops, &req, enable); in ptp_ioctl()
/linux-4.19.296/include/sound/
Dhda_component.h10 int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable);
11 int snd_hdac_display_power(struct hdac_bus *bus, bool enable);
24 static inline int snd_hdac_set_codec_wakeup(struct hdac_bus *bus, bool enable) in snd_hdac_set_codec_wakeup() argument
28 static inline int snd_hdac_display_power(struct hdac_bus *bus, bool enable) in snd_hdac_display_power() argument
/linux-4.19.296/drivers/iio/light/
Dtcs3472.c66 u8 enable; member
325 ret = !!(data->enable & TCS3472_ENABLE_AIEN); in tcs3472_read_event_config()
341 enable_old = data->enable; in tcs3472_write_event_config()
344 data->enable |= TCS3472_ENABLE_AIEN; in tcs3472_write_event_config()
346 data->enable &= ~TCS3472_ENABLE_AIEN; in tcs3472_write_event_config()
348 if (enable_old != data->enable) { in tcs3472_write_event_config()
350 data->enable); in tcs3472_write_event_config()
352 data->enable = enable_old; in tcs3472_write_event_config()
513 data->enable = ret | TCS3472_ENABLE_PON | TCS3472_ENABLE_AEN; in tcs3472_probe()
514 data->enable &= ~TCS3472_ENABLE_AIEN; in tcs3472_probe()
[all …]
/linux-4.19.296/drivers/irqchip/
Dirq-sunxi-nmi.c61 u32 enable; member
67 .enable = SUN6I_R_INTC_ENABLE,
73 .enable = SUN6I_NMI_ENABLE,
79 .enable = SUN7I_NMI_ENABLE,
85 .enable = SUN9I_NMI_ENABLE,
205 gc->chip_types[0].regs.mask = reg_offs->enable; in sunxi_sc_nmi_irq_init()
215 gc->chip_types[1].regs.mask = reg_offs->enable; in sunxi_sc_nmi_irq_init()
220 sunxi_sc_nmi_write(gc, reg_offs->enable, 0); in sunxi_sc_nmi_irq_init()
/linux-4.19.296/include/linux/regulator/
Ddriver.h168 int (*set_active_discharge) (struct regulator_dev *, bool enable);
171 int (*enable) (struct regulator_dev *); member
207 int (*set_bypass)(struct regulator_dev *dev, bool enable);
208 int (*get_bypass)(struct regulator_dev *dev, bool *enable);
521 int regulator_set_bypass_regmap(struct regulator_dev *rdev, bool enable);
522 int regulator_get_bypass_regmap(struct regulator_dev *rdev, bool *enable);
527 bool enable);
/linux-4.19.296/drivers/extcon/
DKconfig4 Say Y here to enable external connector class (extcon) support.
21 Say Y here to enable extcon device driver based on ADC values.
27 Say Y here to enable support for external accessory detection
36 Say Y here to enable support for USB peripheral detection
43 Say Y here to enable GPIO based extcon support. Note that GPIO
50 Say Y here to enable extcon support for USB OTG ports controlled by
60 Say Y here to enable extcon support for charger detection / control
79 enable a system with an integrated USB OTG dual-role transceiver to
114 Say Y here to enable support for USB peripheral and USB host
121 Say Y here to enable SPMI PMIC based USB cable detection
[all …]
/linux-4.19.296/drivers/regulator/
Dqcom-rpmh-regulator.c214 bool enable) in rpmh_regulator_set_enable_state() argument
219 .data = enable, in rpmh_regulator_set_enable_state()
231 ret = rpmh_regulator_send_request(vreg, &cmd, enable); in rpmh_regulator_set_enable_state()
233 vreg->enabled = enable; in rpmh_regulator_set_enable_state()
319 bool enable) in rpmh_regulator_vrm_set_bypass() argument
324 if (vreg->bypassed == enable) in rpmh_regulator_vrm_set_bypass()
327 ret = rpmh_regulator_vrm_set_mode_bypass(vreg, vreg->mode, enable); in rpmh_regulator_vrm_set_bypass()
329 vreg->bypassed = enable; in rpmh_regulator_vrm_set_bypass()
335 bool *enable) in rpmh_regulator_vrm_get_bypass() argument
339 *enable = vreg->bypassed; in rpmh_regulator_vrm_get_bypass()
[all …]
Dpbias-regulator.c31 u32 enable; member
68 .enable = regulator_enable_regmap,
74 .enable = BIT(1),
85 .enable = BIT(9),
95 .enable = BIT(26) | BIT(22),
106 .enable = BIT(27) | BIT(26),
225 drvdata[data_idx].desc.enable_val = info->enable; in pbias_regulator_probe()
/linux-4.19.296/drivers/clk/sunxi-ng/
Dccu_nm.h31 u32 enable; member
52 .enable = _gate, \
75 .enable = _gate, \
100 .enable = _gate, \
123 .enable = _gate, \
/linux-4.19.296/drivers/gpio/
Dgpio-ks8695.c42 …unsigned int enable[] = { IOPC_IOEINT0EN, IOPC_IOEINT1EN, IOPC_IOEINT2EN, IOPC_IOEINT3EN, IOPC_IOT… in ks8695_gpio_mode() local
52 x &= ~enable[pin]; in ks8695_gpio_mode()
54 x |= enable[pin]; in ks8695_gpio_mode()
235 …unsigned int enable[] = { IOPC_IOEINT0EN, IOPC_IOEINT1EN, IOPC_IOEINT2EN, IOPC_IOEINT3EN, IOPC_IOT… in ks8695_gpio_show() local
252 if (ctrl & enable[i]) { in ks8695_gpio_show()
270 if (ctrl & enable[i]) in ks8695_gpio_show()
/linux-4.19.296/drivers/media/dvb-frontends/
Dau8522_common.c81 int au8522_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) in au8522_i2c_gate_ctrl() argument
85 dprintk("%s(%d)\n", __func__, enable); in au8522_i2c_gate_ctrl()
95 if (enable) in au8522_i2c_gate_ctrl()
102 int au8522_analog_i2c_gate_ctrl(struct dvb_frontend *fe, int enable) in au8522_analog_i2c_gate_ctrl() argument
106 dprintk("%s(%d)\n", __func__, enable); in au8522_analog_i2c_gate_ctrl()
108 if (enable) in au8522_analog_i2c_gate_ctrl()

12345678910>>...32