Searched refs:on (Results 226 - 250 of 1072) sorted by relevance

1234567891011>>

/linux-master/drivers/phy/samsung/
H A Dphy-exynos-mipi-video.c228 struct exynos_mipi_video_phy *state, unsigned int on)
236 if (!on && data->coupled_phy_id >= 0 &&
241 if (on)
248 if (on)
227 __set_phy_state(const struct exynos_mipi_phy_desc *data, struct exynos_mipi_video_phy *state, unsigned int on) argument
/linux-master/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-lite-reg.c101 void flite_hw_set_test_pattern(struct fimc_lite *dev, bool on) argument
104 if (on)
217 static void flite_hw_set_pack12(struct fimc_lite *dev, int on) argument
223 if (on)
H A Dmedia-dev.c126 * @on: 1 to enable power or 0 to disable
131 static int __subdev_set_power(struct v4l2_subdev *sd, int on) argument
140 if (on && (*use_count)++ > 0)
142 else if (!on && (*use_count == 0 || --(*use_count) > 0))
144 ret = v4l2_subdev_call(sd, core, s_power, on);
152 * @on: true to power on, false to power off
156 static int fimc_pipeline_s_power(struct fimc_pipeline *p, bool on) argument
168 unsigned int idx = seq[on][i];
170 ret = __subdev_set_power(p->subdevs[idx], on);
285 __fimc_pipeline_s_stream(struct exynos_media_pipeline *ep, bool on) argument
[all...]
/linux-master/arch/sparc/kernel/
H A Dtrampoline_32.S69 /* Turn on traps (PSR_ET). */
71 wr %g1, PSR_ET, %psr ! traps on
130 /* Turn on traps (PSR_ET). */
132 wr %g1, PSR_ET, %psr ! traps on
186 /* Turn on traps (PSR_ET). */
188 wr %g1, PSR_ET, %psr ! traps on
/linux-master/drivers/staging/fbtft/
H A Dfb_ssd1306.c70 /* A[2] = 1b, Enable charge pump during display on */
149 static int blank(struct fbtft_par *par, bool on) argument
152 __func__, on ? "true" : "false");
154 if (on)
H A Dfb_ssd1331.c168 static int blank(struct fbtft_par *par, bool on) argument
171 __func__, on ? "true" : "false");
172 if (on)
H A Dfb_ssd1325.c87 static int blank(struct fbtft_par *par, bool on) argument
90 __func__, on ? "true" : "false");
92 if (on)
/linux-master/arch/arm/mm/
H A Dproc-sa110.S11 * functions on the StrongARM-110.
162 mcr p15, 0, r10, c7, c7 @ invalidate I,D caches on v4
163 mcr p15, 0, r10, c7, c10, 4 @ drain write buffer on v4
165 mcr p15, 0, r10, c8, c7 @ invalidate I,D TLBs on v4
/linux-master/drivers/acpi/pmic/
H A Dintel_pmic_xpower.c177 int bit, bool on)
188 on ? GPI1_LDO_ON : GPI1_LDO_OFF);
197 if (on)
216 * Return a positive value on success, errno on failure.
226 * current-source needs to be permanently on. But to read the GPADC we
230 * Note that the switching from on to on-ondemand is not necessary
231 * when the TS current-source is off (this happens on devices which
176 intel_xpower_pmic_update_power(struct regmap *regmap, int reg, int bit, bool on) argument
/linux-master/drivers/net/ethernet/xscale/
H A Dptp_ixp46x.c191 struct ptp_clock_request *rq, int on)
199 ixp_clock->exts0_enabled = on ? 1 : 0;
202 ixp_clock->exts1_enabled = on ? 1 : 0;
190 ptp_ixp_enable(struct ptp_clock_info *ptp, struct ptp_clock_request *rq, int on) argument
/linux-master/net/mac802154/
H A Ddriver-ops.h115 drv_set_promiscuous_mode(struct ieee802154_local *local, bool on) argument
126 trace_802154_drv_set_promiscuous_mode(local, on);
127 ret = local->ops->set_promiscuous_mode(&local->hw, on);
185 * it will turn on receive handling.
223 /* sync away all work on the tasklet before clearing started */
/linux-master/drivers/irqchip/
H A Dirq-mchp-eic.c101 static int mchp_eic_irq_set_wake(struct irq_data *d, unsigned int on) argument
103 irq_set_irq_wake(eic->irqs[d->hwirq], on);
104 if (on)
H A Dirq-renesas-irqc.c93 static int irqc_irq_set_wake(struct irq_data *d, unsigned int on) argument
98 irq_set_irq_wake(p->irq[hw_irq].requested_irq, on);
99 if (on)
/linux-master/drivers/gpio/
H A Dgpio-sa1100.c111 * IRQs are generated on Falling-Edge, Rising-Edge, or both.
181 static int sa1100_gpio_wake(struct irq_data *d, unsigned int on) argument
184 int ret = sa11x0_gpio_set_wake(d->hwirq, on);
186 if (on)
/linux-master/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-ptp.c16 struct ptp_clock_request *rq, int on)
40 if (on)
57 if (on)
15 dpaa2_ptp_enable(struct ptp_clock_info *ptp, struct ptp_clock_request *rq, int on) argument
/linux-master/drivers/input/misc/
H A Dpm8xxx-vibrator.c71 * @on: state to set
73 static int pm8xxx_vib_set(struct pm8xxx_vib *vib, bool on) argument
79 if (on)
92 regs->enable_mask, on ? ~0 : 0);
259 MODULE_DESCRIPTION("PMIC8xxx vibrator driver based on ff-memless framework");
/linux-master/drivers/leds/
H A Dleds-88pm860x.c45 static int led_power_set(struct pm860x_chip *chip, int port, int on) argument
53 ret = on ? pm8606_osc_enable(chip, RGB1_ENABLE) :
59 ret = on ? pm8606_osc_enable(chip, RGB2_ENABLE) :
H A Dleds-lp3952.c37 enum lp3952_leds led_id, bool on)
41 dev_dbg(&priv->client->dev, "%s LED %d to %d\n", __func__, led_id, on);
48 on ? val : 0);
67 dev_dbg(cdev->dev, "Brightness request: %d on %d\n", value,
181 /* Disable any LEDs on from any previous conf. */
36 lp3952_on_off(struct lp3952_led_array *priv, enum lp3952_leds led_id, bool on) argument
/linux-master/drivers/mmc/core/
H A Dslot-gpio.c141 int mmc_gpio_set_cd_wake(struct mmc_host *host, bool on) argument
147 on == host->slot.cd_wake_enabled)
150 if (on) {
186 * Returns zero on success, else an error.
239 * Returns zero on success, else an error.
/linux-master/drivers/net/ethernet/intel/igb/
H A Digb_ptp.c100 /* The timestamp latches on lowest register read. For the 82580
121 /* The timestamp latches on lowest register read. For I210/I211, the
490 struct ptp_clock_request *rq, int on)
512 if (on) {
528 if (on) {
546 if (on) {
556 if (on && ns < 8LL)
580 if (on) {
642 struct ptp_clock_request *rq, int on)
668 if (on) {
489 igb_ptp_feature_enable_82580(struct ptp_clock_info *ptp, struct ptp_clock_request *rq, int on) argument
641 igb_ptp_feature_enable_i210(struct ptp_clock_info *ptp, struct ptp_clock_request *rq, int on) argument
787 igb_ptp_feature_enable(struct ptp_clock_info *ptp, struct ptp_clock_request *rq, int on) argument
[all...]
/linux-master/arch/m68k/fpsp040/
H A Dx_unfl.S24 | For details on the license for this file, please see the
64 | Clear dirty bit on dest resister in the frame before branching
98 | Clear dirty bit on dest resister in the frame before branching
119 | Clear dirty bit on dest resister in the frame before branching
190 | information respectively on upper/lower register halves.
243 | ;a0 is not corrupted on a store to a
/linux-master/arch/sh/kernel/cpu/sh3/
H A Dentry.S37 * ptrace needs to have all regs on the stack.
102 ! this first version depends *much* on C implementation.
213 ! r8 passes SR bitmask, overwritten with restored data on return
215 ! BL=0 on entry, on exit BL=1 (depending on r8).
353 ! Setup stack and save DSP context (k0 contains original r15 on return)
379 ! - save default tra, macl, mach, gbr, ssr, pr* and spc on the stack
380 ! - save r15*, r14, r13, r12, r11, r10, r9, r8 on the stack
382 ! - save r7, r6, r5, r4, r3, r2, r1, r0 on th
[all...]
/linux-master/tools/testing/selftests/net/
H A Dtcp_mmap.c9 * Note : NIC with header split is needed to use mmap() on TCP :
12 * How to use on loopback interface :
19 * (4096 : page size on x86, 12: TCP TS option length)
23 * Note: -z option on sender uses MSG_ZEROCOPY, which forces a copy when packets go through loopback interface.
404 * This size is 2MB on x86_64, and is exported in /proc/meminfo.
452 int fd, c, on = 1; local
526 setsockopt(fdlisten, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on));
577 &on, sizeof(on))
[all...]
/linux-master/drivers/thermal/samsung/
H A Dexynos_tmu.c196 void (*tmu_control)(struct platform_device *pdev, bool on);
204 * The temperature is converted differently depending on the calibration type.
326 static void exynos_tmu_control(struct platform_device *pdev, bool on) argument
332 data->tmu_control(pdev, on);
333 data->enabled = on;
370 * Failing thresholds are not supported on Exynos 4210.
397 * Hardware critical temperature handling is not supported on Exynos 4210.
585 static void exynos4210_tmu_control(struct platform_device *pdev, bool on) argument
592 if (on)
600 static void exynos5433_tmu_control(struct platform_device *pdev, bool on) argument
618 exynos7_tmu_control(struct platform_device *pdev, bool on) argument
[all...]
/linux-master/drivers/net/ethernet/marvell/octeontx2/nic/
H A Dotx2_ptp.c178 static int ptp_pps_on(struct otx2_ptp *ptp, int on, u64 period) argument
190 req->pps_on = on;
340 struct ptp_clock_request *rq, int on)
356 if (on)
368 if (on) {
371 ptp_pps_on(ptp, on, period);
373 ptp_pps_on(ptp, on, period);
339 otx2_ptp_enable(struct ptp_clock_info *ptp_info, struct ptp_clock_request *rq, int on) argument

Completed in 227 milliseconds

1234567891011>>