on                 54 arch/arc/include/asm/entry-arcv2.h 	;   3. Auto save: (mandatory) Push PC and STAT32 on stack
on                 61 arch/arc/include/asm/entry-arcv2.h 	; carve pt_regs on stack (case #3), PC/STAT32 already on stack
on                 66 arch/arc/include/asm/entry-arcv2.h 	; carve pt_regs on stack (case #4), which grew partially already
on                149 arch/arc/include/asm/entry-arcv2.h 	;    but on return, restored only if U mode
on                180 arch/arc/include/asm/entry-arcv2.h 	;  - Z flag set on K is inverse of what hardware does on interrupt entry
on                 26 arch/arc/include/asm/tlb-mmu1.h ; -- jh_ex_way_set not cleared on startup
on                334 arch/arm/common/sa1111.c static int sa1111_wake_irq(struct irq_data *d, unsigned int on)
on                341 arch/arm/common/sa1111.c 	if (on)
on                 30 arch/arm/include/asm/mach/flash.h 	void		(*set_vpp)(int on);
on                 81 arch/arm/mach-hisi/platmcpm.c static void hip04_set_snoop_filter(unsigned int cluster, unsigned int on)
on                 88 arch/arm/mach-hisi/platmcpm.c 	if (on)
on                 89 arch/arm/mach-imx/gpc.c static int imx_gpc_irq_set_wake(struct irq_data *d, unsigned int on)
on                 95 arch/arm/mach-imx/gpc.c 	gpc_wake_irqs[idx] = on ? gpc_wake_irqs[idx] | mask :
on                 48 arch/arm/mach-imx/iomux-v1.c 		unsigned int port, unsigned int pin, int on)
on                 52 arch/arm/mach-imx/iomux-v1.c 	imx_iomuxv1_rmwl(MXC_PUEN(port), mask, on ? mask : 0);
on                194 arch/arm/mach-imx/mach-imx27_visstrim_m10.c static int visstrim_camera_power(struct device *dev, int on)
on                196 arch/arm/mach-imx/mach-imx27_visstrim_m10.c 	gpio_set_value(TVP5150_PWDN, on);
on                172 arch/arm/mach-imx/mx31moboard-devboard.c static int devboard_isp1105_set_vbus(struct usb_otg *otg, bool on)
on                174 arch/arm/mach-imx/mx31moboard-devboard.c 	if (on)
on                197 arch/arm/mach-imx/mx31moboard-marxbot.c static int marxbot_isp1105_set_vbus(struct usb_otg *otg, bool on)
on                199 arch/arm/mach-imx/mx31moboard-marxbot.c 	if (on)
on                 26 arch/arm/mach-mmp/pm-mmp2.c int mmp2_set_wake(struct irq_data *d, unsigned int on)
on                 45 arch/arm/mach-mmp/pm-mmp2.c 	if (on) {
on                 58 arch/arm/mach-mmp/pm-mmp2.h extern int mmp2_set_wake(struct irq_data *d, unsigned int on);
on                 27 arch/arm/mach-mmp/pm-pxa910.c int pxa910_set_wake(struct irq_data *data, unsigned int on)
on                110 arch/arm/mach-mmp/pm-pxa910.c 	if (on) {
on                 73 arch/arm/mach-mmp/pm-pxa910.h extern int pxa910_set_wake(struct irq_data *data, unsigned int on);
on                214 arch/arm/mach-mmp/ttc_dkb.c static void dkb_tpo_panel_power(int on)
on                219 arch/arm/mach-mmp/ttc_dkb.c 	if (on) {
on                 72 arch/arm/mach-omap2/omap_phy_internal.c void am35x_musb_phy_power(u8 on)
on                 77 arch/arm/mach-omap2/omap_phy_internal.c 	if (on) {
on                 69 arch/arm/mach-omap2/usb.h extern void am35x_musb_phy_power(u8 on);
on                148 arch/arm/mach-omap2/vc.c 	voltdm->vc_param->on = target_volt;
on                335 arch/arm/mach-omap2/vc.c 	val = (voltdm->vc_param->on - idle) / voltdm->pmic->slew_rate;
on                516 arch/arm/mach-omap2/vc.c 			voltdm->vc_param->on - voltdm->vc_param->off);
on                520 arch/arm/mach-omap2/vc.c 			voltdm->vc_param->on - voltdm->vc_param->ret);
on                821 arch/arm/mach-omap2/vc.c 	on_vsel = omap_vc_calc_vsel(voltdm, voltdm->vc_param->on);
on                 82 arch/arm/mach-omap2/vc3xxx_data.c 	.on		= OMAP3_ON_VOLTAGE_UV,
on                 89 arch/arm/mach-omap2/vc3xxx_data.c 	.on		= OMAP3_ON_VOLTAGE_UV,
on                 97 arch/arm/mach-omap2/vc44xx_data.c 	.on			= OMAP4_ON_VOLTAGE_UV,
on                104 arch/arm/mach-omap2/vc44xx_data.c 	.on			= OMAP4_ON_VOLTAGE_UV,
on                111 arch/arm/mach-omap2/vc44xx_data.c 	.on			= OMAP4_ON_VOLTAGE_UV,
on                145 arch/arm/mach-omap2/voltage.h 	u32 on;
on                236 arch/arm/mach-pxa/balloon3.c static void balloon3_backlight_power(int on)
on                238 arch/arm/mach-pxa/balloon3.c 	gpio_set_value(BALLOON3_GPIO_RUN_BACKLIGHT, on);
on                 71 arch/arm/mach-pxa/colibri-pxa3xx.c static void colibri_lcd_backlight(int on)
on                 73 arch/arm/mach-pxa/colibri-pxa3xx.c 	gpio_set_value(lcd_bl_pin, !!on);
on                 51 arch/arm/mach-pxa/corgi_pm.c static void corgi_measure_temp(int on)
on                 53 arch/arm/mach-pxa/corgi_pm.c 	gpio_set_value(CORGI_GPIO_ADC_TEMP_ON, on);
on                 56 arch/arm/mach-pxa/corgi_pm.c static void corgi_charge(int on)
on                 58 arch/arm/mach-pxa/corgi_pm.c 	if (on) {
on                 72 arch/arm/mach-pxa/corgi_pm.c static void corgi_discharge(int on)
on                 74 arch/arm/mach-pxa/corgi_pm.c 	gpio_set_value(CORGI_GPIO_DISCHARGE_ON, on);
on                 96 arch/arm/mach-pxa/idp.c static void idp_backlight_power(int on)
on                 98 arch/arm/mach-pxa/idp.c 	if (on) {
on                105 arch/arm/mach-pxa/idp.c static void idp_vlcd(int on)
on                107 arch/arm/mach-pxa/idp.c 	if (on) {
on                114 arch/arm/mach-pxa/idp.c static void idp_lcd_power(int on, struct fb_var_screeninfo *var)
on                116 arch/arm/mach-pxa/idp.c 	if (on) {
on                128 arch/arm/mach-pxa/idp.c 	idp_vlcd(on);
on                277 arch/arm/mach-pxa/magician.c static void toppoly_lcd_power(int on, struct fb_var_screeninfo *si)
on                279 arch/arm/mach-pxa/magician.c 	pr_debug("Toppoly LCD power: %s\n", on ? "on" : "off");
on                281 arch/arm/mach-pxa/magician.c 	if (on) {
on                303 arch/arm/mach-pxa/magician.c static void samsung_lcd_power(int on, struct fb_var_screeninfo *si)
on                305 arch/arm/mach-pxa/magician.c 	pr_debug("Samsung LCD power: %s\n", on ? "on" : "off");
on                307 arch/arm/mach-pxa/magician.c 	if (on) {
on                471 arch/arm/mach-pxa/mfp-pxa27x.h extern int keypad_set_wake(unsigned int on);
on                170 arch/arm/mach-pxa/mfp-pxa2xx.c int gpio_set_wake(unsigned int gpio, unsigned int on)
on                189 arch/arm/mach-pxa/mfp-pxa2xx.c 		if (on)
on                197 arch/arm/mach-pxa/mfp-pxa2xx.c 	if (on && mux_taken)
on                201 arch/arm/mach-pxa/mfp-pxa2xx.c 		if (on) {
on                257 arch/arm/mach-pxa/mfp-pxa2xx.c int keypad_set_wake(unsigned int on)
on                275 arch/arm/mach-pxa/mfp-pxa2xx.c 	if (on)
on                142 arch/arm/mach-pxa/mfp-pxa2xx.h extern int gpio_set_wake(unsigned int gpio, unsigned int on);
on                203 arch/arm/mach-pxa/mioa701.c static void mioa701_lcd_power(int on, struct fb_var_screeninfo *si)
on                205 arch/arm/mach-pxa/mioa701.c 	gpio_set_value(GPIO87_LCD_POWER, on);
on                131 arch/arm/mach-pxa/palm27x.c static void palm27x_lcd_ctl(int on, struct fb_var_screeninfo *info)
on                133 arch/arm/mach-pxa/palm27x.c 	gpio_set_value(palm27x_lcd_power, on);
on                 86 arch/arm/mach-pxa/pcm990-baseboard.c static void pcm990_lcd_power(int on, struct fb_var_screeninfo *var)
on                 88 arch/arm/mach-pxa/pcm990-baseboard.c 	if (on) {
on                119 arch/arm/mach-pxa/pxa25x.c static int pxa25x_set_wake(struct irq_data *d, unsigned int on)
on                125 arch/arm/mach-pxa/pxa25x.c 		return gpio_set_wake(gpio, on);
on                135 arch/arm/mach-pxa/pxa25x.c 	if (on)
on                202 arch/arm/mach-pxa/pxa27x.c static int pxa27x_set_wake(struct irq_data *d, unsigned int on)
on                208 arch/arm/mach-pxa/pxa27x.c 		return gpio_set_wake(gpio, on);
on                211 arch/arm/mach-pxa/pxa27x.c 		return keypad_set_wake(on);
on                224 arch/arm/mach-pxa/pxa27x.c 	if (on)
on                199 arch/arm/mach-pxa/pxa3xx.c static int pxa3xx_set_wake(struct irq_data *d, unsigned int on)
on                279 arch/arm/mach-pxa/pxa3xx.c 	if (on)
on                406 arch/arm/mach-pxa/saar.c static void ltm022a97a_lcd_power(int on, struct fb_var_screeninfo *var)
on                423 arch/arm/mach-pxa/saar.c 	if (on) {
on                 52 arch/arm/mach-pxa/spitz_pm.c static void spitz_measure_temp(int on)
on                 54 arch/arm/mach-pxa/spitz_pm.c 	gpio_set_value(SPITZ_GPIO_ADC_TEMP_ON, on);
on                 57 arch/arm/mach-pxa/spitz_pm.c static void spitz_charge(int on)
on                 59 arch/arm/mach-pxa/spitz_pm.c 	if (on) {
on                 73 arch/arm/mach-pxa/spitz_pm.c static void spitz_discharge(int on)
on                 75 arch/arm/mach-pxa/spitz_pm.c 	gpio_set_value(SPITZ_GPIO_JK_A, on);
on                 80 arch/arm/mach-pxa/spitz_pm.c static void spitz_discharge1(int on)
on                 82 arch/arm/mach-pxa/spitz_pm.c 	gpio_set_value(SPITZ_GPIO_LED_GREEN, on);
on                425 arch/arm/mach-pxa/tavorevb.c static void ltm020d550_lcd_power(int on, struct fb_var_screeninfo *var)
on                429 arch/arm/mach-pxa/tavorevb.c 	if (on) {
on                308 arch/arm/mach-pxa/trizeps4.c static void board_backlight_power(int on)
on                310 arch/arm/mach-pxa/trizeps4.c 	if (on)
on                315 arch/arm/mach-pxa/trizeps4.c 	pr_debug("%s: o%s 0x%x\n", __func__, on ? "n" : "ff",
on                560 arch/arm/mach-pxa/vpac270.c static void vpac270_lcd_power(int on, struct fb_var_screeninfo *info)
on                562 arch/arm/mach-pxa/vpac270.c 	gpio_set_value(GPIO81_VPAC270_BKL_ON, on);
on                587 arch/arm/mach-pxa/zeus.c static void zeus_lcd_power(int on, struct fb_var_screeninfo *si)
on                589 arch/arm/mach-pxa/zeus.c 	gpio_set_value(ZEUS_LCD_EN_GPIO, on);
on                592 arch/arm/mach-pxa/zeus.c static void zeus_backlight_power(int on)
on                594 arch/arm/mach-pxa/zeus.c 	gpio_set_value(ZEUS_BKLEN_GPIO, on);
on                 64 arch/arm/mach-rockchip/platsmp.c static int pmu_set_power_domain(int pd, bool on)
on                 66 arch/arm/mach-rockchip/platsmp.c 	u32 val = (on) ? 0 : BIT(pd);
on                 81 arch/arm/mach-rockchip/platsmp.c 	if (!IS_ERR(rstc) && !on)
on                 93 arch/arm/mach-rockchip/platsmp.c 		while (ret != on) {
on                104 arch/arm/mach-rockchip/platsmp.c 		if (on)
on                 26 arch/arm/mach-s3c24xx/h1940-bluetooth.c static void h1940bt_enable(int on)
on                 28 arch/arm/mach-s3c24xx/h1940-bluetooth.c 	if (on) {
on                 24 arch/arm/mach-s3c24xx/mach-osiris-dvs.c static void osiris_dvs_tps_setdvs(bool on)
on                 28 arch/arm/mach-s3c24xx/mach-osiris-dvs.c 	if (!on) {
on                 33 arch/arm/mach-s3c24xx/mach-osiris-dvs.c 	dvs_en = on;
on                 71 arch/arm/mach-s3c24xx/simtec-usb.c static void usb_simtec_enableoc(struct s3c2410_hcd_info *info, int on)
on                 75 arch/arm/mach-s3c24xx/simtec-usb.c 	if (on) {
on                 95 arch/arm/mach-s3c64xx/mach-smartq.c static void smartq_usb_host_enableoc(struct s3c2410_hcd_info *info, int on)
on                103 arch/arm/mach-s3c64xx/mach-smartq.c 	if (on) {
on                368 arch/arm/mach-sa1100/assabet.c static void assabet_lcd_backlight_power(int on)
on                370 arch/arm/mach-sa1100/assabet.c 	if (on)
on                381 arch/arm/mach-sa1100/assabet.c static void assabet_lcd_power(int on)
on                383 arch/arm/mach-sa1100/assabet.c 	if (on) {
on                413 arch/arm/mach-sa1100/assabet.c static void assabet_pal_backlight_power(int on)
on                418 arch/arm/mach-sa1100/assabet.c static void assabet_pal_power(int on)
on                260 arch/arm/mach-sa1100/badge4.c void badge4_set_5V(unsigned subsystem, int on)
on                269 arch/arm/mach-sa1100/badge4.c 	if (on) {
on                468 arch/arm/mach-sa1100/generic.c int sa11x0_gpio_set_wake(unsigned int gpio, unsigned int on)
on                470 arch/arm/mach-sa1100/generic.c 	if (on)
on                478 arch/arm/mach-sa1100/generic.c int sa11x0_sc_set_wake(unsigned int irq, unsigned int on)
on                483 arch/arm/mach-sa1100/generic.c 	if (on)
on                 70 arch/arm/mach-sa1100/include/mach/badge4.h extern void badge4_set_5V(unsigned subsystem, int on);
on                 19 arch/arm/mach-sa1100/include/mach/collie.h extern void locomolcd_power(int on);
on                217 arch/arm/mm/cache-uniphier.c static void __uniphier_cache_enable(struct uniphier_cache_data *data, bool on)
on                221 arch/arm/mm/cache-uniphier.c 	if (on)
on                 40 arch/hexagon/kernel/irq_cpu.c static int set_wake(struct irq_data *data, unsigned int on)
on               1648 arch/ia64/kernel/perfmon.c pfm_do_fasync(int fd, struct file *filp, pfm_context_t *ctx, int on)
on               1652 arch/ia64/kernel/perfmon.c 	ret = fasync_helper (fd, filp, on, &ctx->ctx_async_queue);
on               1657 arch/ia64/kernel/perfmon.c 		on,
on               1664 arch/ia64/kernel/perfmon.c pfm_fasync(int fd, struct file *filp, int on)
on               1686 arch/ia64/kernel/perfmon.c 	ret = pfm_do_fasync(fd, filp, ctx, on);
on               1691 arch/ia64/kernel/perfmon.c 		on,
on                105 arch/m68k/amiga/config.c static void amiga_heartbeat(int on);
on                766 arch/m68k/amiga/config.c static void amiga_heartbeat(int on)
on                768 arch/m68k/amiga/config.c 	if (on)
on                 35 arch/m68k/apollo/config.c static void dn_heartbeat(int on);
on                258 arch/m68k/apollo/config.c static void dn_heartbeat(int on) {
on                260 arch/m68k/apollo/config.c 	if(on) {
on                 76 arch/m68k/atari/config.c static void atari_heartbeat(int on);
on                445 arch/m68k/atari/config.c static void atari_heartbeat(int on)
on                456 arch/m68k/atari/config.c 	sound_ym.wd_data = on ? (tmp & ~0x02) : (tmp | 0x02);
on                  8 arch/m68k/fpsp040/fpsp.h |       For details on the license for this file, please see the
on                 77 arch/m68k/fpsp040/fpsp.h |	Local Variables on the stack
on                174 arch/m68k/fpsp040/fpsp.h |					;on packed move outs.  NOTE: this
on                229 arch/m68k/fpsp040/fpsp.h 	.set	bsun_bit,7	|  branch on unordered
on                 22 arch/m68k/include/asm/blinken.h static __inline__ void blinken_leds(int on, int off)
on                 26 arch/m68k/include/asm/blinken.h 		hp300_ledstate |= on;
on                113 arch/m68k/math-emu/fp_decode.h | it depends on the instr which of the modes is valid
on                111 arch/m68k/q40/config.c static void q40_heartbeat(int on)
on                116 arch/m68k/q40/config.c 	if (on)
on                380 arch/mips/alchemy/common/irq.c static int au1x_ic1_setwake(struct irq_data *d, unsigned int on)
on                393 arch/mips/alchemy/common/irq.c 	if (on)
on                144 arch/mips/ar7/platform.c 		.on	= vlynq_on,
on                153 arch/mips/ar7/platform.c 		.on	= vlynq_on,
on                 44 arch/mips/include/asm/mach-au1x00/au1100_mmc.h 	int(*cd_setup)(void *mmc_host, int on);
on                 43 arch/powerpc/platforms/83xx/mpc832x_rdb.c 						      bool on))
on                123 arch/powerpc/platforms/83xx/mpc832x_rdb.c 						  bool on))
on                145 arch/powerpc/platforms/83xx/mpc832x_rdb.c static void mpc83xx_spi_cs_control(struct spi_device *spi, bool on)
on                147 arch/powerpc/platforms/83xx/mpc832x_rdb.c 	pr_debug("%s %d %d\n", __func__, spi->chip_select, on);
on                148 arch/powerpc/platforms/83xx/mpc832x_rdb.c 	par_io_data_set(3, 13, on);
on                 77 arch/powerpc/platforms/powermac/udbg_adb.c 	int k, t, on;
on                 83 arch/powerpc/platforms/powermac/udbg_adb.c 		on = 0;
on                 87 arch/powerpc/platforms/powermac/udbg_adb.c 				on = 1 - on;
on                 88 arch/powerpc/platforms/powermac/udbg_adb.c 				btext_drawchar(on? 0xdb: 0x20);
on                 96 arch/powerpc/platforms/powermac/udbg_adb.c 		if (on)
on                 53 arch/sparc/include/asm/auxio_32.h #define auxio_set_lte(on) \
on                 55 arch/sparc/include/asm/auxio_32.h 	if(on) { \
on                 69 arch/sparc/include/asm/auxio_32.h #define auxio_set_led(on) \
on                 71 arch/sparc/include/asm/auxio_32.h 	if(on) { \
on                 86 arch/sparc/include/asm/auxio_64.h void auxio_set_lte(int on);
on                 95 arch/sparc/include/asm/auxio_64.h void auxio_set_led(int on);
on                 27 arch/sparc/include/asm/ebus_dma.h int ebus_dma_irq_enable(struct ebus_dma_info *p, int on);
on                 34 arch/sparc/include/asm/ebus_dma.h void ebus_dma_enable(struct ebus_dma_info *p, int on);
on                 55 arch/sparc/kernel/auxio_64.c static void __auxio_set_bit(u8 bit, int on, int ebus)
on                 60 arch/sparc/kernel/auxio_64.c 	if (!on) {
on                 68 arch/sparc/kernel/auxio_64.c void auxio_set_led(int on)
on                 74 arch/sparc/kernel/auxio_64.c 	__auxio_set_bit(bit, on, ebus);
on                 78 arch/sparc/kernel/auxio_64.c static void __auxio_sbus_set_lte(int on)
on                 80 arch/sparc/kernel/auxio_64.c 	__auxio_set_bit(AUXIO_AUX1_LTE, on, 0);
on                 83 arch/sparc/kernel/auxio_64.c void auxio_set_lte(int on)
on                 87 arch/sparc/kernel/auxio_64.c 		__auxio_sbus_set_lte(on);
on                124 arch/sparc/kernel/ebus.c int ebus_dma_irq_enable(struct ebus_dma_info *p, int on)
on                129 arch/sparc/kernel/ebus.c 	if (on) {
on                241 arch/sparc/kernel/ebus.c void ebus_dma_enable(struct ebus_dma_info *p, int on)
on                248 arch/sparc/kernel/ebus.c 	if (on)
on                 21 arch/sparc/kernel/led.c 	unsigned char on, off;
on                 24 arch/sparc/kernel/led.c 		on = 0;
on                 27 arch/sparc/kernel/led.c 		on = AUXIO_LED;
on                 31 arch/sparc/kernel/led.c 	set_auxio(on, off);
on                235 arch/um/include/shared/os.h extern int change_sig(int signal, int on);
on                225 arch/um/os-Linux/signal.c int change_sig(int signal, int on)
on                231 arch/um/os-Linux/signal.c 	if (sigprocmask(on ? SIG_UNBLOCK : SIG_BLOCK, &sigset, NULL) < 0)
on                 88 arch/unicore32/kernel/irq.c static int puv3_low_gpio_wake(struct irq_data *d, unsigned int on)
on                 90 arch/unicore32/kernel/irq.c 	if (on)
on                166 arch/unicore32/kernel/irq.c static int puv3_high_gpio_wake(struct irq_data *d, unsigned int on)
on                168 arch/unicore32/kernel/irq.c 	if (on)
on                201 arch/unicore32/kernel/irq.c static int puv3_set_wake(struct irq_data *d, unsigned int on)
on                204 arch/unicore32/kernel/irq.c 		if (on)
on               2073 arch/x86/events/intel/core.c static void intel_set_tfa(struct cpu_hw_events *cpuc, bool on)
on               2075 arch/x86/events/intel/core.c 	u64 val = on ? MSR_TFA_RTM_FORCE_ABORT : 0;
on               1388 arch/x86/events/intel/pt.c void intel_pt_handle_vmx(int on)
on               1405 arch/x86/events/intel/pt.c 	WRITE_ONCE(pt->vmx_on, on);
on               1417 arch/x86/events/intel/pt.c 	if (!on && event)
on                346 arch/x86/include/asm/perf_event.h  extern void intel_pt_handle_vmx(int on);
on                768 arch/x86/include/asm/processor.h extern void set_task_blockstep(struct task_struct *task, bool on);
on                152 arch/x86/kernel/cpu/mce/intel.c static void cmci_toggle_interrupt_mode(bool on)
on                163 arch/x86/kernel/cpu/mce/intel.c 		if (on)
on                195 arch/x86/kernel/process.c static void set_cpuid_faulting(bool on)
on                201 arch/x86/kernel/process.c 	msrval |= (on << MSR_MISC_FEATURES_ENABLES_CPUID_FAULT_BIT);
on                167 arch/x86/kernel/step.c void set_task_blockstep(struct task_struct *task, bool on)
on                183 arch/x86/kernel/step.c 	if (on) {
on                 53 arch/x86/kvm/vmx/vmx.h 			u16	on	: 1,
on                 13 drivers/acpi/pmic/intel_pmic.h 	int (*update_power)(struct regmap *r, int reg, int bit, bool on);
on                286 drivers/acpi/pmic/intel_pmic_bxtwc.c 		int bit, bool on)
on                290 drivers/acpi/pmic/intel_pmic_bxtwc.c 	if (on)
on                 81 drivers/acpi/pmic/intel_pmic_chtdc_ti.c 				      bool on)
on                 83 drivers/acpi/pmic/intel_pmic_chtdc_ti.c 	return regmap_update_bits(regmap, reg, 1, on);
on                229 drivers/acpi/pmic/intel_pmic_chtwc.c 		int bitmask, bool on)
on                231 drivers/acpi/pmic/intel_pmic_chtwc.c 	return regmap_update_bits(regmap, reg, bitmask, on ? 1 : 0);
on                201 drivers/acpi/pmic/intel_pmic_crc.c 				       int bit, bool on)
on                208 drivers/acpi/pmic/intel_pmic_crc.c 	if (on) {
on                177 drivers/acpi/pmic/intel_pmic_xpower.c 					  int bit, bool on)
on                184 drivers/acpi/pmic/intel_pmic_xpower.c 					  on ? GPI1_LDO_ON : GPI1_LDO_OFF);
on                195 drivers/acpi/pmic/intel_pmic_xpower.c 	if (on)
on                141 drivers/ata/pata_ali.c static void ali_fifo_control(struct ata_port *ap, struct ata_device *adev, int on)
on                154 drivers/ata/pata_ali.c 	fifo |= (on << shift);
on                106 drivers/auxdisplay/charlcd.c static void charlcd_backlight(struct charlcd *lcd, int on)
on                115 drivers/auxdisplay/charlcd.c 		lcd->ops->backlight(lcd, on);
on                 33 drivers/auxdisplay/charlcd.h 	void (*backlight)(struct charlcd *lcd, int on);
on                 40 drivers/auxdisplay/hd44780.c static void hd44780_backlight(struct charlcd *lcd, int on)
on                 45 drivers/auxdisplay/hd44780.c 		gpiod_set_value_cansleep(hd->pins[PIN_CTRL_BL], on);
on                713 drivers/auxdisplay/panel.c static void lcd_backlight(struct charlcd *charlcd, int on)
on                720 drivers/auxdisplay/panel.c 	if (on)
on                299 drivers/base/regmap/regmap-irq.c static int regmap_irq_set_wake(struct irq_data *data, unsigned int on)
on                305 drivers/base/regmap/regmap-irq.c 	if (on) {
on                109 drivers/bcma/core.c void bcma_core_pll_ctl(struct bcma_device *core, u32 req, u32 status, bool on)
on                116 drivers/bcma/core.c 	if (on) {
on                165 drivers/bluetooth/hci_qca.c static int qca_power_setup(struct hci_uart *hu, bool on);
on               1049 drivers/bluetooth/hci_qca.c static int qca_send_power_pulse(struct hci_uart *hu, bool on)
on               1053 drivers/bluetooth/hci_qca.c 	u8 cmd = on ? QCA_WCN3990_POWERON_PULSE : QCA_WCN3990_POWEROFF_PULSE;
on               1079 drivers/bluetooth/hci_qca.c 	if (on)
on               1417 drivers/bluetooth/hci_qca.c static int qca_power_setup(struct hci_uart *hu, bool on)
on               1432 drivers/bluetooth/hci_qca.c 	BT_DBG("on: %d", on);
on               1433 drivers/bluetooth/hci_qca.c 	if (on && !qcadev->bt_power->vregs_on) {
on               1450 drivers/bluetooth/hci_qca.c 	} else if (!on && qcadev->bt_power->vregs_on) {
on                403 drivers/char/hpet.c static int hpet_fasync(int fd, struct file *file, int on)
on                409 drivers/char/hpet.c 	if (fasync_helper(fd, file, on, &devp->hd_async_queue) >= 0)
on                 75 drivers/char/ipmi/ipmi_devintf.c static int ipmi_fasync(int fd, struct file *file, int on)
on                 79 drivers/char/ipmi/ipmi_devintf.c 	return fasync_helper(fd, file, on, &priv->fasync_queue);
on                861 drivers/char/ipmi/ipmi_watchdog.c static int ipmi_fasync(int fd, struct file *file, int on)
on                865 drivers/char/ipmi/ipmi_watchdog.c 	result = fasync_helper(fd, file, on, &fasync_q);
on               2160 drivers/char/random.c static int random_fasync(int fd, struct file *filp, int on)
on               2162 drivers/char/random.c 	return fasync_helper(fd, filp, on, &fasync);
on                731 drivers/char/rtc.c static int rtc_fasync(int fd, struct file *filp, int on)
on                733 drivers/char/rtc.c 	return fasync_helper(fd, filp, on, &rtc_async_queue);
on                873 drivers/char/sonypi.c static int sonypi_misc_fasync(int fd, struct file *filp, int on)
on                875 drivers/char/sonypi.c 	return fasync_helper(fd, filp, on, &sonypi_device.fifo_async);
on                127 drivers/clk/pxa/clk-pxa.c void pxa2xx_core_turbo_switch(bool on)
on                136 drivers/clk/pxa/clk-pxa.c 	if (on)
on                152 drivers/clk/pxa/clk-pxa.h void pxa2xx_core_turbo_switch(bool on);
on                302 drivers/clk/qcom/gdsc.c 	int on, ret;
on                323 drivers/clk/qcom/gdsc.c 	on = gdsc_check_status(sc, GDSC_ON);
on                324 drivers/clk/qcom/gdsc.c 	if (on < 0)
on                325 drivers/clk/qcom/gdsc.c 		return on;
on                331 drivers/clk/qcom/gdsc.c 	if ((sc->flags & VOTABLE) && on)
on                336 drivers/clk/qcom/gdsc.c 		if (!on)
on                338 drivers/clk/qcom/gdsc.c 		on = true;
on                342 drivers/clk/qcom/gdsc.c 	if (on || (sc->pwrsts & PWRSTS_RET))
on                351 drivers/clk/qcom/gdsc.c 	pm_genpd_init(&sc->pd, NULL, !on);
on                321 drivers/clk/renesas/r9a06g032-clocks.c 	      u16 one, unsigned int on)
on                326 drivers/clk/renesas/r9a06g032-clocks.c 	val = (val & ~(1U << (one & 0x1f))) | ((!!on) << (one & 0x1f));
on                436 drivers/clk/renesas/r9a06g032-clocks.c 		       struct r9a06g032_gate *g, int on)
on                443 drivers/clk/renesas/r9a06g032-clocks.c 	clk_rdesc_set(clocks, g->gate, on);
on                459 drivers/clk/renesas/r9a06g032-clocks.c 			clk_rdesc_set(clocks, g->ready, on);
on                462 drivers/clk/renesas/r9a06g032-clocks.c 			clk_rdesc_set(clocks, g->midle, !on);
on                 69 drivers/clk/zynqmp/pll.c static inline void zynqmp_pll_set_mode(struct clk_hw *hw, bool on)
on                 78 drivers/clk/zynqmp/pll.c 	if (on)
on                390 drivers/dma/at_hdmac_regs.h static void atc_setup_irq(struct at_dma *atdma, int chan_id, int on)
on                397 drivers/dma/at_hdmac_regs.h 	if (on)
on                134 drivers/dma/k3dma.c static void k3_dma_pause_dma(struct k3_dma_phy *phy, bool on)
on                138 drivers/dma/k3dma.c 	if (on) {
on                190 drivers/dma/k3dma.c static void k3_dma_enable_dma(struct k3_dma_dev *d, bool on)
on                192 drivers/dma/k3dma.c 	if (on) {
on               3067 drivers/edac/amd64_edac.c static int toggle_ecc_err_reporting(struct ecc_settings *s, u16 nid, bool on)
on               3085 drivers/edac/amd64_edac.c 		if (on) {
on                247 drivers/extcon/extcon-max77843.c 		 bool on)
on                252 drivers/extcon/extcon-max77843.c 	if (on)
on                 18 drivers/gpio/gpio-creg-snps.c 	u8 on[MAX_GPIO];
on                 38 drivers/gpio/gpio-creg-snps.c 	value = val ? hcg->layout->on[offset] : hcg->layout->off[offset];
on                 68 drivers/gpio/gpio-creg-snps.c 	if (GENMASK(31, layout->bit_per_gpio[i]) & layout->on[i])
on                 75 drivers/gpio/gpio-creg-snps.c 	if (layout->on[i] == layout->off[i])
on                113 drivers/gpio/gpio-creg-snps.c 	.on		= { 3, 3, 3, 3, 3, 3, 3, 3, 3, 3 },
on                121 drivers/gpio/gpio-creg-snps.c 	.on		= { 3 },
on                424 drivers/gpio/gpio-max732x.c static int max732x_irq_set_wake(struct irq_data *data, unsigned int on)
on                428 drivers/gpio/gpio-max732x.c 	irq_set_irq_wake(chip->client->irq, on);
on                297 drivers/gpio/gpio-merrifield.c static int mrfld_irq_set_wake(struct irq_data *d, unsigned int on)
on                312 drivers/gpio/gpio-merrifield.c 	if (on)
on                320 drivers/gpio/gpio-merrifield.c 	dev_dbg(priv->dev, "%sable wake for gpio %u\n", on ? "en" : "dis", gpio);
on                703 drivers/gpio/gpio-mvebu.c 	unsigned int on, off;
on                710 drivers/gpio/gpio-mvebu.c 		on = val;
on                712 drivers/gpio/gpio-mvebu.c 		on = 1;
on                726 drivers/gpio/gpio-mvebu.c 	writel_relaxed(on, mvebu_pwmreg_blink_on_duration(mvpwm));
on                580 drivers/gpio/gpio-pca953x.c static int pca953x_irq_set_wake(struct irq_data *d, unsigned int on)
on                585 drivers/gpio/gpio-pca953x.c 	if (on)
on                590 drivers/gpio/gpio-pca953x.c 	return irq_set_irq_wake(chip->client->irq, on);
on                196 drivers/gpio/gpio-pcf857x.c static int pcf857x_irq_set_wake(struct irq_data *data, unsigned int on)
on                200 drivers/gpio/gpio-pcf857x.c 	return irq_set_irq_wake(gpio->client->irq, on);
on                 87 drivers/gpio/gpio-pxa.c 	int (*set_wake)(unsigned int gpio, unsigned int on);
on                512 drivers/gpio/gpio-pxa.c static int pxa_gpio_set_wake(struct irq_data *d, unsigned int on)
on                518 drivers/gpio/gpio-pxa.c 		return pchip->set_wake(gpio, on);
on                176 drivers/gpio/gpio-rcar.c static int gpio_rcar_irq_set_wake(struct irq_data *d, unsigned int on)
on                183 drivers/gpio/gpio-rcar.c 		error = irq_set_irq_wake(p->irq_parent, on);
on                191 drivers/gpio/gpio-rcar.c 	if (on)
on                177 drivers/gpio/gpio-sa1100.c static int sa1100_gpio_wake(struct irq_data *d, unsigned int on)
on                180 drivers/gpio/gpio-sa1100.c 	int ret = sa11x0_gpio_set_wake(d->hwirq, on);
on                182 drivers/gpio/gpio-sa1100.c 		if (on)
on                544 drivers/gpio/gpio-zynq.c static int zynq_gpio_set_wake(struct irq_data *data, unsigned int on)
on                549 drivers/gpio/gpio-zynq.c 	irq_set_irq_wake(gpio->irq, on);
on                 52 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c void dp_receiver_power_ctrl(struct dc_link *link, bool on)
on                 56 drivers/gpu/drm/amd/display/dc/core/dc_link_hwss.c 	state = on ? DP_POWER_STATE_D0 : DP_POWER_STATE_D3;
on                 74 drivers/gpu/drm/amd/display/dc/dce110/dce110_hw_sequencer.h void dp_receiver_power_ctrl(struct dc_link *link, bool on);
on                 53 drivers/gpu/drm/amd/display/dc/inc/link_hwss.h void dp_receiver_power_ctrl(struct dc_link *link, bool on);
on                246 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c static void d71_on_off_vblank(struct komeda_dev *mdev, int master_pipe, bool on)
on                252 drivers/gpu/drm/arm/display/komeda/d71/d71_dev.c 			    DOU_IRQ_PL0, on ? DOU_IRQ_PL0 : 0);
on                112 drivers/gpu/drm/arm/display/komeda/komeda_dev.h 			      int master_pipe, bool on);
on               1460 drivers/gpu/drm/exynos/exynos_hdmi.c static void hdmi_set_refclk(struct hdmi_context *hdata, bool on)
on               1466 drivers/gpu/drm/exynos/exynos_hdmi.c 			   SYSREG_HDMI_REFCLK_INT_CLK, on ? ~0 : 0);
on                442 drivers/gpu/drm/gma500/cdv_device.c static void cdv_hotplug_enable(struct drm_device *dev, bool on)
on                444 drivers/gpu/drm/gma500/cdv_device.c 	if (on) {
on                187 drivers/gpu/drm/gma500/cdv_intel_lvds.c 				     struct drm_encoder *encoder, bool on)
on                195 drivers/gpu/drm/gma500/cdv_intel_lvds.c 	if (on) {
on                635 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c static void mdfld_dsi_dpi_set_power(struct drm_encoder *encoder, bool on)
on                650 drivers/gpu/drm/gma500/mdfld_dsi_dpi.c 	if (on) {
on                 35 drivers/gpu/drm/gma500/oaktrail_lvds.c 				bool on)
on                 43 drivers/gpu/drm/gma500/oaktrail_lvds.c 	if (on) {
on                639 drivers/gpu/drm/gma500/psb_drv.h 	void (*hotplug_enable)(struct drm_device *dev, bool on);
on                651 drivers/gpu/drm/gma500/psb_drv.h 	void (*lvds_bl_power)(struct drm_device *dev, bool on);
on                207 drivers/gpu/drm/gma500/psb_intel_lvds.c static void psb_intel_lvds_set_power(struct drm_device *dev, bool on)
on                218 drivers/gpu/drm/gma500/psb_intel_lvds.c 	if (on) {
on               1274 drivers/gpu/drm/gma500/psb_intel_sdvo.c void psb_intel_sdvo_set_hotplug(struct drm_connector *connector, int on)
on               1283 drivers/gpu/drm/gma500/psb_intel_sdvo.c 	if (on) {
on                158 drivers/gpu/drm/i2c/sil164_drv.c sil164_set_power_state(struct i2c_client *client, bool on)
on                162 drivers/gpu/drm/i2c/sil164_drv.c 	if (on)
on                221 drivers/gpu/drm/i2c/sil164_drv.c 	bool on = (mode == DRM_MODE_DPMS_ON);
on                222 drivers/gpu/drm/i2c/sil164_drv.c 	bool duallink = (on && encoder->crtc->mode.clock > 165000);
on                224 drivers/gpu/drm/i2c/sil164_drv.c 	sil164_set_power_state(drm_i2c_encoder_get_client(encoder), on);
on                990 drivers/gpu/drm/i2c/tda998x_drv.c static void tda998x_audio_mute(struct tda998x_priv *priv, bool on)
on                992 drivers/gpu/drm/i2c/tda998x_drv.c 	if (on) {
on               13184 drivers/gpu/drm/i915/display/intel_display.c 		I915_STATE_WARN(!pll->on && pll->active_mask,
on               13186 drivers/gpu/drm/i915/display/intel_display.c 		I915_STATE_WARN(pll->on && !pll->active_mask,
on               13188 drivers/gpu/drm/i915/display/intel_display.c 		I915_STATE_WARN(pll->on != active,
on               13190 drivers/gpu/drm/i915/display/intel_display.c 		     pll->on, active);
on               13216 drivers/gpu/drm/i915/display/intel_display.c 	I915_STATE_WARN(pll->on && memcmp(&pll->state.hw_state,
on               16699 drivers/gpu/drm/i915/display/intel_display.c 		pll->on = pll->info->funcs->get_hw_state(dev_priv, pll,
on               16702 drivers/gpu/drm/i915/display/intel_display.c 		if (IS_ELKHARTLAKE(dev_priv) && pll->on &&
on               16720 drivers/gpu/drm/i915/display/intel_display.c 			      pll->info->name, pll->state.crtc_mask, pll->on);
on               17005 drivers/gpu/drm/i915/display/intel_display.c 		if (!pll->on || pll->active_mask)
on               17012 drivers/gpu/drm/i915/display/intel_display.c 		pll->on = false;
on                150 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 		WARN_ON(pll->on);
on                185 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 		      pll->info->name, pll->active_mask, pll->on,
on                189 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 		WARN_ON(!pll->on);
on                193 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	WARN_ON(pll->on);
on                197 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	pll->on = true;
on                228 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 		      pll->info->name, pll->active_mask, pll->on,
on                232 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	WARN_ON(!pll->on);
on                240 drivers/gpu/drm/i915/display/intel_dpll_mgr.c 	pll->on = false;
on                334 drivers/gpu/drm/i915/display/intel_dpll_mgr.h 	bool on;
on                153 drivers/gpu/drm/i915/gem/i915_gem_object.c 	struct drm_i915_gem_object *obj, *on;
on                157 drivers/gpu/drm/i915/gem/i915_gem_object.c 	llist_for_each_entry_safe(obj, on, freed, freed) {
on                582 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	struct drm_i915_gem_object *obj, *on;
on                584 drivers/gpu/drm/i915/gem/selftests/huge_pages.c 	list_for_each_entry_safe(obj, on, objects, st_link) {
on                262 drivers/gpu/drm/i915/i915_buddy.c 	struct i915_buddy_block *block, *on;
on                264 drivers/gpu/drm/i915/i915_buddy.c 	list_for_each_entry_safe(block, on, objects, link)
on               2837 drivers/gpu/drm/i915/i915_debugfs.c 			   pll->state.crtc_mask, pll->active_mask, yesno(pll->on));
on               2226 drivers/gpu/drm/i915/i915_drv.h int vlv_force_gfx_clock(struct drm_i915_private *dev_priv, bool on);
on                848 drivers/gpu/drm/i915/i915_gem.c 	struct drm_i915_gem_object *obj, *on;
on                858 drivers/gpu/drm/i915/i915_gem.c 	list_for_each_entry_safe(obj, on,
on                122 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 	struct drm_i915_gem_object *obj, *on;
on                124 drivers/gpu/drm/i915/selftests/i915_gem_evict.c 	list_for_each_entry_safe(obj, on, list, st_link) {
on                324 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	struct drm_i915_gem_object *obj, *on;
on                327 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	list_for_each_entry_safe(obj, on, objects, st_link) {
on               1296 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	struct drm_i915_gem_object *obj, *on;
on               1407 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	list_for_each_entry_safe(obj, on, &objects, st_link) {
on               1451 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	list_for_each_entry_safe(obj, on, &objects, st_link) {
on               1461 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	struct drm_i915_gem_object *obj, *on;
on               1579 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	list_for_each_entry_safe(obj, on, &objects, st_link) {
on               1660 drivers/gpu/drm/i915/selftests/i915_gem_gtt.c 	list_for_each_entry_safe(obj, on, &objects, st_link) {
on                149 drivers/gpu/drm/i915/selftests/i915_vma.c 	struct drm_i915_gem_object *obj, *on;
on                209 drivers/gpu/drm/i915/selftests/i915_vma.c 	list_for_each_entry_safe(obj, on, &objects, st_link)
on                394 drivers/gpu/drm/mediatek/mtk_hdmi.c static void mtk_hdmi_hw_ncts_enable(struct mtk_hdmi *hdmi, bool on)
on                396 drivers/gpu/drm/mediatek/mtk_hdmi.c 	mtk_hdmi_mask(hdmi, GRL_CTS_CTRL, on ? 0 : CTS_CTRL_SOFT,
on                878 drivers/gpu/drm/mediatek/mtk_hdmi.c static int mtk_hdmi_aud_on_off_hw_ncts(struct mtk_hdmi *hdmi, bool on)
on                880 drivers/gpu/drm/mediatek/mtk_hdmi.c 	mtk_hdmi_hw_ncts_enable(hdmi, on);
on                 64 drivers/gpu/drm/msm/edp/edp.h void msm_edp_ctrl_power(struct edp_ctrl *ctrl, bool on);
on               1074 drivers/gpu/drm/msm/edp/edp_ctrl.c void msm_edp_ctrl_power(struct edp_ctrl *ctrl, bool on)
on               1076 drivers/gpu/drm/msm/edp/edp_ctrl.c 	if (on)
on                 70 drivers/gpu/drm/msm/hdmi/hdmi_connector.c static int gpio_config(struct hdmi *hdmi, bool on)
on                 75 drivers/gpu/drm/msm/hdmi/hdmi_connector.c 	if (on) {
on                 24 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgf100.h 	void (*unkn88c)(struct gf100_gr *, bool on);
on                151 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c gv100_grctx_generate_r400088(struct gf100_gr *gr, bool on)
on                154 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c 	nvkm_mask(device, 0x400088, 0x00060000, on ? 0x00060000 : 0x00000000);
on                178 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c gv100_grctx_unkn88c(struct gf100_gr *gr, bool on)
on                181 drivers/gpu/drm/nouveau/nvkm/engine/gr/ctxgv100.c 	const u32 mask = 0x00000010, data = on ? mask : 0x00000000;
on                140 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c static inline int s6e63j0x03_apply_mtp_key(struct s6e63j0x03 *ctx, bool on)
on                142 drivers/gpu/drm/panel/panel-samsung-s6e63j0x03.c 	if (on)
on                401 drivers/gpu/drm/panel/panel-sony-acx565akm.c static void acx565akm_set_sleep_mode(struct acx565akm_panel *lcd, int on)
on                403 drivers/gpu/drm/panel/panel-sony-acx565akm.c 	int cmd = on ? MIPI_DCS_ENTER_SLEEP_MODE : MIPI_DCS_EXIT_SLEEP_MODE;
on               4405 drivers/gpu/drm/radeon/radeon_atombios.c radeon_atombios_encoder_dpms_scratch_regs(struct drm_encoder *encoder, bool on)
on               4421 drivers/gpu/drm/radeon/radeon_atombios.c 		if (on)
on               4427 drivers/gpu/drm/radeon/radeon_atombios.c 		if (on)
on               4433 drivers/gpu/drm/radeon/radeon_atombios.c 		if (on)
on               4439 drivers/gpu/drm/radeon/radeon_atombios.c 		if (on)
on               4445 drivers/gpu/drm/radeon/radeon_atombios.c 		if (on)
on               4451 drivers/gpu/drm/radeon/radeon_atombios.c 		if (on)
on               4457 drivers/gpu/drm/radeon/radeon_atombios.c 		if (on)
on               4463 drivers/gpu/drm/radeon/radeon_atombios.c 		if (on)
on               4469 drivers/gpu/drm/radeon/radeon_atombios.c 		if (on)
on               4475 drivers/gpu/drm/radeon/radeon_atombios.c 		if (on)
on               3596 drivers/gpu/drm/radeon/radeon_combios.c radeon_combios_encoder_dpms_scratch_regs(struct drm_encoder *encoder, bool on)
on               3604 drivers/gpu/drm/radeon/radeon_combios.c 		if (on)
on               3610 drivers/gpu/drm/radeon/radeon_combios.c 		if (on)
on               3616 drivers/gpu/drm/radeon/radeon_combios.c 		if (on)
on               3622 drivers/gpu/drm/radeon/radeon_combios.c 		if (on)
on                923 drivers/gpu/drm/radeon/radeon_mode.h radeon_atombios_encoder_dpms_scratch_regs(struct drm_encoder *encoder, bool on);
on                927 drivers/gpu/drm/radeon/radeon_mode.h radeon_combios_encoder_dpms_scratch_regs(struct drm_encoder *encoder, bool on);
on                312 drivers/hid/hidraw.c static int hidraw_fasync(int fd, struct file *file, int on)
on                316 drivers/hid/hidraw.c 	return fasync_helper(fd, file, on, &list->fasync);
on                205 drivers/hid/usbhid/hiddev.c static int hiddev_fasync(int fd, struct file *file, int on)
on                209 drivers/hid/usbhid/hiddev.c 	return fasync_helper(fd, file, on, &list->fasync);
on               1104 drivers/hsi/clients/cmt_speech.c static int cs_char_fasync(int fd, struct file *file, int on)
on               1108 drivers/hsi/clients/cmt_speech.c 	if (fasync_helper(fd, file, on, &csdata->async_queue) < 0)
on                485 drivers/hv/hv_util.c 			 struct ptp_clock_request *request, int on)
on                 51 drivers/ide/alim15x3.c static void ali_fifo_control(ide_hwif_t *hwif, ide_drive_t *drive, int on)
on                 60 drivers/ide/alim15x3.c 	fifo |= (on << shift);
on                311 drivers/ide/au1xxx-ide.c static void auide_dma_host_set(ide_drive_t *drive, int on)
on                285 drivers/ide/icside.c static void icside_dma_host_set(ide_drive_t *drive, int on)
on                516 drivers/ide/ide-acpi.c void ide_acpi_set_state(ide_hwif_t *hwif, int on)
on                527 drivers/ide/ide-acpi.c 	if (on)
on                533 drivers/ide/ide-acpi.c 				on ? ACPI_STATE_D0 : ACPI_STATE_D3_COLD);
on                536 drivers/ide/ide-acpi.c 	if (!on)
on                144 drivers/ide/ide-atapi.c int ide_set_media_lock(ide_drive_t *drive, struct gendisk *disk, int on)
on                153 drivers/ide/ide-atapi.c 	pc.c[4] = on;
on                766 drivers/ide/ide-disk.c 				 int on)
on                775 drivers/ide/ide-disk.c 	cmd.tf.command = on ? ATA_CMD_MEDIA_LOCK : ATA_CMD_MEDIA_UNLOCK;
on                 83 drivers/ide/ide-dma-sff.c void ide_dma_host_set(ide_drive_t *drive, int on)
on                 89 drivers/ide/ide-dma-sff.c 	if (on)
on               1645 drivers/ide/pmac.c static void pmac_ide_dma_host_set(ide_drive_t *drive, int on)
on                230 drivers/ide/trm290.c static void trm290_dma_host_set(ide_drive_t *drive, int on)
on                200 drivers/ide/tx4939ide.c static void tx4939ide_dma_host_set(ide_drive_t *drive, int on)
on                207 drivers/ide/tx4939ide.c 	if (on)
on                947 drivers/idle/intel_idle.c static void __setup_broadcast_timer(bool on)
on                949 drivers/idle/intel_idle.c 	if (on)
on                375 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_set_power_state(struct bmc150_accel_data *data, bool on)
on                380 drivers/iio/accel/bmc150-accel-core.c 	if (on) {
on                389 drivers/iio/accel/bmc150-accel-core.c 			"Failed: %s for %d\n", __func__, on);
on                390 drivers/iio/accel/bmc150-accel-core.c 		if (on)
on                399 drivers/iio/accel/bmc150-accel-core.c static int bmc150_accel_set_power_state(struct bmc150_accel_data *data, bool on)
on                433 drivers/iio/accel/kxcjk-1013.c static int kxcjk1013_set_power_state(struct kxcjk1013_data *data, bool on)
on                438 drivers/iio/accel/kxcjk-1013.c 	if (on)
on                446 drivers/iio/accel/kxcjk-1013.c 			"Failed: %s for %d\n", __func__, on);
on                447 drivers/iio/accel/kxcjk-1013.c 		if (on)
on                212 drivers/iio/accel/mma8452.c static int mma8452_set_runtime_pm_state(struct i2c_client *client, bool on)
on                217 drivers/iio/accel/mma8452.c 	if (on) {
on                226 drivers/iio/accel/mma8452.c 			"failed to change power state to %d\n", on);
on                227 drivers/iio/accel/mma8452.c 		if (on)
on                661 drivers/iio/accel/mma9551_core.c int mma9551_set_power_state(struct i2c_client *client, bool on)
on                666 drivers/iio/accel/mma9551_core.c 	if (on)
on                675 drivers/iio/accel/mma9551_core.c 			"failed to change power state to %d\n", on);
on                676 drivers/iio/accel/mma9551_core.c 		if (on)
on                 65 drivers/iio/accel/mma9551_core.h int mma9551_set_power_state(struct i2c_client *client, bool on);
on                162 drivers/iio/adc/rcar-gyroadc.c static int rcar_gyroadc_set_power(struct rcar_gyroadc *priv, bool on)
on                167 drivers/iio/adc/rcar-gyroadc.c 	if (on) {
on                312 drivers/iio/adc/ti-ads1015.c static int ads1015_set_power_state(struct ads1015_data *data, bool on)
on                317 drivers/iio/adc/ti-ads1015.c 	if (on) {
on                685 drivers/iio/adc/twl4030-madc.c 					      int chan, int on)
on                700 drivers/iio/adc/twl4030-madc.c 	if (on)
on                722 drivers/iio/adc/twl4030-madc.c static int twl4030_madc_set_power(struct twl4030_madc_data *madc, int on)
on                734 drivers/iio/adc/twl4030-madc.c 	if (on)
on                291 drivers/iio/chemical/atlas-ph-sensor.c static int atlas_set_powermode(struct atlas_data *data, int on)
on                293 drivers/iio/chemical/atlas-ph-sensor.c 	return regmap_write(data->regmap, ATLAS_REG_PWR_CONTROL, on);
on                302 drivers/iio/gyro/bmg160_core.c static int bmg160_set_power_state(struct bmg160_data *data, bool on)
on                308 drivers/iio/gyro/bmg160_core.c 	if (on)
on                316 drivers/iio/gyro/bmg160_core.c 		dev_err(dev, "Failed: bmg160_set_power_state for %d\n", on);
on                318 drivers/iio/gyro/bmg160_core.c 		if (on)
on                730 drivers/iio/imu/kmx61.c static int kmx61_set_power_state(struct kmx61_data *data, bool on, u8 device)
on                736 drivers/iio/imu/kmx61.c 		if (on && !data->acc_ps && !data->mag_stby) {
on                741 drivers/iio/imu/kmx61.c 		data->acc_ps = on;
on                744 drivers/iio/imu/kmx61.c 		if (on && !data->mag_ps && !data->acc_stby) {
on                749 drivers/iio/imu/kmx61.c 		data->mag_ps = on;
on                752 drivers/iio/imu/kmx61.c 	if (on) {
on                761 drivers/iio/imu/kmx61.c 			on, ret);
on                762 drivers/iio/imu/kmx61.c 		if (on)
on                435 drivers/iio/light/apds9960.c static int apds9960_set_power_state(struct apds9960_data *data, bool on)
on                442 drivers/iio/light/apds9960.c 	if (on) {
on                462 drivers/iio/light/apds9960.c static int apds9960_set_power_state(struct apds9960_data *data, bool on)
on                336 drivers/iio/light/isl29028.c static int isl29028_set_pm_runtime_busy(struct isl29028_chip *chip, bool on)
on                341 drivers/iio/light/isl29028.c 	if (on) {
on                157 drivers/iio/light/pa12203001.c static int pa12203001_set_power_state(struct pa12203001_data *data, bool on,
on                163 drivers/iio/light/pa12203001.c 	if (on && (mask & PA12203001_ALS_EN_MASK)) {
on                176 drivers/iio/light/pa12203001.c 	if (on && (mask & PA12203001_PX_EN_MASK)) {
on                188 drivers/iio/light/pa12203001.c 	if (on) {
on                328 drivers/iio/light/rpr0521.c static int rpr0521_set_power_state(struct rpr0521_data *data, bool on,
on                335 drivers/iio/light/rpr0521.c 		data->als_ps_need_en = on;
on                336 drivers/iio/light/rpr0521.c 		data->als_need_dis = !on;
on                340 drivers/iio/light/rpr0521.c 		data->pxs_ps_need_en = on;
on                341 drivers/iio/light/rpr0521.c 		data->pxs_need_dis = !on;
on                351 drivers/iio/light/rpr0521.c 	if (on) {
on                360 drivers/iio/light/rpr0521.c 			on, ret);
on                361 drivers/iio/light/rpr0521.c 		if (on)
on                367 drivers/iio/light/rpr0521.c 	if (on) {
on                127 drivers/iio/light/tsl2563.c static int tsl2563_set_power(struct tsl2563_chip *chip, int on)
on                132 drivers/iio/light/tsl2563.c 	cmd = on ? TSL2563_CMD_POWER_ON : TSL2563_CMD_POWER_OFF;
on                634 drivers/iio/light/tsl2583.c static int tsl2583_set_pm_runtime_busy(struct tsl2583_chip *chip, bool on)
on                638 drivers/iio/light/tsl2583.c 	if (on) {
on                362 drivers/iio/light/us5182d.c static int us5182d_set_power_state(struct us5182d_data *data, bool on)
on                369 drivers/iio/light/us5182d.c 	if (on) {
on                141 drivers/iio/light/vcnl4035.c static int vcnl4035_set_pm_runtime_state(struct vcnl4035_data *data, bool on)
on                146 drivers/iio/light/vcnl4035.c 	if (on) {
on                257 drivers/iio/magnetometer/bmc150_magn.c static int bmc150_magn_set_power_state(struct bmc150_magn_data *data, bool on)
on                262 drivers/iio/magnetometer/bmc150_magn.c 	if (on) {
on                271 drivers/iio/magnetometer/bmc150_magn.c 			"failed to change power state to %d\n", on);
on                272 drivers/iio/magnetometer/bmc150_magn.c 		if (on)
on                 35 drivers/infiniband/core/counters.c 			       bool on, enum rdma_nl_counter_mask mask)
on                 45 drivers/infiniband/core/counters.c 	if (on) {
on                334 drivers/infiniband/core/uverbs_main.c static int ib_uverbs_async_event_fasync(int fd, struct file *filp, int on)
on                338 drivers/infiniband/core/uverbs_main.c 	return fasync_helper(fd, filp, on, &file->ev_queue.async_queue);
on                341 drivers/infiniband/core/uverbs_main.c static int ib_uverbs_comp_event_fasync(int fd, struct file *filp, int on)
on                346 drivers/infiniband/core/uverbs_main.c 	return fasync_helper(fd, filp, on, &comp_ev_file->ev_queue.async_queue);
on               2280 drivers/infiniband/hw/hfi1/hfi.h static inline void setextled(struct hfi1_devdata *dd, u32 on)
on               2282 drivers/infiniband/hw/hfi1/hfi.h 	if (on)
on               4076 drivers/infiniband/hw/hfi1/mad.c 	int on = !!(be32_to_cpu(p->rsvd_led_mask) & OPA_LED_MASK);
on               4083 drivers/infiniband/hw/hfi1/mad.c 	if (on)
on                220 drivers/infiniband/hw/hfi1/platform.c int set_qsfp_tx(struct hfi1_pportdata *ppd, int on)
on                222 drivers/infiniband/hw/hfi1/platform.c 	u8 tx_ctrl_byte = on ? 0x0 : 0xF;
on                409 drivers/infiniband/hw/hfi1/platform.h int set_qsfp_tx(struct hfi1_pportdata *ppd, int on);
on               1436 drivers/infiniband/hw/qib/qib_iba6120.c static void qib_6120_setup_setextled(struct qib_pportdata *ppd, u32 on)
on               1455 drivers/infiniband/hw/qib/qib_iba6120.c 	} else if (on) {
on               1725 drivers/infiniband/hw/qib/qib_iba7220.c static void qib_setup_7220_setextled(struct qib_pportdata *ppd, u32 on)
on               1743 drivers/infiniband/hw/qib/qib_iba7220.c 	} else if (on) {
on               2615 drivers/infiniband/hw/qib/qib_iba7322.c static void qib_setup_7322_setextled(struct qib_pportdata *ppd, u32 on)
on               2633 drivers/infiniband/hw/qib/qib_iba7322.c 	} else if (on) {
on                322 drivers/input/evdev.c static int evdev_fasync(int fd, struct file *file, int on)
on                326 drivers/input/evdev.c 	return fasync_helper(fd, file, on, &client->fasync);
on               1654 drivers/input/input.c #define INPUT_DO_TOGGLE(dev, type, bits, on)				\
on               1664 drivers/input/input.c 			if (!active && !on)				\
on               1667 drivers/input/input.c 			dev->event(dev, EV_##type, i, on ? active : 0);	\
on                154 drivers/input/joydev.c static int joydev_fasync(int fd, struct file *file, int on)
on                158 drivers/input/joydev.c 	return fasync_helper(fd, file, on, &client->fasync);
on                508 drivers/input/keyboard/lkkbd.c static void lkkbd_toggle_keyclick(struct lkkbd *lk, bool on)
on                512 drivers/input/keyboard/lkkbd.c 	if (on) {
on                 47 drivers/input/keyboard/matrix_keypad.c 			   int col, bool on)
on                 51 drivers/input/keyboard/matrix_keypad.c 	if (on) {
on                 61 drivers/input/keyboard/matrix_keypad.c 			 int col, bool on)
on                 63 drivers/input/keyboard/matrix_keypad.c 	__activate_col(pdata, col, on);
on                 65 drivers/input/keyboard/matrix_keypad.c 	if (on && pdata->col_scan_delay_us)
on                 70 drivers/input/keyboard/matrix_keypad.c 			      bool on)
on                 75 drivers/input/keyboard/matrix_keypad.c 		__activate_col(pdata, col, on);
on                291 drivers/input/keyboard/qt1050.c static int qt1050_set_key(struct regmap *map, int number, int on)
on                298 drivers/input/keyboard/qt1050.c 				  on ? BIT(4) : 0x00);
on                493 drivers/input/misc/cm109.c static void cm109_toggle_buzzer_sync(struct cm109_dev *dev, int on)
on                497 drivers/input/misc/cm109.c 	if (on)
on                 23 drivers/input/misc/gpio-beeper.c static void gpio_beeper_toggle(struct gpio_beeper *beep, bool on)
on                 25 drivers/input/misc/gpio-beeper.c 	gpiod_set_value_cansleep(beep->desc, on);
on                 76 drivers/input/misc/hp_sdc_rtc.c static int hp_sdc_rtc_fasync (int fd, struct file *filp, int on);
on                426 drivers/input/misc/hp_sdc_rtc.c static int hp_sdc_rtc_fasync (int fd, struct file *filp, int on)
on                428 drivers/input/misc/hp_sdc_rtc.c         return fasync_helper (fd, filp, on, &hp_sdc_rtc_async_queue);
on                 84 drivers/input/misc/max77693-haptic.c static int max77843_haptic_bias(struct max77693_haptic *haptic, bool on)
on                 94 drivers/input/misc/max77693-haptic.c 				   on << MAINCTRL1_BIASEN_SHIFT);
on                 97 drivers/input/misc/max77693-haptic.c 			on ? "enable" : "disable", error);
on                 74 drivers/input/misc/pm8xxx-vibrator.c static int pm8xxx_vib_set(struct pm8xxx_vib *vib, bool on)
on                 80 drivers/input/misc/pm8xxx-vibrator.c 	if (on)
on                 93 drivers/input/misc/pm8xxx-vibrator.c 					regs->enable_mask, on ? ~0 : 0);
on                 36 drivers/input/misc/regulator-haptic.c static int regulator_haptic_toggle(struct regulator_haptic *haptic, bool on)
on                 40 drivers/input/misc/regulator-haptic.c 	if (haptic->active != on) {
on                 42 drivers/input/misc/regulator-haptic.c 		error = on ? regulator_enable(haptic->regulator) :
on                 47 drivers/input/misc/regulator-haptic.c 				on ? "on" : "off", error);
on                 51 drivers/input/misc/regulator-haptic.c 		haptic->active = on;
on                 26 drivers/input/misc/sc27xx-vibra.c static void sc27xx_vibra_set(struct vibra_info *info, bool on)
on                 28 drivers/input/misc/sc27xx-vibra.c 	if (on) {
on                647 drivers/input/mouse/bcm5974.c static int bcm5974_wellspring_mode(struct bcm5974 *dev, bool on)
on                677 drivers/input/mouse/bcm5974.c 	data[c->um_switch_idx] = on ? c->um_switch_on : c->um_switch_off;
on                692 drivers/input/mouse/bcm5974.c 		on ? "wellspring" : "normal");
on                404 drivers/input/mousedev.c static int mousedev_fasync(int fd, struct file *file, int on)
on                408 drivers/input/mousedev.c 	return fasync_helper(fd, file, on, &client->fasync);
on                767 drivers/input/serio/i8042.c static int __init i8042_toggle_aux(bool on)
on                773 drivers/input/serio/i8042.c 			on ? I8042_CMD_AUX_ENABLE : I8042_CMD_AUX_DISABLE))
on                783 drivers/input/serio/i8042.c 		if (!(param & I8042_CTR_AUXDIS) == on)
on                 55 drivers/input/serio/serio_raw.c static int serio_raw_fasync(int fd, struct file *file, int on)
on                 59 drivers/input/serio/serio_raw.c 	return fasync_helper(fd, file, on, &client->fasync);
on                 71 drivers/input/touchscreen/da9034-ts.c static inline int detect_pen_down(struct da9034_touch *touch, int on)
on                 73 drivers/input/touchscreen/da9034-ts.c 	if (on)
on                 28 drivers/input/touchscreen/da9052_tsi.c static void da9052_ts_adc_toggle(struct da9052_tsi *tsi, bool on)
on                 30 drivers/input/touchscreen/da9052_tsi.c 	da9052_reg_update(tsi->da9052, DA9052_TSI_CONT_A_REG, 1 << 0, on);
on                 31 drivers/input/touchscreen/da9052_tsi.c 	tsi->adc_on = on;
on                211 drivers/input/touchscreen/surface3_spi.c static void surface3_spi_power(struct surface3_ts_data *data, bool on)
on                213 drivers/input/touchscreen/surface3_spi.c 	gpiod_set_value(data->gpiod_rst[0], on);
on                214 drivers/input/touchscreen/surface3_spi.c 	gpiod_set_value(data->gpiod_rst[1], on);
on                148 drivers/iommu/omap-iommu.c static void __iommu_set_twl(struct omap_iommu *obj, bool on)
on                152 drivers/iommu/omap-iommu.c 	if (on)
on                158 drivers/iommu/omap-iommu.c 	if (on)
on                 32 drivers/irqchip/irq-ativic32.c static int nointc_set_wake(struct irq_data *data, unsigned int on)
on                 38 drivers/irqchip/irq-ativic32.c 	if (on) {
on                141 drivers/irqchip/irq-gic-v4.c int its_schedule_vpe(struct its_vpe *vpe, bool on)
on                147 drivers/irqchip/irq-gic-v4.c 	info.cmd_type = on ? SCHEDULE_VPE : DESCHEDULE_VPE;
on                197 drivers/irqchip/irq-imgpdc.c static int pdc_irq_set_wake(struct irq_data *data, unsigned int on)
on                205 drivers/irqchip/irq-imgpdc.c 	if (on)
on                217 drivers/irqchip/irq-imgpdc.c 	irq_set_irq_wake(dst_irq, on);
on                 73 drivers/irqchip/irq-imx-gpcv2.c static int imx_gpcv2_irq_set_wake(struct irq_data *d, unsigned int on)
on                 84 drivers/irqchip/irq-imx-gpcv2.c 	cd->wakeup_sources[idx] = on ? (val & ~mask) : (val | mask);
on                269 drivers/irqchip/irq-renesas-intc-irqpin.c static int intc_irqpin_irq_set_wake(struct irq_data *d, unsigned int on)
on                274 drivers/irqchip/irq-renesas-intc-irqpin.c 	irq_set_irq_wake(p->irq[hw_irq].requested_irq, on);
on                275 drivers/irqchip/irq-renesas-intc-irqpin.c 	if (on)
on                 93 drivers/irqchip/irq-renesas-irqc.c static int irqc_irq_set_wake(struct irq_data *d, unsigned int on)
on                 98 drivers/irqchip/irq-renesas-irqc.c 	irq_set_irq_wake(p->irq[hw_irq].requested_irq, on);
on                 99 drivers/irqchip/irq-renesas-irqc.c 	if (on)
on                385 drivers/irqchip/irq-s3c24xx.c int s3c24xx_set_fiq(unsigned int irq, bool on)
on                390 drivers/irqchip/irq-s3c24xx.c 	if (on) {
on                 52 drivers/irqchip/irq-sa11x0.c static int sa1100_set_wake(struct irq_data *d, unsigned int on)
on                 54 drivers/irqchip/irq-sa11x0.c 	return sa11x0_sc_set_wake(d->hwirq, on);
on                535 drivers/irqchip/irq-stm32-exti.c static int stm32_exti_h_set_wake(struct irq_data *d, unsigned int on)
on                542 drivers/irqchip/irq-stm32-exti.c 	if (on)
on                341 drivers/irqchip/irq-vic.c static int vic_set_wake(struct irq_data *d, unsigned int on)
on                353 drivers/irqchip/irq-vic.c 	if (on)
on                 50 drivers/irqchip/qcom-pdc.c static void pdc_enable_intr(struct irq_data *d, bool on)
on                 61 drivers/irqchip/qcom-pdc.c 	enable = on ? ENABLE_INTR(enable, mask) : CLEAR_INTR(enable, mask);
on                162 drivers/isdn/hardware/mISDN/w6692.c w6692_led_handler(struct w6692_hw *card, int on)
on                166 drivers/isdn/hardware/mISDN/w6692.c 	if (on) {
on                 45 drivers/leds/leds-88pm860x.c static int led_power_set(struct pm860x_chip *chip, int port, int on)
on                 53 drivers/leds/leds-88pm860x.c 		ret = on ? pm8606_osc_enable(chip, RGB1_ENABLE) :
on                 59 drivers/leds/leds-88pm860x.c 		ret = on ? pm8606_osc_enable(chip, RGB2_ENABLE) :
on                133 drivers/leds/leds-an30259a.c 	unsigned long off = *delay_off, on = *delay_on;
on                141 drivers/leds/leds-an30259a.c 	if (off % AN30259A_SLOPE_RESOLUTION || on % AN30259A_SLOPE_RESOLUTION) {
on                147 drivers/leds/leds-an30259a.c 	if (off > AN30259A_BLINK_MAX_TIME || on > AN30259A_BLINK_MAX_TIME) {
on                153 drivers/leds/leds-an30259a.c 	if (!off && !on) {
on                155 drivers/leds/leds-an30259a.c 		*delay_on = on = 500;
on                160 drivers/leds/leds-an30259a.c 	on /= AN30259A_SLOPE_RESOLUTION;
on                181 drivers/leds/leds-an30259a.c 			   AN30259A_LED_SLOPETIME2(on));
on                234 drivers/leds/leds-as3645a.c as3645a_set_control(struct as3645a *flash, enum as_mode mode, bool on)
on                240 drivers/leds/leds-as3645a.c 	    | (on ? AS_CONTROL_OUT_ON : 0)
on                 61 drivers/leds/leds-asic3.c 	u32 on;
on                 70 drivers/leds/leds-asic3.c 		on = MS_TO_CLK(500);
on                 73 drivers/leds/leds-asic3.c 		on = MS_TO_CLK(*delay_on);
on                 75 drivers/leds/leds-asic3.c 		if ((on + off) > MAX_CLK)
on                 80 drivers/leds/leds-asic3.c 	asic3_write_register(asic, (base + ASIC3_LED_PeriodTime), (on + off));
on                 81 drivers/leds/leds-asic3.c 	asic3_write_register(asic, (base + ASIC3_LED_DutyTime), on);
on                 85 drivers/leds/leds-asic3.c 	*delay_on = CLK_TO_MS(on);
on                130 drivers/leds/leds-is31fl319x.c 		bool on;
on                140 drivers/leds/leds-is31fl319x.c 		on = ret >= 0 && pwm_value > LED_OFF;
on                143 drivers/leds/leds-is31fl319x.c 			ctrl1 |= on << i;       /* 0..2 => bit 0..2 */
on                145 drivers/leds/leds-is31fl319x.c 			ctrl1 |= on << (i + 1); /* 3..5 => bit 4..6 */
on                147 drivers/leds/leds-is31fl319x.c 			ctrl2 |= on << (i - 6); /* 6..8 => bit 0..2 */
on                 37 drivers/leds/leds-lp3952.c 			  enum lp3952_leds led_id, bool on)
on                 41 drivers/leds/leds-lp3952.c 	dev_dbg(&priv->client->dev, "%s LED %d to %d\n", __func__, led_id, on);
on                 48 drivers/leds/leds-lp3952.c 				 on ? val : 0);
on                 27 drivers/leds/leds-lp8788.c 	int on;
on                 74 drivers/leds/leds-lp8788.c 			enum lp8788_isink_number num, int on)
on                 79 drivers/leds/leds-lp8788.c 	u8 val = on << num;
on                 83 drivers/leds/leds-lp8788.c 		led->on = on;
on                113 drivers/leds/leds-lp8788.c 	if (enable != led->on)
on                 20 drivers/leds/trigger/ledtrig-camera.c void ledtrig_flash_ctrl(bool on)
on                 22 drivers/leds/trigger/ledtrig-camera.c 	enum led_brightness brt = on ? LED_FULL : LED_OFF;
on                 28 drivers/leds/trigger/ledtrig-camera.c void ledtrig_torch_ctrl(bool on)
on                 30 drivers/leds/trigger/ledtrig-camera.c 	enum led_brightness brt = on ? LED_FULL : LED_OFF;
on               1726 drivers/macintosh/via-pmu.c pmu_enable_irled(int on)
on               1736 drivers/macintosh/via-pmu.c 	    (on ? PMU_POW_ON : PMU_POW_OFF));
on                 86 drivers/mailbox/mailbox-test.c static int mbox_test_message_fasync(int fd, struct file *filp, int on)
on                 90 drivers/mailbox/mailbox-test.c 	return fasync_helper(fd, filp, on, &tdev->async_queue);
on                862 drivers/media/common/saa7146/saa7146_video.c static int vidioc_overlay(struct file *file, void *fh, unsigned int on)
on                866 drivers/media/common/saa7146/saa7146_video.c 	DEB_D("VIDIOC_OVERLAY on:%d\n", on);
on                867 drivers/media/common/saa7146/saa7146_video.c 	if (on)
on                265 drivers/media/dvb-frontends/cx24113.c static int cx24113_set_clk_inversion(struct cx24113_state *state, u8 on)
on                267 drivers/media/dvb-frontends/cx24113.c 	u8 r = (cx24113_readreg(state, 0x10) & 0x7f) | ((on & 0x1) << 7);
on               1565 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c static int t_power_x(struct cxd2880_tnrdmd *tnr_dmd, u8 on)
on               1594 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c 	if (on) {
on                528 drivers/media/dvb-frontends/tc90522.c static int tc90522_set_if_agc(struct dvb_frontend *fe, bool on)
on                547 drivers/media/dvb-frontends/tc90522.c 		agc_sat[0].val = on ? 0xff : 0x00;
on                549 drivers/media/dvb-frontends/tc90522.c 		agc_sat[1].val |= on ? 0x01 : 0x00;
on                550 drivers/media/dvb-frontends/tc90522.c 		agc_sat[2].val |= on ? 0x40 : 0x00;
on                554 drivers/media/dvb-frontends/tc90522.c 		agc_ter[0].val = on ? 0x40 : 0x00;
on                555 drivers/media/dvb-frontends/tc90522.c 		agc_ter[1].val |= on ? 0x00 : 0x01;
on                211 drivers/media/i2c/ad5820.c ad5820_set_power(struct v4l2_subdev *subdev, int on)
on                222 drivers/media/i2c/ad5820.c 	if (coil->power_count == !on) {
on                223 drivers/media/i2c/ad5820.c 		ret = on ? ad5820_power_on(coil, true) :
on                230 drivers/media/i2c/ad5820.c 	coil->power_count += on ? 1 : -1;
on                433 drivers/media/i2c/ad9389b.c static int ad9389b_s_power(struct v4l2_subdev *sd, int on)
on                440 drivers/media/i2c/ad9389b.c 	v4l2_dbg(1, debug, sd, "%s: power %s\n", __func__, on ? "on" : "off");
on                442 drivers/media/i2c/ad9389b.c 	state->power_on = on;
on                444 drivers/media/i2c/ad9389b.c 	if (!on) {
on                296 drivers/media/i2c/adp1653.c __adp1653_set_power(struct adp1653_flash *flash, int on)
on                301 drivers/media/i2c/adp1653.c 		ret = flash->platform_data->power(&flash->subdev, on);
on                305 drivers/media/i2c/adp1653.c 		gpiod_set_value(flash->platform_data->enable_gpio, on);
on                306 drivers/media/i2c/adp1653.c 		if (on)
on                311 drivers/media/i2c/adp1653.c 	if (!on)
on                327 drivers/media/i2c/adp1653.c adp1653_set_power(struct v4l2_subdev *subdev, int on)
on                337 drivers/media/i2c/adp1653.c 	if (flash->power_count == !on) {
on                338 drivers/media/i2c/adp1653.c 		ret = __adp1653_set_power(flash, !!on);
on                344 drivers/media/i2c/adp1653.c 	flash->power_count += on ? 1 : -1;
on                356 drivers/media/i2c/adv7175.c static int adv7175_s_power(struct v4l2_subdev *sd, int on)
on                358 drivers/media/i2c/adv7175.c 	if (on)
on                474 drivers/media/i2c/adv7180.c static void adv7180_set_power_pin(struct adv7180_state *state, bool on)
on                479 drivers/media/i2c/adv7180.c 	if (on) {
on                487 drivers/media/i2c/adv7180.c static int adv7180_set_power(struct adv7180_state *state, bool on)
on                492 drivers/media/i2c/adv7180.c 	if (on)
on                502 drivers/media/i2c/adv7180.c 		if (on) {
on                519 drivers/media/i2c/adv7180.c static int adv7180_s_power(struct v4l2_subdev *sd, int on)
on                528 drivers/media/i2c/adv7180.c 	ret = adv7180_set_power(state, on);
on                530 drivers/media/i2c/adv7180.c 		state->powered = on;
on                306 drivers/media/i2c/adv748x/adv748x-core.c int adv748x_tx_power(struct adv748x_csi2 *tx, bool on)
on                322 drivers/media/i2c/adv748x/adv748x-core.c 	WARN_ONCE((on && val & ADV748X_CSI_FS_AS_LS_UNKNOWN),
on                325 drivers/media/i2c/adv748x/adv748x-core.c 	return on ? adv748x_power_up_tx(tx) : adv748x_power_down_tx(tx);
on                433 drivers/media/i2c/adv748x/adv748x.h int adv748x_tx_power(struct adv748x_csi2 *tx, bool on);
on                675 drivers/media/i2c/adv7511-v4l2.c static int adv7511_s_power(struct v4l2_subdev *sd, int on)
on                681 drivers/media/i2c/adv7511-v4l2.c 	v4l2_dbg(1, debug, sd, "%s: power %s\n", __func__, on ? "on" : "off");
on                683 drivers/media/i2c/adv7511-v4l2.c 	state->power_on = on;
on                685 drivers/media/i2c/adv7511-v4l2.c 	if (!on) {
on               1292 drivers/media/i2c/et8ek8/et8ek8_driver.c static int __et8ek8_set_power(struct et8ek8_sensor *sensor, bool on)
on               1294 drivers/media/i2c/et8ek8/et8ek8_driver.c 	return on ? et8ek8_power_on(sensor) : et8ek8_power_off(sensor);
on               1297 drivers/media/i2c/et8ek8/et8ek8_driver.c static int et8ek8_set_power(struct v4l2_subdev *subdev, int on)
on               1307 drivers/media/i2c/et8ek8/et8ek8_driver.c 	if (sensor->power_count == !on) {
on               1308 drivers/media/i2c/et8ek8/et8ek8_driver.c 		ret = __et8ek8_set_power(sensor, !!on);
on               1314 drivers/media/i2c/et8ek8/et8ek8_driver.c 	sensor->power_count += on ? 1 : -1;
on               1318 drivers/media/i2c/imx274.c static int imx274_s_stream(struct v4l2_subdev *sd, int on)
on               1324 drivers/media/i2c/imx274.c 		on ? "Stream Start" : "Stream Stop",
on               1329 drivers/media/i2c/imx274.c 	if (on) {
on                 91 drivers/media/i2c/lm3560.c 			      enum lm3560_led_id led_no, bool on)
on                 96 drivers/media/i2c/lm3560.c 		if (on)
on                103 drivers/media/i2c/lm3560.c 		if (on)
on                224 drivers/media/i2c/m5mols/m5mols.h 	int (*set_power)(struct device *dev, int on);
on                864 drivers/media/i2c/m5mols/m5mols_core.c static int m5mols_s_power(struct v4l2_subdev *sd, int on)
on                871 drivers/media/i2c/m5mols/m5mols_core.c 	if (on) {
on                839 drivers/media/i2c/mt9m111.c static int mt9m111_set_autowhitebalance(struct mt9m111 *mt9m111, int on)
on                843 drivers/media/i2c/mt9m111.c 	if (on)
on               1012 drivers/media/i2c/mt9m111.c static int mt9m111_s_power(struct v4l2_subdev *sd, int on)
on               1023 drivers/media/i2c/mt9m111.c 	if (mt9m111->power_count == !on) {
on               1024 drivers/media/i2c/mt9m111.c 		if (on)
on               1032 drivers/media/i2c/mt9m111.c 		mt9m111->power_count += on ? 1 : -1;
on                353 drivers/media/i2c/mt9p031.c static int __mt9p031_set_power(struct mt9p031 *mt9p031, bool on)
on                358 drivers/media/i2c/mt9p031.c 	if (!on) {
on                882 drivers/media/i2c/mt9p031.c static int mt9p031_set_power(struct v4l2_subdev *subdev, int on)
on                892 drivers/media/i2c/mt9p031.c 	if (mt9p031->power_count == !on) {
on                893 drivers/media/i2c/mt9p031.c 		ret = __mt9p031_set_power(mt9p031, !!on);
on                899 drivers/media/i2c/mt9p031.c 	mt9p031->power_count += on ? 1 : -1;
on                216 drivers/media/i2c/mt9t001.c static int __mt9t001_set_power(struct mt9t001 *mt9t001, bool on)
on                221 drivers/media/i2c/mt9t001.c 	if (!on) {
on                738 drivers/media/i2c/mt9t001.c static int mt9t001_set_power(struct v4l2_subdev *subdev, int on)
on                748 drivers/media/i2c/mt9t001.c 	if (mt9t001->power_count == !on) {
on                749 drivers/media/i2c/mt9t001.c 		ret = __mt9t001_set_power(mt9t001, !!on);
on                755 drivers/media/i2c/mt9t001.c 	mt9t001->power_count += on ? 1 : -1;
on                774 drivers/media/i2c/mt9t112.c static int mt9t112_s_power(struct v4l2_subdev *sd, int on)
on                779 drivers/media/i2c/mt9t112.c 	return on ? mt9t112_power_on(priv) :
on                317 drivers/media/i2c/mt9v032.c static int __mt9v032_set_power(struct mt9v032 *mt9v032, bool on)
on                322 drivers/media/i2c/mt9v032.c 	if (!on) {
on                842 drivers/media/i2c/mt9v032.c static int mt9v032_set_power(struct v4l2_subdev *subdev, int on)
on                852 drivers/media/i2c/mt9v032.c 	if (mt9v032->power_count == !on) {
on                853 drivers/media/i2c/mt9v032.c 		ret = __mt9v032_set_power(mt9v032, !!on);
on                859 drivers/media/i2c/mt9v032.c 	mt9v032->power_count += on ? 1 : -1;
on                646 drivers/media/i2c/mt9v111.c static int mt9v111_s_power(struct v4l2_subdev *sd, int on)
on                659 drivers/media/i2c/mt9v111.c 	pwr_count += on ? 1 : -1;
on                660 drivers/media/i2c/mt9v111.c 	if (pwr_count == !!on) {
on                661 drivers/media/i2c/mt9v111.c 		ret = on ? __mt9v111_power_on(sd) :
on                310 drivers/media/i2c/noon010pc30.c static int noon010_enable_autowhitebalance(struct v4l2_subdev *sd, int on)
on                314 drivers/media/i2c/noon010pc30.c 	ret = cam_i2c_write(sd, AWB_CTL_REG(1), on ? 0x2E : 0x2F);
on                316 drivers/media/i2c/noon010pc30.c 		ret = cam_i2c_write(sd, AWB_CTL_REG(0), on ? 0xFB : 0x7B);
on                587 drivers/media/i2c/noon010pc30.c static int noon010_s_power(struct v4l2_subdev *sd, int on)
on                593 drivers/media/i2c/noon010pc30.c 	if (on) {
on                604 drivers/media/i2c/noon010pc30.c 	if (!ret && on)
on                610 drivers/media/i2c/noon010pc30.c static int noon010_s_stream(struct v4l2_subdev *sd, int on)
on                616 drivers/media/i2c/noon010pc30.c 	if (!info->streaming != !on) {
on                617 drivers/media/i2c/noon010pc30.c 		ret = noon010_power_ctrl(sd, false, !on);
on                619 drivers/media/i2c/noon010pc30.c 			info->streaming = on;
on                621 drivers/media/i2c/noon010pc30.c 	if (!ret && on && info->apply_new_cfg) {
on                787 drivers/media/i2c/ov2640.c static void ov2640_set_power(struct ov2640_priv *priv, int on)
on                791 drivers/media/i2c/ov2640.c 		gpiod_direction_output(priv->pwdn_gpio, !on);
on                792 drivers/media/i2c/ov2640.c 	if (on && priv->resetb_gpio) {
on                801 drivers/media/i2c/ov2640.c static int ov2640_s_power(struct v4l2_subdev *sd, int on)
on                812 drivers/media/i2c/ov2640.c 	if (priv->power_count == !on)
on                813 drivers/media/i2c/ov2640.c 		ov2640_set_power(priv, on);
on                814 drivers/media/i2c/ov2640.c 	priv->power_count += on ? 1 : -1;
on               1059 drivers/media/i2c/ov2640.c static int ov2640_s_stream(struct v4l2_subdev *sd, int on)
on               1066 drivers/media/i2c/ov2640.c 	if (priv->streaming == !on) {
on               1067 drivers/media/i2c/ov2640.c 		if (on) {
on               1075 drivers/media/i2c/ov2640.c 		priv->streaming = on;
on                976 drivers/media/i2c/ov2659.c static void ov2659_set_streaming(struct ov2659 *ov2659, int on)
on                981 drivers/media/i2c/ov2659.c 	on = !!on;
on                983 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "%s: on: %d\n", __func__, on);
on                985 drivers/media/i2c/ov2659.c 	ret = ov2659_write(client, REG_SOFTWARE_STANDBY, on);
on               1186 drivers/media/i2c/ov2659.c static int ov2659_s_stream(struct v4l2_subdev *sd, int on)
on               1192 drivers/media/i2c/ov2659.c 	dev_dbg(&client->dev, "%s: on: %d\n", __func__, on);
on               1196 drivers/media/i2c/ov2659.c 	on = !!on;
on               1198 drivers/media/i2c/ov2659.c 	if (ov2659->streaming == on)
on               1201 drivers/media/i2c/ov2659.c 	if (!on) {
on               1204 drivers/media/i2c/ov2659.c 		ov2659->streaming = on;
on               1215 drivers/media/i2c/ov2659.c 		ov2659->streaming = on;
on                581 drivers/media/i2c/ov2680.c static int ov2680_s_power(struct v4l2_subdev *sd, int on)
on                588 drivers/media/i2c/ov2680.c 	if (on)
on                595 drivers/media/i2c/ov2680.c 	if (on && ret == 0) {
on                446 drivers/media/i2c/ov2685.c static int ov2685_s_stream(struct v4l2_subdev *sd, int on)
on                454 drivers/media/i2c/ov2685.c 	on = !!on;
on                455 drivers/media/i2c/ov2685.c 	if (on == ov2685->streaming)
on                458 drivers/media/i2c/ov2685.c 	if (on) {
on                481 drivers/media/i2c/ov2685.c 	ov2685->streaming = on;
on               1126 drivers/media/i2c/ov5640.c static int ov5640_set_autoexposure(struct ov5640_dev *sensor, bool on)
on               1129 drivers/media/i2c/ov5640.c 			      BIT(0), on ? 0 : BIT(0));
on               1194 drivers/media/i2c/ov5640.c static int ov5640_set_autogain(struct ov5640_dev *sensor, bool on)
on               1197 drivers/media/i2c/ov5640.c 			      BIT(1), on ? 0 : BIT(1));
on               1200 drivers/media/i2c/ov5640.c static int ov5640_set_stream_dvp(struct ov5640_dev *sensor, bool on)
on               1226 drivers/media/i2c/ov5640.c 	if (on) {
on               1263 drivers/media/i2c/ov5640.c 			       OV5640_REG_IO_MIPI_CTRL00, on ? 0x18 : 0);
on               1279 drivers/media/i2c/ov5640.c 			       on ? 0x7f : 0);
on               1291 drivers/media/i2c/ov5640.c 				on ? 0xfc : 0);
on               1294 drivers/media/i2c/ov5640.c static int ov5640_set_stream_mipi(struct ov5640_dev *sensor, bool on)
on               1316 drivers/media/i2c/ov5640.c 			       on ? 0x45 : 0x40);
on               1321 drivers/media/i2c/ov5640.c 				on ? 0x00 : 0x0f);
on               1990 drivers/media/i2c/ov5640.c static int ov5640_set_power(struct ov5640_dev *sensor, bool on)
on               1994 drivers/media/i2c/ov5640.c 	if (on) {
on               2073 drivers/media/i2c/ov5640.c static int ov5640_s_power(struct v4l2_subdev *sd, int on)
on               2084 drivers/media/i2c/ov5640.c 	if (sensor->power_count == !on) {
on               2085 drivers/media/i2c/ov5640.c 		ret = ov5640_set_power(sensor, !!on);
on               2091 drivers/media/i2c/ov5640.c 	sensor->power_count += on ? 1 : -1;
on               2096 drivers/media/i2c/ov5640.c 	if (on && !ret && sensor->power_count == 1) {
on                672 drivers/media/i2c/ov5645.c static int ov5645_s_power(struct v4l2_subdev *sd, int on)
on                682 drivers/media/i2c/ov5645.c 	if (ov5645->power_count == !on) {
on                683 drivers/media/i2c/ov5645.c 		if (on) {
on                706 drivers/media/i2c/ov5645.c 	ov5645->power_count += on ? 1 : -1;
on                347 drivers/media/i2c/ov5647.c static int ov5647_sensor_power(struct v4l2_subdev *sd, int on)
on                355 drivers/media/i2c/ov5647.c 	if (on && !ov5647->power_count)	{
on                380 drivers/media/i2c/ov5647.c 	} else if (!on && ov5647->power_count == 1) {
on                398 drivers/media/i2c/ov5647.c 	ov5647->power_count += on ? 1 : -1;
on                937 drivers/media/i2c/ov5695.c static int ov5695_s_stream(struct v4l2_subdev *sd, int on)
on                944 drivers/media/i2c/ov5695.c 	on = !!on;
on                945 drivers/media/i2c/ov5695.c 	if (on == ov5695->streaming)
on                948 drivers/media/i2c/ov5695.c 	if (on) {
on                966 drivers/media/i2c/ov5695.c 	ov5695->streaming = on;
on                434 drivers/media/i2c/ov6650.c static int ov6650_s_power(struct v4l2_subdev *sd, int on)
on                440 drivers/media/i2c/ov6650.c 	if (on)
on                768 drivers/media/i2c/ov7251.c static int ov7251_s_power(struct v4l2_subdev *sd, int on)
on                776 drivers/media/i2c/ov7251.c 	if (ov7251->power_on == !!on)
on                779 drivers/media/i2c/ov7251.c 	if (on) {
on                244 drivers/media/i2c/ov7670.c 	int on;
on                870 drivers/media/i2c/ov7670.c 	if (info->on)
on                910 drivers/media/i2c/ov7670.c 	if (info->on)
on               1126 drivers/media/i2c/ov7670.c 	if (info->on)
on               1642 drivers/media/i2c/ov7670.c 	if (info->on)
on               1657 drivers/media/i2c/ov7670.c 	info->on = true;
on               1664 drivers/media/i2c/ov7670.c 	if (!info->on)
on               1672 drivers/media/i2c/ov7670.c 	info->on = false;
on               1675 drivers/media/i2c/ov7670.c static int ov7670_s_power(struct v4l2_subdev *sd, int on)
on               1679 drivers/media/i2c/ov7670.c 	if (info->on == on)
on               1682 drivers/media/i2c/ov7670.c 	if (on) {
on                900 drivers/media/i2c/ov772x.c static int ov772x_s_power(struct v4l2_subdev *sd, int on)
on                910 drivers/media/i2c/ov772x.c 	if (priv->power_count == !on) {
on                911 drivers/media/i2c/ov772x.c 		if (on) {
on                927 drivers/media/i2c/ov772x.c 		priv->power_count += on ? 1 : -1;
on                297 drivers/media/i2c/ov7740.c static int ov7740_set_power(struct ov7740 *ov7740, int on)
on                301 drivers/media/i2c/ov7740.c 	if (on) {
on                328 drivers/media/i2c/ov9640.c static int ov9640_s_power(struct v4l2_subdev *sd, int on)
on                333 drivers/media/i2c/ov9640.c 	if (on) {
on                508 drivers/media/i2c/ov9650.c static int __ov965x_set_power(struct ov965x *ov965x, int on)
on                510 drivers/media/i2c/ov9650.c 	if (on) {
on                531 drivers/media/i2c/ov9650.c static int ov965x_s_power(struct v4l2_subdev *sd, int on)
on                536 drivers/media/i2c/ov9650.c 	v4l2_dbg(1, debug, sd, "%s: on: %d\n", __func__, on);
on                539 drivers/media/i2c/ov9650.c 	if (ov965x->power == !on) {
on                540 drivers/media/i2c/ov9650.c 		ret = __ov965x_set_power(ov965x, on);
on                541 drivers/media/i2c/ov9650.c 		if (!ret && on) {
on                549 drivers/media/i2c/ov9650.c 		ov965x->power += on ? 1 : -1;
on               1323 drivers/media/i2c/ov9650.c static int ov965x_s_stream(struct v4l2_subdev *sd, int on)
on               1329 drivers/media/i2c/ov9650.c 	v4l2_dbg(1, debug, sd, "%s: on: %d\n", __func__, on);
on               1332 drivers/media/i2c/ov9650.c 	if (ov965x->streaming == !on) {
on               1333 drivers/media/i2c/ov9650.c 		if (on)
on               1350 drivers/media/i2c/ov9650.c 					   on ? 0x01 : 0x11);
on               1353 drivers/media/i2c/ov9650.c 		ov965x->streaming += on ? 1 : -1;
on               1163 drivers/media/i2c/rj54n1cb0c.c static int rj54n1_s_power(struct v4l2_subdev *sd, int on)
on               1168 drivers/media/i2c/rj54n1cb0c.c 	if (on) {
on                414 drivers/media/i2c/s5c73m3/s5c73m3-core.c 								int on)
on                419 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	if (on && state->apply_fmt) {
on                433 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	ret = s5c73m3_isp_command(state, COMM_SENSOR_STREAMING, !!on);
on                437 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	state->streaming = !!on;
on                439 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	if (!on)
on                451 drivers/media/i2c/s5c73m3/s5c73m3-core.c static int s5c73m3_oif_s_stream(struct v4l2_subdev *sd, int on)
on                457 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	ret = __s5c73m3_s_stream(state, sd, on);
on               1434 drivers/media/i2c/s5c73m3/s5c73m3-core.c static int s5c73m3_oif_set_power(struct v4l2_subdev *sd, int on)
on               1441 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	if (on && !state->power) {
on               1449 drivers/media/i2c/s5c73m3/s5c73m3-core.c 	} else if (state->power == !on) {
on               1457 drivers/media/i2c/s5c73m3/s5c73m3-core.c 		state->power += on ? 1 : -1;
on                168 drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c static int s5c73m3_af_run(struct s5c73m3 *state, bool on)
on                172 drivers/media/i2c/s5c73m3/s5c73m3-ctrls.c 	if (!on)
on                705 drivers/media/i2c/s5k4ecgx.c static int s5k4ecgx_s_power(struct v4l2_subdev *sd, int on)
on                710 drivers/media/i2c/s5k4ecgx.c 	v4l2_dbg(1, debug, sd, "Switching %s\n", on ? "on" : "off");
on                712 drivers/media/i2c/s5k4ecgx.c 	if (on) {
on                789 drivers/media/i2c/s5k4ecgx.c static int __s5k4ecgx_s_stream(struct s5k4ecgx *priv, int on)
on                794 drivers/media/i2c/s5k4ecgx.c 	if (on && priv->set_params) {
on                804 drivers/media/i2c/s5k4ecgx.c 	ret = s5k4ecgx_write(client, REG_G_ENABLE_PREV, on);
on                810 drivers/media/i2c/s5k4ecgx.c static int s5k4ecgx_s_stream(struct v4l2_subdev *sd, int on)
on                815 drivers/media/i2c/s5k4ecgx.c 	v4l2_dbg(1, debug, sd, "Turn streaming %s\n", on ? "on" : "off");
on                819 drivers/media/i2c/s5k4ecgx.c 	if (priv->streaming == !on) {
on                820 drivers/media/i2c/s5k4ecgx.c 		ret = __s5k4ecgx_s_stream(priv, on);
on                822 drivers/media/i2c/s5k4ecgx.c 			priv->streaming = on & 1;
on               1047 drivers/media/i2c/s5k5baf.c static int s5k5baf_set_power(struct v4l2_subdev *sd, int on)
on               1054 drivers/media/i2c/s5k5baf.c 	if (state->power != !on)
on               1057 drivers/media/i2c/s5k5baf.c 	if (on) {
on               1089 drivers/media/i2c/s5k5baf.c 	if (!ret && on)
on               1100 drivers/media/i2c/s5k5baf.c static int s5k5baf_s_stream(struct v4l2_subdev *sd, int on)
on               1107 drivers/media/i2c/s5k5baf.c 	if (state->streaming == !!on) {
on               1112 drivers/media/i2c/s5k5baf.c 	if (on) {
on                248 drivers/media/i2c/s5k6a3.c static int s5k6a3_s_power(struct v4l2_subdev *sd, int on)
on                255 drivers/media/i2c/s5k6a3.c 	if (sensor->power_count == !on) {
on                256 drivers/media/i2c/s5k6a3.c 		if (on)
on                262 drivers/media/i2c/s5k6a3.c 			sensor->power_count += on ? 1 : -1;
on                872 drivers/media/i2c/s5k6aa.c static int s5k6aa_set_power(struct v4l2_subdev *sd, int on)
on                879 drivers/media/i2c/s5k6aa.c 	if (s5k6aa->power == !on) {
on                880 drivers/media/i2c/s5k6aa.c 		if (on) {
on                889 drivers/media/i2c/s5k6aa.c 			s5k6aa->power += on ? 1 : -1;
on                894 drivers/media/i2c/s5k6aa.c 	if (!on || ret || s5k6aa->power != 1)
on                914 drivers/media/i2c/s5k6aa.c static int s5k6aa_s_stream(struct v4l2_subdev *sd, int on)
on                921 drivers/media/i2c/s5k6aa.c 	if (s5k6aa->streaming == !on) {
on                927 drivers/media/i2c/s5k6aa.c 			ret = __s5k6aa_stream(s5k6aa, !!on);
on                591 drivers/media/i2c/sr030pc30.c static int sr030pc30_s_power(struct v4l2_subdev *sd, int on)
on                607 drivers/media/i2c/sr030pc30.c 	if (!on)
on                612 drivers/media/i2c/sr030pc30.c 		ret = pdata->set_power(&client->dev, on);
on                617 drivers/media/i2c/sr030pc30.c 	if (on) {
on               2239 drivers/media/i2c/tda1997x.c static int tda1997x_set_power(struct tda1997x_state *state, bool on)
on               2243 drivers/media/i2c/tda1997x.c 	if (on) {
on                145 drivers/media/i2c/ths8200.c static int ths8200_s_power(struct v4l2_subdev *sd, int on)
on                149 drivers/media/i2c/ths8200.c 	v4l2_dbg(1, debug, sd, "%s: power %s\n", __func__, on ? "on" : "off");
on                151 drivers/media/i2c/ths8200.c 	state->power_on = on;
on                154 drivers/media/i2c/ths8200.c 	ths8200_write_and_or(sd, THS8200_CHIP_CTL, 0xf2, (on ? 0x00 : 0x0c));
on                641 drivers/media/i2c/tw9910.c static int tw9910_s_power(struct v4l2_subdev *sd, int on)
on                646 drivers/media/i2c/tw9910.c 	return on ? tw9910_power_on(priv) : tw9910_power_off(priv);
on                116 drivers/media/i2c/video-i2c.c 	int (*set_power)(struct video_i2c_data *data, bool on);
on                250 drivers/media/i2c/video-i2c.c static int amg88xx_set_power(struct video_i2c_data *data, bool on)
on                252 drivers/media/i2c/video-i2c.c 	if (on)
on               2535 drivers/media/pci/bt8xx/bttv-driver.c static int bttv_overlay(struct file *file, void *f, unsigned int on)
on               2542 drivers/media/pci/bt8xx/bttv-driver.c 	if (on) {
on               2558 drivers/media/pci/bt8xx/bttv-driver.c 	if (on) {
on                133 drivers/media/pci/ddbridge/ddbridge-sx8.c static int mci_set_tuner(struct dvb_frontend *fe, u32 tuner, u32 on)
on                142 drivers/media/pci/ddbridge/ddbridge-sx8.c 	cmd.command = on ? SX8_CMD_INPUT_ENABLE : SX8_CMD_INPUT_DISABLE;
on               1470 drivers/media/pci/ivtv/ivtv-ioctl.c static int ivtv_overlay(struct file *file, void *fh, unsigned int on)
on               1481 drivers/media/pci/ivtv/ivtv-ioctl.c 	ivtv_vapi(itv, CX2341X_OSD_SET_STATE, 1, on != 0);
on                112 drivers/media/pci/pt3/pt3.c static inline void pt3_lnb_ctrl(struct pt3_board *pt3, bool on)
on                114 drivers/media/pci/pt3/pt3.c 	iowrite32((on ? 0x0f : 0x0c), pt3->regs[0] + REG_SYSTEM_W);
on                187 drivers/media/pci/pt3/pt3.c 	bool on;
on                192 drivers/media/pci/pt3/pt3.c 	on = (volt != SEC_VOLTAGE_OFF);
on                193 drivers/media/pci/pt3/pt3.c 	if (on == adap->cur_lnb)
on                195 drivers/media/pci/pt3/pt3.c 	adap->cur_lnb = on;
on                199 drivers/media/pci/pt3/pt3.c 	if (on)
on                204 drivers/media/pci/pt3/pt3.c 	if (on && pt3->lnb_on_cnt <= 1) {
on                207 drivers/media/pci/pt3/pt3.c 	} else if (!on && pt3->lnb_on_cnt <= 0) {
on                 72 drivers/media/pci/saa7134/saa7134-dvb.c static int pinnacle_antenna_pwr(struct saa7134_dev *dev, int on)
on                 76 drivers/media/pci/saa7134/saa7134-dvb.c 	if (!on) {
on                167 drivers/media/pci/saa7134/saa7134-dvb.c 	u8 on[]  = { 0x00, 0x71};
on                181 drivers/media/pci/saa7134/saa7134-dvb.c 	msg.buf = on;
on               1932 drivers/media/pci/saa7134/saa7134-dvb.c 		static int on  = TDA9887_PRESENT | TDA9887_PORT2_INACTIVE;
on               1935 drivers/media/pci/saa7134/saa7134-dvb.c 		tda9887_cfg.priv  = &on;
on               1825 drivers/media/pci/saa7134/saa7134-video.c static int saa7134_overlay(struct file *file, void *priv, unsigned int on)
on               1830 drivers/media/pci/saa7134/saa7134-video.c 	if (on) {
on               1843 drivers/media/pci/saa7134/saa7134-video.c 	if (!on) {
on                 46 drivers/media/pci/solo6x10/solo6x10-g723.c 	int				on;
on                 93 drivers/media/pci/solo6x10/solo6x10-g723.c 		if (!solo_pcm->on)
on                179 drivers/media/pci/solo6x10/solo6x10-g723.c 		if (solo_pcm->on == 0) {
on                183 drivers/media/pci/solo6x10/solo6x10-g723.c 			solo_pcm->on = 1;
on                187 drivers/media/pci/solo6x10/solo6x10-g723.c 		if (solo_pcm->on) {
on                191 drivers/media/pci/solo6x10/solo6x10-g723.c 			solo_pcm->on = 0;
on                117 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c static void solo_motion_toggle(struct solo_enc_dev *solo_enc, int on)
on                125 drivers/media/pci/solo6x10/solo6x10-v4l2-enc.c 	if (on)
on                 80 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_v4l2_ch_ext_4up(struct solo_dev *solo_dev, u8 idx, int on)
on                 87 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	if (!on) {
on                113 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_v4l2_ch_ext_16up(struct solo_dev *solo_dev, int on)
on                117 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	if (!on) {
on                143 drivers/media/pci/solo6x10/solo6x10-v4l2.c static int solo_v4l2_ch(struct solo_dev *solo_dev, u8 ch, int on)
on                148 drivers/media/pci/solo6x10/solo6x10-v4l2.c 		solo_win_setup(solo_dev, ch, on ? 0 : solo_dev->video_hsize,
on                149 drivers/media/pci/solo6x10/solo6x10-v4l2.c 			       on ? 0 : solo_vlines(solo_dev),
on                151 drivers/media/pci/solo6x10/solo6x10-v4l2.c 			       on ? 1 : 0);
on                162 drivers/media/pci/solo6x10/solo6x10-v4l2.c 		return solo_v4l2_ch_ext_4up(solo_dev, ext_ch, on);
on                165 drivers/media/pci/solo6x10/solo6x10-v4l2.c 	return solo_v4l2_ch_ext_16up(solo_dev, on);
on                429 drivers/media/platform/exynos-gsc/gsc-core.h static inline void gsc_hw_enable_control(struct gsc_dev *dev, bool on)
on                433 drivers/media/platform/exynos-gsc/gsc-core.h 	if (on)
on                263 drivers/media/platform/exynos4-is/fimc-is.c int fimc_is_cpu_set_power(struct fimc_is *is, int on)
on                267 drivers/media/platform/exynos4-is/fimc-is.c 	if (on) {
on                337 drivers/media/platform/exynos4-is/fimc-is.h int fimc_is_cpu_set_power(struct fimc_is *is, int on);
on                249 drivers/media/platform/exynos4-is/fimc-isp.c static int fimc_isp_subdev_s_stream(struct v4l2_subdev *sd, int on)
on                255 drivers/media/platform/exynos4-is/fimc-isp.c 	isp_dbg(1, sd, "%s: on: %d\n", __func__, on);
on                262 drivers/media/platform/exynos4-is/fimc-isp.c 	if (on) {
on                298 drivers/media/platform/exynos4-is/fimc-isp.c static int fimc_isp_subdev_s_power(struct v4l2_subdev *sd, int on)
on                304 drivers/media/platform/exynos4-is/fimc-isp.c 	pr_debug("on: %d\n", on);
on                306 drivers/media/platform/exynos4-is/fimc-isp.c 	if (on) {
on                101 drivers/media/platform/exynos4-is/fimc-lite-reg.c void flite_hw_set_test_pattern(struct fimc_lite *dev, bool on)
on                104 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	if (on)
on                217 drivers/media/platform/exynos4-is/fimc-lite-reg.c static void flite_hw_set_pack12(struct fimc_lite *dev, int on)
on                223 drivers/media/platform/exynos4-is/fimc-lite-reg.c 	if (on)
on                145 drivers/media/platform/exynos4-is/fimc-lite-reg.h void flite_hw_set_test_pattern(struct fimc_lite *dev, bool on);
on               1198 drivers/media/platform/exynos4-is/fimc-lite.c static int fimc_lite_subdev_s_stream(struct v4l2_subdev *sd, int on)
on               1217 drivers/media/platform/exynos4-is/fimc-lite.c 	if (on) {
on                738 drivers/media/platform/exynos4-is/fimc-reg.c void fimc_hw_enable_scaler(struct fimc_dev *dev, bool on)
on                741 drivers/media/platform/exynos4-is/fimc-reg.c 	if (on)
on                748 drivers/media/platform/exynos4-is/fimc-reg.c void fimc_hw_activate_input_dma(struct fimc_dev *dev, bool on)
on                751 drivers/media/platform/exynos4-is/fimc-reg.c 	if (on)
on                316 drivers/media/platform/exynos4-is/fimc-reg.h void fimc_hw_enable_scaler(struct fimc_dev *dev, bool on);
on                317 drivers/media/platform/exynos4-is/fimc-reg.h void fimc_hw_activate_input_dma(struct fimc_dev *dev, bool on);
on                131 drivers/media/platform/exynos4-is/media-dev.c static int __subdev_set_power(struct v4l2_subdev *sd, int on)
on                140 drivers/media/platform/exynos4-is/media-dev.c 	if (on && (*use_count)++ > 0)
on                142 drivers/media/platform/exynos4-is/media-dev.c 	else if (!on && (*use_count == 0 || --(*use_count) > 0))
on                144 drivers/media/platform/exynos4-is/media-dev.c 	ret = v4l2_subdev_call(sd, core, s_power, on);
on                156 drivers/media/platform/exynos4-is/media-dev.c static int fimc_pipeline_s_power(struct fimc_pipeline *p, bool on)
on                168 drivers/media/platform/exynos4-is/media-dev.c 		unsigned int idx = seq[on][i];
on                170 drivers/media/platform/exynos4-is/media-dev.c 		ret = __subdev_set_power(p->subdevs[idx], on);
on                179 drivers/media/platform/exynos4-is/media-dev.c 		unsigned int idx = seq[on][i];
on                180 drivers/media/platform/exynos4-is/media-dev.c 		__subdev_set_power(p->subdevs[idx], !on);
on                285 drivers/media/platform/exynos4-is/media-dev.c static int __fimc_pipeline_s_stream(struct exynos_media_pipeline *ep, bool on)
on                331 drivers/media/platform/exynos4-is/media-dev.c 		unsigned int idx = seq[on][i];
on                333 drivers/media/platform/exynos4-is/media-dev.c 		ret = v4l2_subdev_call(p->subdevs[idx], video, s_stream, on);
on                341 drivers/media/platform/exynos4-is/media-dev.c 	fimc_pipeline_s_power(p, !on);
on                343 drivers/media/platform/exynos4-is/media-dev.c 		unsigned int idx = seq[on][i];
on                344 drivers/media/platform/exynos4-is/media-dev.c 		v4l2_subdev_call(p->subdevs[idx], video, s_stream, !on);
on                183 drivers/media/platform/exynos4-is/media-dev.h int fimc_md_set_camclk(struct v4l2_subdev *sd, bool on);
on                290 drivers/media/platform/exynos4-is/mipi-csis.c static void s5pcsis_enable_interrupts(struct csis_state *state, bool on)
on                293 drivers/media/platform/exynos4-is/mipi-csis.c 	if (on)
on                308 drivers/media/platform/exynos4-is/mipi-csis.c static void s5pcsis_system_enable(struct csis_state *state, int on)
on                313 drivers/media/platform/exynos4-is/mipi-csis.c 	if (on)
on                321 drivers/media/platform/exynos4-is/mipi-csis.c 	if (on) {
on                491 drivers/media/platform/exynos4-is/mipi-csis.c static int s5pcsis_s_power(struct v4l2_subdev *sd, int on)
on                496 drivers/media/platform/exynos4-is/mipi-csis.c 	if (on)
on                774 drivers/media/platform/fsl-viu.c static int vidioc_overlay(struct file *file, void *priv, unsigned int on)
on                780 drivers/media/platform/fsl-viu.c 	if (on) {
on                 68 drivers/media/platform/omap3isp/ispcsiphy.c static void csiphy_routing_cfg_3430(struct isp_csiphy *phy, u32 iface, bool on,
on                 78 drivers/media/platform/omap3isp/ispcsiphy.c 	if (!on) {
on                102 drivers/media/platform/omap3isp/ispcsiphy.c 			       enum isp_interface_type iface, bool on,
on                105 drivers/media/platform/omap3isp/ispcsiphy.c 	if (phy->isp->phy_type == ISP_PHY_TYPE_3630 && on)
on                108 drivers/media/platform/omap3isp/ispcsiphy.c 		return csiphy_routing_cfg_3430(phy, iface, on, ccp2_strobe);
on               2025 drivers/media/platform/pxa_camera.c static int pxac_sensor_set_power(struct pxa_camera_dev *pcdev, int on)
on               2029 drivers/media/platform/pxa_camera.c 	ret = sensor_call(pcdev, core, s_power, on);
on               2035 drivers/media/platform/pxa_camera.c 			 on ? "normal operation" : "power saving", ret);
on                555 drivers/media/platform/qcom/camss/camss-csid.c static int csid_set_power(struct v4l2_subdev *sd, int on)
on                561 drivers/media/platform/qcom/camss/camss-csid.c 	if (on) {
on                170 drivers/media/platform/qcom/camss/camss-csiphy.c static int csiphy_set_power(struct v4l2_subdev *sd, int on)
on                175 drivers/media/platform/qcom/camss/camss-csiphy.c 	if (on) {
on                330 drivers/media/platform/qcom/camss/camss-ispif.c static int ispif_set_power(struct v4l2_subdev *sd, int on)
on                339 drivers/media/platform/qcom/camss/camss-ispif.c 	if (on) {
on               1411 drivers/media/platform/qcom/camss/camss-vfe.c static int vfe_set_power(struct v4l2_subdev *sd, int on)
on               1417 drivers/media/platform/qcom/camss/camss-vfe.c 	if (on) {
on               1103 drivers/media/platform/rcar-vin/rcar-dma.c static int rvin_set_stream(struct rvin_dev *vin, int on)
on               1114 drivers/media/platform/rcar-vin/rcar-dma.c 				       on);
on               1125 drivers/media/platform/rcar-vin/rcar-dma.c 	if (!on) {
on                765 drivers/media/platform/rcar-vin/rcar-v4l2.c static int rvin_power_parallel(struct rvin_dev *vin, bool on)
on                768 drivers/media/platform/rcar-vin/rcar-v4l2.c 	int power = on ? 1 : 0;
on                110 drivers/media/platform/s3c-camif/camif-capture.c static int sensor_set_power(struct camif_dev *camif, int on)
on                115 drivers/media/platform/s3c-camif/camif-capture.c 	if (camif->sensor.power_count == !on)
on                116 drivers/media/platform/s3c-camif/camif-capture.c 		err = v4l2_subdev_call(sensor->sd, core, s_power, on);
on                120 drivers/media/platform/s3c-camif/camif-capture.c 		sensor->power_count += on ? 1 : -1;
on                123 drivers/media/platform/s3c-camif/camif-capture.c 		 on, sensor->power_count, err);
on                128 drivers/media/platform/s3c-camif/camif-capture.c static int sensor_set_streaming(struct camif_dev *camif, int on)
on                133 drivers/media/platform/s3c-camif/camif-capture.c 	if (camif->sensor.stream_count == !on)
on                134 drivers/media/platform/s3c-camif/camif-capture.c 		err = v4l2_subdev_call(sensor->sd, video, s_stream, on);
on                136 drivers/media/platform/s3c-camif/camif-capture.c 		sensor->stream_count += on ? 1 : -1;
on                139 drivers/media/platform/s3c-camif/camif-capture.c 		 on, sensor->stream_count, err);
on                485 drivers/media/platform/s3c-camif/camif-regs.c void camif_hw_enable_scaler(struct camif_vp *vp, bool on)
on                491 drivers/media/platform/s3c-camif/camif-regs.c 	if (on)
on                245 drivers/media/platform/s3c-camif/camif-regs.h void camif_hw_enable_scaler(struct camif_vp *vp, bool on);
on                612 drivers/media/platform/ti-vpe/vpe.c static void vpe_set_clock_enable(struct vpe_dev *dev, bool on)
on                616 drivers/media/platform/ti-vpe/vpe.c 	if (on)
on                151 drivers/media/platform/xilinx/xilinx-dma.c static int xvip_pipeline_set_stream(struct xvip_pipeline *pipe, bool on)
on                157 drivers/media/platform/xilinx/xilinx-dma.c 	if (on) {
on                261 drivers/media/radio/radio-tea5764.c static void tea5764_mute(struct tea5764_device *radio, int on)
on                266 drivers/media/radio/radio-tea5764.c 	if (on)
on                 71 drivers/media/rc/ir-hix5hd2.c static int hix5hd2_ir_enable(struct hix5hd2_ir_priv *dev, bool on)
on                 78 drivers/media/rc/ir-hix5hd2.c 		if (on) {
on                 87 drivers/media/rc/ir-hix5hd2.c 		if (on)
on                 32 drivers/media/rc/serial_ir.c 	u8 on;
on                 71 drivers/media/rc/serial_ir.c 		.on  = (UART_MCR_RTS | UART_MCR_OUT2 | UART_MCR_DTR),
on                 85 drivers/media/rc/serial_ir.c 		.on  = UART_MCR_OUT2,
on                 96 drivers/media/rc/serial_ir.c 		.on  = (UART_MCR_RTS | UART_MCR_DTR | UART_MCR_OUT2),
on                107 drivers/media/rc/serial_ir.c 		.on  = 0,
on                115 drivers/media/rc/serial_ir.c 		.on  = (UART_MCR_RTS | UART_MCR_OUT2 | UART_MCR_DTR),
on                165 drivers/media/rc/serial_ir.c 		soutp(UART_MCR, hardware[type].on);
on                171 drivers/media/rc/serial_ir.c 		soutp(UART_MCR, hardware[type].on);
on                234 drivers/media/rc/serial_ir.c 		on();
on                255 drivers/media/rc/serial_ir.c 		on();
on                645 drivers/media/rc/serial_ir.c 		on();
on                785 drivers/media/usb/dvb-usb/af9005-fe.c static int af9005_fe_power(struct dvb_frontend *fe, int on)
on                788 drivers/media/usb/dvb-usb/af9005-fe.c 	u8 temp = on;
on                790 drivers/media/usb/dvb-usb/af9005-fe.c 	deb_info("power %s tuner\n", on ? "on" : "off");
on                999 drivers/media/usb/gspca/cpia1.c static int set_flicker(struct gspca_dev *gspca_dev, int on, int apply)
on               1022 drivers/media/usb/gspca/cpia1.c 	if (on) {
on                254 drivers/media/usb/gspca/etoms.c 		    int on)
on                259 drivers/media/usb/gspca/etoms.c 		  on ? 0x10		/* startvideo - set Bit5 */
on               2824 drivers/media/usb/gspca/ov519.c static void ov51x_led_control(struct sd *sd, int on)
on               2827 drivers/media/usb/gspca/ov519.c 		on = !on;
on               2832 drivers/media/usb/gspca/ov519.c 		reg_w(sd, R511_SYS_LED_CTL, on);
on               2836 drivers/media/usb/gspca/ov519.c 		reg_w_mask(sd, R518_GPIO_OUT, 0x02 * on, 0x02);
on               2839 drivers/media/usb/gspca/ov519.c 		reg_w_mask(sd, OV519_GPIO_DATA_OUT0, on, 1);
on               4148 drivers/media/usb/gspca/topro.c static void set_led(struct gspca_dev *gspca_dev, int on)
on               4154 drivers/media/usb/gspca/topro.c 	if (on)
on                 64 drivers/mfd/arizona-irq.c int arizona_set_irq_wake(struct arizona *arizona, int irq, int on)
on                 70 drivers/mfd/arizona-irq.c 	return irq_set_irq_wake(irq, on);
on                169 drivers/mfd/arizona-irq.c static int arizona_irq_set_wake(struct irq_data *data, unsigned int on)
on                173 drivers/mfd/arizona-irq.c 	return irq_set_irq_wake(arizona->irq, on);
on                353 drivers/mfd/asic3.c static int asic3_gpio_irq_set_wake(struct irq_data *data, unsigned int on)
on                363 drivers/mfd/asic3.c 	asic3_set_register(asic, bank + ASIC3_GPIO_SLEEP_MASK, bit, !on);
on                 55 drivers/mfd/mt6397-irq.c static int mt6397_irq_set_wake(struct irq_data *irq_data, unsigned int on)
on                 61 drivers/mfd/mt6397-irq.c 	if (on)
on                 77 drivers/mfd/pcf50633-gpio.c 					int gpio, int regulator, int on)
on                 84 drivers/mfd/pcf50633-gpio.c 	val = !!on << (gpio - PCF50633_GPIO1);
on                232 drivers/mfd/rc5t583-irq.c static int rc5t583_irq_set_wake(struct irq_data *irq_data, unsigned int on)
on                235 drivers/mfd/rc5t583-irq.c 	return irq_set_irq_wake(rc5t583->chip_irq, on);
on               1443 drivers/mfd/sm501.c static void sm501_set_power(struct sm501_devdata *sm, int on)
on               1451 drivers/mfd/sm501.c 		if (pd->get_power(sm->dev) == on) {
on               1452 drivers/mfd/sm501.c 			dev_dbg(sm->dev, "is already %d\n", on);
on               1458 drivers/mfd/sm501.c 		dev_dbg(sm->dev, "setting power to %d\n", on);
on               1460 drivers/mfd/sm501.c 		pd->set_power(sm->dev, on);
on                309 drivers/mfd/tc6393xb.c int tc6393xb_lcd_set_power(struct platform_device *fb, bool on)
on                318 drivers/mfd/tc6393xb.c 	if (on)
on                273 drivers/mfd/tps6586x.c static int tps6586x_irq_set_wake(struct irq_data *irq_data, unsigned int on)
on                276 drivers/mfd/tps6586x.c 	return irq_set_irq_wake(tps6586x->irq, on);
on                219 drivers/mfd/twl6030-irq.c static int twl6030_irq_set_wake(struct irq_data *d, unsigned int on)
on                223 drivers/mfd/twl6030-irq.c 	if (on)
on                273 drivers/mfd/twl6040.c int twl6040_power(struct twl6040 *twl6040, int on)
on                279 drivers/mfd/twl6040.c 	if (on) {
on                362 drivers/mfd/ucb1x00-core.c static int ucb1x00_irq_set_wake(struct irq_data *data, unsigned int on)
on                372 drivers/mfd/ucb1x00-core.c 	if (on)
on                652 drivers/misc/lis3lv02d/lis3lv02d.c static int lis3lv02d_misc_fasync(int fd, struct file *file, int on)
on                657 drivers/misc/lis3lv02d/lis3lv02d.c 	return fasync_helper(fd, file, on, &lis3->async_queue);
on                861 drivers/misc/mei/hw-me.c 		goto on;
on                889 drivers/misc/mei/hw-me.c 		goto on;
on                906 drivers/misc/mei/hw-me.c on:
on                933 drivers/misc/mei/hw-me.c 		goto on;
on                937 drivers/misc/mei/hw-me.c on:
on                130 drivers/mmc/core/slot-gpio.c int mmc_gpio_set_cd_wake(struct mmc_host *host, bool on)
on                136 drivers/mmc/core/slot-gpio.c 	    on == host->slot.cd_wake_enabled)
on                139 drivers/mmc/core/slot-gpio.c 	if (on) {
on                107 drivers/mmc/host/pxamci.c 		bool on = !!((1 << vdd) & host->pdata->ocr_mask);
on                108 drivers/mmc/host/pxamci.c 		gpiod_set_value(host->power, on);
on               1173 drivers/mmc/host/sdhci-pci-core.c static int jmicron_pmos(struct sdhci_pci_chip *chip, int on)
on               1186 drivers/mmc/host/sdhci-pci-core.c 	if (on)
on               1262 drivers/mmc/host/sdhci-pci-core.c static void jmicron_enable_mmc(struct sdhci_host *host, int on)
on               1268 drivers/mmc/host/sdhci-pci-core.c 	if (on)
on                689 drivers/mmc/host/via-sdmmc.c 			      unsigned short power, unsigned int on)
on                703 drivers/mmc/host/via-sdmmc.c 	if (on)
on                299 drivers/mtd/maps/pcmciamtd.c static void pcmciamtd_set_vpp(struct map_info *map, int on)
on                305 drivers/mtd/maps/pcmciamtd.c 	pr_debug("dev = %p on = %d vpp = %d\n\n", dev, on, dev->vpp);
on                307 drivers/mtd/maps/pcmciamtd.c 	if (on) {
on                121 drivers/mtd/maps/physmap-versatile.c static void ap_flash_set_vpp(struct map_info *map, int on)
on                125 drivers/mtd/maps/physmap-versatile.c 	if (on) {
on                149 drivers/mtd/maps/physmap-versatile.c static void cp_flash_set_vpp(struct map_info *map, int on)
on                153 drivers/mtd/maps/physmap-versatile.c 	if (on) {
on                176 drivers/mtd/maps/physmap-versatile.c static void versatile_flash_set_vpp(struct map_info *map, int on)
on                181 drivers/mtd/maps/physmap-versatile.c 				 0x01, !!on);
on                 50 drivers/mtd/maps/pismo.c static void pismo_set_vpp(struct platform_device *pdev, int on)
on                 55 drivers/mtd/maps/pismo.c 	pismo->vpp(pismo->vpp_data, on);
on                 42 drivers/mtd/maps/sa1100-flash.c static void sa1100_set_vpp(struct map_info *map, int on)
on                 48 drivers/mtd/maps/sa1100-flash.c 	if (on) {
on                148 drivers/mtd/nftlmount.c erasesize based on UnitSizeFactor.  So the erasesize we read from the mtd
on                776 drivers/net/can/janz-ican3.c static int ican3_set_bus_state(struct ican3_dev *mod, bool on)
on                793 drivers/net/can/janz-ican3.c 		if (on) {
on                810 drivers/net/can/janz-ican3.c 		msg.spec = on ? MSG_CONREQ : MSG_COFFREQ;
on                819 drivers/net/can/janz-ican3.c 		if (on) {
on                834 drivers/net/can/janz-ican3.c 		if (on) {
on                855 drivers/net/can/janz-ican3.c static int ican3_set_termination(struct ican3_dev *mod, bool on)
on                863 drivers/net/can/janz-ican3.c 	msg.data[1] = on ? HWCONF_TERMINATE_ON : HWCONF_TERMINATE_OFF;
on                292 drivers/net/can/ti_hecc.c 				      int on)
on                297 drivers/net/can/ti_hecc.c 	if (on)
on                775 drivers/net/dsa/microchip/ksz8795.c 		if (!p->on)
on                785 drivers/net/dsa/microchip/ksz8795.c 		if (!p->on)
on               1006 drivers/net/dsa/microchip/ksz8795.c 	p->on = 1;
on               1024 drivers/net/dsa/microchip/ksz8795.c 		p->on = 1;
on               1029 drivers/net/dsa/microchip/ksz8795.c 		if (!p->on)
on               1323 drivers/net/dsa/microchip/ksz9477.c 			p->on = 1;
on               1340 drivers/net/dsa/microchip/ksz9477.c 		p->on = 1;
on                 33 drivers/net/dsa/microchip/ksz_common.h 	u32 on:1;			/* port is not disabled by hardware */
on               2331 drivers/net/dsa/mv88e6xxx/chip.c 				  bool on)
on               2340 drivers/net/dsa/mv88e6xxx/chip.c 	if (on) {
on                572 drivers/net/dsa/mv88e6xxx/chip.h 			  struct ptp_clock_request *rq, int on);
on                269 drivers/net/dsa/mv88e6xxx/ptp.c 				      struct ptp_clock_request *rq, int on)
on                296 drivers/net/dsa/mv88e6xxx/ptp.c 	if (on) {
on                322 drivers/net/dsa/mv88e6xxx/ptp.c 				struct ptp_clock_request *rq, int on)
on                328 drivers/net/dsa/mv88e6xxx/ptp.c 		return mv88e6352_ptp_enable_extts(chip, rq, on);
on                 86 drivers/net/dsa/mv88e6xxx/serdes.h 			   bool on);
on                 88 drivers/net/dsa/mv88e6xxx/serdes.h 			   bool on);
on                511 drivers/net/dsa/sja1105/sja1105_main.c 				   bool on)
on                525 drivers/net/dsa/sja1105/sja1105_main.c 	if (!on)
on               1908 drivers/net/dsa/sja1105/sja1105_main.c 				      bool on)
on               1916 drivers/net/dsa/sja1105/sja1105_main.c 	general_params->send_meta1 = on;
on               1917 drivers/net/dsa/sja1105/sja1105_main.c 	general_params->send_meta0 = on;
on               1919 drivers/net/dsa/sja1105/sja1105_main.c 	rc = sja1105_init_avb_params(priv, on);
on                385 drivers/net/ethernet/8390/ax88796.c static void ax_phy_switch(struct net_device *dev, int on)
on                392 drivers/net/ethernet/8390/ax88796.c 	if (!!on)
on                222 drivers/net/ethernet/amd/xgbe/xgbe-ptp.c 		       struct ptp_clock_request *request, int on)
on               13917 drivers/net/ethernet/broadcom/bnx2x/bnx2x_main.c 			    struct ptp_clock_request *rq, int on)
on               6275 drivers/net/ethernet/broadcom/tg3.c 			  struct ptp_clock_request *rq, int on)
on               6294 drivers/net/ethernet/broadcom/tg3.c 		if (on) {
on                179 drivers/net/ethernet/cadence/macb_ptp.c 			  struct ptp_clock_request *rq, int on)
on                204 drivers/net/ethernet/cavium/common/cavium_ptp.c 			     struct ptp_clock_request *rq, int on)
on               1664 drivers/net/ethernet/cavium/liquidio/lio_main.c 		    int on __attribute__((unused)))
on                 82 drivers/net/ethernet/chelsio/cxgb/cphy.h 	int (*set_loopback)(struct cphy *, int on);
on                232 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c static int mv88e1xxx_set_loopback(struct cphy *cphy, int on)
on                234 drivers/net/ethernet/chelsio/cxgb/mv88e1xxx.c 	if (on)
on                166 drivers/net/ethernet/chelsio/cxgb/mv88x201x.c static int mv88x201x_set_loopback(struct cphy *cphy, int on)
on                104 drivers/net/ethernet/chelsio/cxgb/my3126.c static int my3126_set_loopback(struct cphy *cphy, int on)
on                697 drivers/net/ethernet/chelsio/cxgb3/common.h void t3_set_vlan_accel(struct adapter *adapter, unsigned int ports, int on);
on               1403 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c void t3_set_vlan_accel(struct adapter *adapter, unsigned int ports, int on)
on               1407 drivers/net/ethernet/chelsio/cxgb3/t3_hw.c 			 on ? (ports << S_VLANEXTRACTIONENABLE) : 0);
on                393 drivers/net/ethernet/chelsio/cxgb4/cxgb4_ptp.c 			    int __always_unused on)
on                 17 drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c 			    struct ptp_clock_request *rq, int on)
on                 44 drivers/net/ethernet/freescale/dpaa2/dpaa2-ptp.c 	if (on)
on                441 drivers/net/ethernet/freescale/fec_ptp.c 			  struct ptp_clock_request *rq, int on)
on                448 drivers/net/ethernet/freescale/fec_ptp.c 		ret = fec_ptp_enable_pps(fep, on);
on                232 drivers/net/ethernet/intel/e1000e/ptp.c 			     int __always_unused on)
on               5165 drivers/net/ethernet/intel/i40e/i40e_common.c i40e_status i40e_led_set_phy(struct i40e_hw *hw, bool on,
on               5185 drivers/net/ethernet/intel/i40e/i40e_common.c 	if (on)
on                 54 drivers/net/ethernet/intel/i40e/i40e_prototype.h i40e_status i40e_led_set_phy(struct i40e_hw *hw, bool on,
on                213 drivers/net/ethernet/intel/i40e/i40e_ptp.c 				   struct ptp_clock_request *rq, int on)
on                511 drivers/net/ethernet/intel/igb/igb_ptp.c 				       struct ptp_clock_request *rq, int on)
on                537 drivers/net/ethernet/intel/igb/igb_ptp.c 		if (on) {
on                553 drivers/net/ethernet/intel/igb/igb_ptp.c 		if (on) {
on                571 drivers/net/ethernet/intel/igb/igb_ptp.c 		if (on) {
on                581 drivers/net/ethernet/intel/igb/igb_ptp.c 		if (on && ((ns <= 70000000LL) || (ns == 125000000LL) ||
on                621 drivers/net/ethernet/intel/igb/igb_ptp.c 		if (on) {
on                643 drivers/net/ethernet/intel/igb/igb_ptp.c 		if (on)
on                647 drivers/net/ethernet/intel/igb/igb_ptp.c 		igb->pps_sys_wrap_on = !!on;
on                657 drivers/net/ethernet/intel/igb/igb_ptp.c 				  struct ptp_clock_request *rq, int on)
on               2641 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c s32 ixgbe_set_copper_phy_power(struct ixgbe_hw *hw, bool on)
on               2650 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c 	if (!on && ixgbe_mng_present(hw))
on               2657 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.c 	if (on) {
on                152 drivers/net/ethernet/intel/ixgbe/ixgbe_phy.h s32 ixgbe_set_copper_phy_power(struct ixgbe_hw *hw, bool on);
on                637 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 				    struct ptp_clock_request *rq, int on)
on                651 drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c 	if (on)
on               3509 drivers/net/ethernet/intel/ixgbe/ixgbe_type.h 	s32 (*set_phy_power)(struct ixgbe_hw *, bool on);
on                227 drivers/net/ethernet/mellanox/mlx4/en_clock.c 			      int __always_unused on)
on                223 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 				int on)
on                255 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	if (on) {
on                272 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	MLX5_SET(mtpps_reg, in, enable, on);
on                280 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 			       MLX5_EVENT_MODE_REPETETIVE & on);
on                285 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 				 int on)
on                313 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	if (on) {
on                351 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	MLX5_SET(mtpps_reg, in, enable, on);
on                360 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 			       MLX5_EVENT_MODE_REPETETIVE & on);
on                365 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 			      int on)
on                370 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 	clock->pps_info.enabled = !!on;
on                376 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 			   int on)
on                380 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 		return mlx5_extts_configure(ptp, rq, on);
on                382 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 		return mlx5_perout_configure(ptp, rq, on);
on                384 drivers/net/ethernet/mellanox/mlx5/core/lib/clock.c 		return mlx5_pps_configure(ptp, rq, on);
on                422 drivers/net/ethernet/microchip/lan743x_ptp.c static int lan743x_ptp_perout(struct lan743x_adapter *adapter, int on,
on                436 drivers/net/ethernet/microchip/lan743x_ptp.c 	if (!on) {
on                545 drivers/net/ethernet/microchip/lan743x_ptp.c 				struct ptp_clock_request *request, int on)
on                558 drivers/net/ethernet/microchip/lan743x_ptp.c 				return lan743x_ptp_perout(adapter, on,
on               1068 drivers/net/ethernet/myricom/myri10ge/myri10ge.c static int myri10ge_toggle_relaxed(struct pci_dev *pdev, int on)
on               1076 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 	if (ret != on) {
on               1078 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 		ctl |= (on << 4);
on               1873 drivers/net/ethernet/myricom/myri10ge/myri10ge.c static int myri10ge_led(struct myri10ge_priv *mgp, int on)
on               1894 drivers/net/ethernet/myricom/myri10ge/myri10ge.c 	if (!on)
on               5377 drivers/net/ethernet/neterion/s2io.c static void s2io_set_led(struct s2io_nic *sp, bool on)
on               5386 drivers/net/ethernet/neterion/s2io.c 		if (on)
on               5394 drivers/net/ethernet/neterion/s2io.c 		if (on)
on                 30 drivers/net/ethernet/netronome/nfp/crypto/tls.c static void nfp_net_crypto_set_op(struct nfp_net *nn, u8 opcode, bool on)
on                 37 drivers/net/ethernet/netronome/nfp/crypto/tls.c 	if (on)
on                146 drivers/net/ethernet/qlogic/qede/qede_ptp.c 					     int on)
on                178 drivers/net/ethernet/renesas/ravb_ptp.c 			  struct ptp_extts_request *req, int on)
on                195 drivers/net/ethernet/renesas/ravb_ptp.c 	if (priv->ptp.extts[req->index] == on)
on                197 drivers/net/ethernet/renesas/ravb_ptp.c 	priv->ptp.extts[req->index] = on;
on                201 drivers/net/ethernet/renesas/ravb_ptp.c 		ravb_modify(ndev, GIC, GIC_PTCE, on ? GIC_PTCE : 0);
on                202 drivers/net/ethernet/renesas/ravb_ptp.c 	else if (on)
on                212 drivers/net/ethernet/renesas/ravb_ptp.c 			   struct ptp_perout_request *req, int on)
on                228 drivers/net/ethernet/renesas/ravb_ptp.c 	if (on) {
on                278 drivers/net/ethernet/renesas/ravb_ptp.c 			   struct ptp_clock_request *req, int on)
on                282 drivers/net/ethernet/renesas/ravb_ptp.c 		return ravb_ptp_extts(ptp, &req->extts, on);
on                284 drivers/net/ethernet/renesas/ravb_ptp.c 		return ravb_ptp_perout(ptp, &req->perout, on);
on                171 drivers/net/ethernet/sfc/falcon/txc43128_phy.c void falcon_txc_set_gpio_val(struct ef4_nic *efx, int pin, int on)
on                173 drivers/net/ethernet/sfc/falcon/txc43128_phy.c 	ef4_mdio_set_flag(efx, MDIO_MMD_PHYXS, TXC_GPIO_OUTPUT, 1 << pin, on);
on                351 drivers/net/ethernet/sfc/ptp.c 			  struct ptp_clock_request *request, int on);
on                133 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 			 struct ptp_clock_request *rq, int on)
on                156 drivers/net/ethernet/stmicro/stmmac/stmmac_ptp.c 					     rq->perout.index, cfg, on,
on               3145 drivers/net/ethernet/sun/cassini.c 			int on = off - max_frame;
on               3147 drivers/net/ethernet/sun/cassini.c 			cp->rx_pause_on = on;
on                215 drivers/net/ethernet/sun/niu.c static void niu_ldg_rearm(struct niu *np, struct niu_ldg *lp, int on)
on                219 drivers/net/ethernet/sun/niu.c 	if (on)
on                225 drivers/net/ethernet/sun/niu.c static int niu_ldn_irq_enable(struct niu *np, int ldn, int on)
on                242 drivers/net/ethernet/sun/niu.c 	if (on)
on                251 drivers/net/ethernet/sun/niu.c static int niu_enable_ldn_in_ldg(struct niu *np, struct niu_ldg *lp, int on)
on                262 drivers/net/ethernet/sun/niu.c 		err = niu_ldn_irq_enable(np, i, on);
on                269 drivers/net/ethernet/sun/niu.c static int niu_enable_interrupts(struct niu *np, int on)
on                277 drivers/net/ethernet/sun/niu.c 		err = niu_enable_ldn_in_ldg(np, lp, on);
on                282 drivers/net/ethernet/sun/niu.c 		niu_ldg_rearm(np, &np->ldg[i], on);
on               2653 drivers/net/ethernet/sun/niu.c static int niu_enable_alt_mac(struct niu *np, int index, int on)
on               2670 drivers/net/ethernet/sun/niu.c 	if (on)
on               2857 drivers/net/ethernet/sun/niu.c static void tcam_enable(struct niu *np, int on)
on               2861 drivers/net/ethernet/sun/niu.c 	if (on)
on               2885 drivers/net/ethernet/sun/niu.c 				      int on)
on               2896 drivers/net/ethernet/sun/niu.c 	if (on)
on               2928 drivers/net/ethernet/sun/niu.c 				     int on)
on               2939 drivers/net/ethernet/sun/niu.c 	if (on)
on               3121 drivers/net/ethernet/sun/niu.c static void fflp_llcsnap_enable(struct niu *np, int on)
on               3125 drivers/net/ethernet/sun/niu.c 	if (on)
on               3132 drivers/net/ethernet/sun/niu.c static void fflp_errors_enable(struct niu *np, int on)
on               3136 drivers/net/ethernet/sun/niu.c 	if (on)
on               4611 drivers/net/ethernet/sun/niu.c static void niu_txc_enable_port(struct niu *np, int on)
on               4619 drivers/net/ethernet/sun/niu.c 	if (on) {
on               4642 drivers/net/ethernet/sun/niu.c static void niu_txc_port_dma_enable(struct niu *np, int on)
on               4646 drivers/net/ethernet/sun/niu.c 	if (on) {
on               4886 drivers/net/ethernet/sun/niu.c static int niu_enable_rx_channel(struct niu *np, int channel, int on)
on               4891 drivers/net/ethernet/sun/niu.c 	if (on)
on               5714 drivers/net/ethernet/sun/niu.c static void niu_enable_tx_xmac(struct niu *np, int on)
on               5718 drivers/net/ethernet/sun/niu.c 	if (on)
on               5725 drivers/net/ethernet/sun/niu.c static void niu_enable_tx_bmac(struct niu *np, int on)
on               5729 drivers/net/ethernet/sun/niu.c 	if (on)
on               5736 drivers/net/ethernet/sun/niu.c static void niu_enable_tx_mac(struct niu *np, int on)
on               5739 drivers/net/ethernet/sun/niu.c 		niu_enable_tx_xmac(np, on);
on               5741 drivers/net/ethernet/sun/niu.c 		niu_enable_tx_bmac(np, on);
on               5744 drivers/net/ethernet/sun/niu.c static void niu_enable_rx_xmac(struct niu *np, int on)
on               5756 drivers/net/ethernet/sun/niu.c 	if (on)
on               5763 drivers/net/ethernet/sun/niu.c static void niu_enable_rx_bmac(struct niu *np, int on)
on               5775 drivers/net/ethernet/sun/niu.c 	if (on)
on               5782 drivers/net/ethernet/sun/niu.c static void niu_enable_rx_mac(struct niu *np, int on)
on               5785 drivers/net/ethernet/sun/niu.c 		niu_enable_rx_xmac(np, on);
on               5787 drivers/net/ethernet/sun/niu.c 		niu_enable_rx_bmac(np, on);
on               7830 drivers/net/ethernet/sun/niu.c static void niu_force_led(struct niu *np, int on)
on               7843 drivers/net/ethernet/sun/niu.c 	if (on)
on               1916 drivers/net/ethernet/sun/sungem.c 		int on = off - max_frame;
on               1919 drivers/net/ethernet/sun/sungem.c 		gp->rx_pause_on = on;
on               1040 drivers/net/ethernet/ti/cpsw.c static void cpsw_fifo_shp_on(struct cpsw_priv *priv, int fifo, int on)
on               1051 drivers/net/ethernet/ti/cpsw.c 	val = on ? val | mask : val & ~mask;
on                288 drivers/net/ethernet/ti/cpts.c 			   struct ptp_clock_request *rq, int on)
on                572 drivers/net/fddi/skfp/h/cmtdef.h u_short smt_online(struct s_smc *smc, int on);
on                123 drivers/net/fddi/skfp/queue.c u_short smt_online(struct s_smc *smc, int on)
on                125 drivers/net/fddi/skfp/queue.c 	queue_event(smc,EVENT_ECM,on ? EC_CONNECT : EC_DISCONNECT) ;
on                792 drivers/net/ieee802154/adf7242.c static int adf7242_set_promiscuous_mode(struct ieee802154_hw *hw, bool on)
on                796 drivers/net/ieee802154/adf7242.c 	dev_dbg(&lp->spi->dev, "%s : mode %d\n", __func__, on);
on                798 drivers/net/ieee802154/adf7242.c 	lp->promiscuous = on;
on                800 drivers/net/ieee802154/adf7242.c 	if (on) {
on               1202 drivers/net/ieee802154/at86rf230.c at86rf230_set_lbt(struct ieee802154_hw *hw, bool on)
on               1206 drivers/net/ieee802154/at86rf230.c 	return at86rf230_write_subreg(lp, SR_CSMA_LBT_MODE, on);
on               1284 drivers/net/ieee802154/at86rf230.c at86rf230_set_promiscuous_mode(struct ieee802154_hw *hw, const bool on)
on               1289 drivers/net/ieee802154/at86rf230.c 	if (on) {
on                720 drivers/net/ieee802154/atusb.c hulusb_set_lbt(struct ieee802154_hw *hw, bool on)
on                724 drivers/net/ieee802154/atusb.c 	return atusb_write_subreg(atusb, SR_CSMA_LBT_MODE, on);
on                736 drivers/net/ieee802154/atusb.c atusb_set_promiscuous_mode(struct ieee802154_hw *hw, const bool on)
on                741 drivers/net/ieee802154/atusb.c 	if (on) {
on               2363 drivers/net/ieee802154/ca8210.c static int ca8210_set_promiscuous_mode(struct ieee802154_hw *hw, const bool on)
on               2372 drivers/net/ieee802154/ca8210.c 		(const void *)&on,
on               2382 drivers/net/ieee802154/ca8210.c 		priv->promiscuous = on;
on               2734 drivers/net/ieee802154/ca8210.c 	bool on
on               2739 drivers/net/ieee802154/ca8210.c 	if (on) {
on                793 drivers/net/ieee802154/cc2520.c cc2520_set_promiscuous_mode(struct ieee802154_hw *hw, bool on)
on                798 drivers/net/ieee802154/cc2520.c 	dev_dbg(&priv->spi->dev, "%s : mode %d\n", __func__, on);
on                800 drivers/net/ieee802154/cc2520.c 	priv->promiscuous = on;
on                804 drivers/net/ieee802154/cc2520.c 	if (on) {
on                108 drivers/net/ieee802154/fakelb.c fakelb_set_promiscuous_mode(struct ieee802154_hw *hw, const bool on)
on                162 drivers/net/ieee802154/mac802154_hwsim.c hwsim_set_promiscuous_mode(struct ieee802154_hw *hw, const bool on)
on                713 drivers/net/ieee802154/mcr20a.c mcr20a_set_promiscuous_mode(struct ieee802154_hw *hw, const bool on)
on                719 drivers/net/ieee802154/mcr20a.c 	dev_dbg(printdev(lp), "%s(%d)\n", __func__, on);
on                721 drivers/net/ieee802154/mcr20a.c 	if (on) {
on                985 drivers/net/ieee802154/mrf24j40.c static int mrf24j40_set_promiscuous_mode(struct ieee802154_hw *hw, bool on)
on                990 drivers/net/ieee802154/mrf24j40.c 	if (on) {
on                295 drivers/net/phy/dp83640.c 			   struct ptp_clock_request *clkreq, bool on,
on                303 drivers/net/phy/dp83640.c 	if (on) {
on                320 drivers/net/phy/dp83640.c 	if (!on) {
on                462 drivers/net/phy/dp83640.c 			      struct ptp_clock_request *rq, int on)
on                490 drivers/net/phy/dp83640.c 		if (on) {
on                512 drivers/net/phy/dp83640.c 		return periodic_output(clock, rq, on, rq->perout.index);
on                540 drivers/net/phy/dp83640.c static void enable_status_frames(struct phy_device *phydev, bool on)
on                546 drivers/net/phy/dp83640.c 	if (on)
on                564 drivers/net/phy/dp83640.c 	if (on) {
on                606 drivers/net/phy/dp83640.c static void enable_broadcast(struct phy_device *phydev, int init_page, int on)
on                611 drivers/net/phy/dp83640.c 	if (on)
on               3400 drivers/net/tun.c static int tun_chr_fasync(int fd, struct file *file, int on)
on               3405 drivers/net/tun.c 	if ((ret = fasync_helper(fd, file, on, &tfile->fasync)) < 0)
on               3408 drivers/net/tun.c 	if (on) {
on                 43 drivers/net/usb/cdc_mbim.c static int cdc_mbim_manage_power(struct usbnet *dev, int on)
on                 48 drivers/net/usb/cdc_mbim.c 	dev_dbg(&dev->intf->dev, "%s() pmcount=%d, on=%d\n", __func__, atomic_read(&info->pmcount), on);
on                 50 drivers/net/usb/cdc_mbim.c 	if ((on && atomic_add_return(1, &info->pmcount) == 1) || (!on && atomic_dec_and_test(&info->pmcount))) {
on                 53 drivers/net/usb/cdc_mbim.c 		dev->intf->needs_remote_wakeup = on;
on                 37 drivers/net/usb/huawei_cdc_ncm.c static int huawei_cdc_ncm_manage_power(struct usbnet *usbnet_dev, int on)
on                 42 drivers/net/usb/huawei_cdc_ncm.c 	if ((on && atomic_add_return(1, &drvstate->pmcount) == 1) ||
on                 43 drivers/net/usb/huawei_cdc_ncm.c 			(!on && atomic_dec_and_test(&drvstate->pmcount))) {
on                 45 drivers/net/usb/huawei_cdc_ncm.c 		usbnet_dev->intf->needs_remote_wakeup = on;
on                631 drivers/net/usb/qmi_wwan.c static int qmi_wwan_manage_power(struct usbnet *dev, int on)
on                637 drivers/net/usb/qmi_wwan.c 		atomic_read(&info->pmcount), on);
on                639 drivers/net/usb/qmi_wwan.c 	if ((on && atomic_add_return(1, &info->pmcount) == 1) ||
on                640 drivers/net/usb/qmi_wwan.c 	    (!on && atomic_dec_and_test(&info->pmcount))) {
on                645 drivers/net/usb/qmi_wwan.c 		dev->intf->needs_remote_wakeup = on;
on                652 drivers/net/usb/qmi_wwan.c static int qmi_wwan_cdc_wdm_manage_power(struct usb_interface *intf, int on)
on                659 drivers/net/usb/qmi_wwan.c 	return qmi_wwan_manage_power(dev, on);
on                711 drivers/net/usb/qmi_wwan.c static int qmi_wwan_change_dtr(struct usbnet *dev, bool on)
on                717 drivers/net/usb/qmi_wwan.c 				on ? 0x01 : 0x00, intf, NULL, 0);
on               2286 drivers/net/usb/smsc75xx.c static int smsc75xx_manage_power(struct usbnet *dev, int on)
on               2288 drivers/net/usb/smsc75xx.c 	dev->intf->needs_remote_wakeup = on;
on               2069 drivers/net/usb/smsc95xx.c static int smsc95xx_manage_power(struct usbnet *dev, int on)
on               2073 drivers/net/usb/smsc95xx.c 	dev->intf->needs_remote_wakeup = on;
on               2081 drivers/net/usb/smsc95xx.c 	if (on)
on               1951 drivers/net/usb/usbnet.c int usbnet_manage_power(struct usbnet *dev, int on)
on               1953 drivers/net/usb/usbnet.c 	dev->intf->needs_remote_wakeup = on;
on                292 drivers/net/wan/cosa.c static int cosa_fasync(struct inode *inode, struct file *file, int on);
on                982 drivers/net/wan/cosa.c static int cosa_fasync(struct inode *inode, struct file *file, int on)
on                986 drivers/net/wan/cosa.c 	return fasync_helper(inode, file, on, &fasync[port]);
on                 94 drivers/net/wan/hdlc.c 	int on;
on                105 drivers/net/wan/hdlc.c 	on = netif_carrier_ok(dev);
on                109 drivers/net/wan/hdlc.c 	       dev->name, on);
on                115 drivers/net/wan/hdlc.c 	if (hdlc->carrier == on)
on                118 drivers/net/wan/hdlc.c 	hdlc->carrier = on;
on                225 drivers/net/wan/hdlc_fr.c static inline void pvc_carrier(int on, struct pvc_device *pvc)
on                227 drivers/net/wan/hdlc_fr.c 	if (on) {
on                157 drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_set_ofdm_weak_signal_detection(struct ath5k_hw *ah, bool on)
on                167 drivers/net/wireless/ath/ath5k/ani.c 				AR5K_PHY_WEAK_OFDM_LOW_THR_M1, m1l[on]);
on                169 drivers/net/wireless/ath/ath5k/ani.c 				AR5K_PHY_WEAK_OFDM_LOW_THR_M2, m2l[on]);
on                171 drivers/net/wireless/ath/ath5k/ani.c 				AR5K_PHY_WEAK_OFDM_HIGH_THR_M1, m1[on]);
on                173 drivers/net/wireless/ath/ath5k/ani.c 				AR5K_PHY_WEAK_OFDM_HIGH_THR_M2, m2[on]);
on                175 drivers/net/wireless/ath/ath5k/ani.c 			AR5K_PHY_WEAK_OFDM_HIGH_THR_M2_COUNT, m2cnt[on]);
on                177 drivers/net/wireless/ath/ath5k/ani.c 			AR5K_PHY_WEAK_OFDM_LOW_THR_M2_COUNT, m2lcnt[on]);
on                179 drivers/net/wireless/ath/ath5k/ani.c 	if (on)
on                186 drivers/net/wireless/ath/ath5k/ani.c 	ah->ani_state.ofdm_weak_sig = on;
on                188 drivers/net/wireless/ath/ath5k/ani.c 			  on ? "on" : "off");
on                197 drivers/net/wireless/ath/ath5k/ani.c ath5k_ani_set_cck_weak_signal_detection(struct ath5k_hw *ah, bool on)
on                201 drivers/net/wireless/ath/ath5k/ani.c 				AR5K_PHY_CCK_CROSSCORR_WEAK_SIG_THR, val[on]);
on                202 drivers/net/wireless/ath/ath5k/ani.c 	ah->ani_state.cck_weak_sig = on;
on                204 drivers/net/wireless/ath/ath5k/ani.c 			  on ? "on" : "off");
on                114 drivers/net/wireless/ath/ath5k/ani.h void ath5k_ani_set_ofdm_weak_signal_detection(struct ath5k_hw *ah, bool on);
on                115 drivers/net/wireless/ath/ath5k/ani.h void ath5k_ani_set_cck_weak_signal_detection(struct ath5k_hw *ah, bool on);
on                951 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		u32 on = param ? 1 : 0;
on                956 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		int m1ThreshLow = on ?
on                958 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		int m2ThreshLow = on ?
on                960 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		int m1Thresh = on ?
on                962 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		int m2Thresh = on ?
on                964 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		int m2CountThr = on ?
on                966 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		int m2CountThrLow = on ?
on                968 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		int m1ThreshLowExt = on ?
on                970 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		int m2ThreshLowExt = on ?
on                972 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		int m1ThreshExt = on ?
on                974 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		int m2ThreshExt = on ?
on               1002 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		if (on)
on               1009 drivers/net/wireless/ath/ath9k/ar5008_phy.c 		if (on != aniState->ofdmWeakSigDetect) {
on               1015 drivers/net/wireless/ath/ath9k/ar5008_phy.c 				on ? "on" : "off");
on               1016 drivers/net/wireless/ath/ath9k/ar5008_phy.c 			if (on)
on               1020 drivers/net/wireless/ath/ath9k/ar5008_phy.c 			aniState->ofdmWeakSigDetect = on;
on               1096 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		u32 on = param ? 1 : 0;
on               1101 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		m1ThreshLow = on ?
on               1103 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		m2ThreshLow = on ?
on               1105 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		m1Thresh = on ?
on               1107 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		m2Thresh = on ?
on               1109 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		m2CountThr = on ?
on               1111 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		m2CountThrLow = on ?
on               1113 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		m1ThreshLowExt = on ?
on               1115 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		m2ThreshLowExt = on ?
on               1117 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		m1ThreshExt = on ?
on               1119 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		m2ThreshExt = on ?
on               1153 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		if (on)
on               1160 drivers/net/wireless/ath/ath9k/ar9003_phy.c 		if (on != aniState->ofdmWeakSigDetect) {
on               1166 drivers/net/wireless/ath/ath9k/ar9003_phy.c 				on ? "on" : "off");
on               1167 drivers/net/wireless/ath/ath9k/ar9003_phy.c 			if (on)
on               1171 drivers/net/wireless/ath/ath9k/ar9003_phy.c 			aniState->ofdmWeakSigDetect = on;
on                710 drivers/net/wireless/ath/wil6210/debugfs.c 	bool on;
on                725 drivers/net/wireless/ath/wil6210/debugfs.c 	on = !!channel;
on                727 drivers/net/wireless/ath/wil6210/debugfs.c 	if (on) {
on                733 drivers/net/wireless/ath/wil6210/debugfs.c 	rc = wmi_rxon(wil, on);
on               1268 drivers/net/wireless/ath/wil6210/wil6210.h int wmi_rxon(struct wil6210_priv *wil, bool on);
on               2565 drivers/net/wireless/ath/wil6210/wmi.c int wmi_rxon(struct wil6210_priv *wil, bool on)
on               2576 drivers/net/wireless/ath/wil6210/wmi.c 	wil_info(wil, "(%s)\n", on ? "on" : "off");
on               2578 drivers/net/wireless/ath/wil6210/wmi.c 	if (on) {
on               3008 drivers/net/wireless/broadcom/b43/main.c void b43_mac_phy_clock_set(struct b43_wldev *dev, bool on)
on               3016 drivers/net/wireless/broadcom/b43/main.c 		if (on)
on               3026 drivers/net/wireless/broadcom/b43/main.c 		if (on)
on                 90 drivers/net/wireless/broadcom/b43/main.h void b43_mac_phy_clock_set(struct b43_wldev *dev, bool on);
on                551 drivers/net/wireless/broadcom/b43/phy_common.c void b43_phyop_switch_analog_generic(struct b43_wldev *dev, bool on)
on                553 drivers/net/wireless/broadcom/b43/phy_common.c 	b43_write16(dev, B43_MMIO_PHY0, on ? 0 : 0xF4);
on                170 drivers/net/wireless/broadcom/b43/phy_common.h 	void (*switch_analog)(struct b43_wldev *dev, bool on);
on                440 drivers/net/wireless/broadcom/b43/phy_common.h void b43_phyop_switch_analog_generic(struct b43_wldev *dev, bool on);
on               1041 drivers/net/wireless/broadcom/b43/phy_ht.c static void b43_phy_ht_op_switch_analog(struct b43_wldev *dev, bool on)
on               1043 drivers/net/wireless/broadcom/b43/phy_ht.c 	if (on) {
on                765 drivers/net/wireless/broadcom/b43/phy_lcn.c static void b43_phy_lcn_op_switch_analog(struct b43_wldev *dev, bool on)
on                767 drivers/net/wireless/broadcom/b43/phy_lcn.c 	if (on) {
on               2661 drivers/net/wireless/broadcom/b43/phy_lp.c static void b43_lpphy_op_switch_analog(struct b43_wldev *dev, bool on)
on               2663 drivers/net/wireless/broadcom/b43/phy_lp.c        if (on) {
on               6647 drivers/net/wireless/broadcom/b43/phy_n.c static void b43_nphy_op_switch_analog(struct b43_wldev *dev, bool on)
on               6650 drivers/net/wireless/broadcom/b43/phy_n.c 	u16 override = on ? 0x0 : 0x7FFF;
on               6651 drivers/net/wireless/broadcom/b43/phy_n.c 	u16 core = on ? 0xD : 0x00FD;
on               6656 drivers/net/wireless/broadcom/b43/phy_n.c 		if (on) {
on                663 drivers/net/wireless/broadcom/b43legacy/main.c static void b43legacy_switch_analog(struct b43legacy_wldev *dev, int on)
on                665 drivers/net/wireless/broadcom/b43legacy/main.c 	b43legacy_write16(dev, B43legacy_MMIO_PHY0, on ? 0 : 0xF4);
on                687 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c void brcmf_net_setcarrier(struct brcmf_if *ifp, bool on)
on                692 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c 		  on);
on                695 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c 	brcmf_txflowblock_if(ifp, BRCMF_NETIF_STOP_REASON_DISCONNECTED, !on);
on                696 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.c 	if (on) {
on                213 drivers/net/wireless/broadcom/brcm80211/brcmfmac/core.h void brcmf_net_setcarrier(struct brcmf_if *ifp, bool on);
on                661 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c brcmf_sdio_kso_control(struct brcmf_sdio *bus, bool on)
on                668 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	brcmf_dbg(TRACE, "Enter: on=%d\n", on);
on                673 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	if (on)
on                676 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	wr_val = (on << SBSDIO_FUNC1_SLEEPCSR_KSO_SHIFT);
on                685 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	if (!on && bus->ci->chip == CY_CC_43012_CHIP_ID)
on                688 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	if (on) {
on                736 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	if (on)
on                747 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c static int brcmf_sdio_htclk(struct brcmf_sdio *bus, bool on, bool pendok)
on                758 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 		bus->clkstate = (on ? CLK_AVAIL : CLK_SDONLY);
on                762 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	if (on) {
on                867 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c static int brcmf_sdio_sdclk(struct brcmf_sdio *bus, bool on)
on                871 drivers/net/wireless/broadcom/brcm80211/brcmfmac/sdio.c 	if (on)
on                181 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c static int brcms_c_ampdu_set(struct ampdu_info *ampdu, bool on)
on                188 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 	if (on) {
on                199 drivers/net/wireless/broadcom/brcm80211/brcmsmac/ampdu.c 		wlc->pub->_ampdu = on;
on               2818 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c void brcms_b_core_phypll_ctl(struct brcms_hardware *wlc_hw, bool on)
on               2827 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.c 	if (on) {
on                665 drivers/net/wireless/broadcom/brcm80211/brcmsmac/main.h void brcms_b_core_phypll_ctl(struct brcms_hardware *wlc_hw, bool on);
on                626 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c void wlc_phy_anacore(struct brcms_phy_pub *pih, bool on)
on                631 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 		if (on) {
on                651 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 		if (on) {
on               1105 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c void wlc_phy_switch_radio(struct brcms_phy_pub *pih, bool on)
on               1111 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 		wlc_phy_switch_radio_nphy(pi, on);
on               1113 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_cmn.c 		if (on) {
on                204 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h void wlc_phy_switch_radio(struct brcms_phy_pub *ppi, bool on);
on                205 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_hal.h void wlc_phy_anacore(struct brcms_phy_pub *ppi, bool on);
on               1066 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_int.h void wlc_phy_switch_radio_nphy(struct brcms_phy *pi, bool on);
on               20153 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c void wlc_phy_switch_radio_nphy(struct brcms_phy *pi, bool on)
on               20155 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/phy_n.c 	if (on) {
on                166 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.c void wlapi_bmac_core_phypll_ctl(struct phy_shim_info *physhim, bool on)
on                168 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.c 	brcms_b_core_phypll_ctl(physhim->wlc_hw, on);
on                156 drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy_shim.h void wlapi_bmac_core_phypll_ctl(struct phy_shim_info *physhim, bool on);
on                327 drivers/net/wireless/broadcom/brcm80211/brcmsmac/pub.h void brcms_c_mute(struct brcms_c_info *wlc, bool on);
on               3322 drivers/net/wireless/intel/iwlegacy/commands.h 	u8 on;			/* # intervals on while blinking;
on                475 drivers/net/wireless/intel/iwlegacy/common.c il_led_cmd(struct il_priv *il, unsigned long on, unsigned long off)
on                486 drivers/net/wireless/intel/iwlegacy/common.c 	if (il->blink_on == on && il->blink_off == off)
on                491 drivers/net/wireless/intel/iwlegacy/common.c 		on = IL_LED_SOLID;
on                496 drivers/net/wireless/intel/iwlegacy/common.c 	led_cmd.on =
on                497 drivers/net/wireless/intel/iwlegacy/common.c 	    il_blink_compensation(il, on,
on                505 drivers/net/wireless/intel/iwlegacy/common.c 		il->blink_on = on;
on                516 drivers/net/wireless/intel/iwlegacy/common.c 	unsigned long on = 0;
on                519 drivers/net/wireless/intel/iwlegacy/common.c 		on = IL_LED_SOLID;
on                521 drivers/net/wireless/intel/iwlegacy/common.c 	il_led_cmd(il, on, 0);
on               3248 drivers/net/wireless/intel/iwlwifi/dvm/commands.h 	u8 on;			/* # intervals on while blinking;
on                103 drivers/net/wireless/intel/iwlwifi/dvm/led.c 		       unsigned long on,
on                115 drivers/net/wireless/intel/iwlwifi/dvm/led.c 	if (priv->blink_on == on && priv->blink_off == off)
on                120 drivers/net/wireless/intel/iwlwifi/dvm/led.c 		on = IWL_LED_SOLID;
on                123 drivers/net/wireless/intel/iwlwifi/dvm/led.c 	led_cmd.on = iwl_blink_compensation(priv, on,
on                130 drivers/net/wireless/intel/iwlwifi/dvm/led.c 		priv->blink_on = on;
on                140 drivers/net/wireless/intel/iwlwifi/dvm/led.c 	unsigned long on = 0;
on                144 drivers/net/wireless/intel/iwlwifi/dvm/led.c 		on = IWL_LED_SOLID;
on                148 drivers/net/wireless/intel/iwlwifi/dvm/led.c 	iwl_led_cmd(priv, on, off);
on                 68 drivers/net/wireless/intel/iwlwifi/mvm/led.c static void iwl_mvm_send_led_fw_cmd(struct iwl_mvm *mvm, bool on)
on                 71 drivers/net/wireless/intel/iwlwifi/mvm/led.c 		.status = cpu_to_le32(on),
on                 90 drivers/net/wireless/intel/iwlwifi/mvm/led.c static void iwl_mvm_led_set(struct iwl_mvm *mvm, bool on)
on                 94 drivers/net/wireless/intel/iwlwifi/mvm/led.c 		iwl_mvm_send_led_fw_cmd(mvm, on);
on                 99 drivers/net/wireless/intel/iwlwifi/mvm/led.c 		    on ? CSR_LED_REG_TURN_ON : CSR_LED_REG_TURN_OFF);
on                736 drivers/net/wireless/intersil/p54/fwio.c 	bool on = false;
on                745 drivers/net/wireless/intersil/p54/fwio.c 	on = !(priv->filter_flags & FIF_ALLMULTI) &&
on                749 drivers/net/wireless/intersil/p54/fwio.c 	if (on) {
on                 93 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c int mt76x02_mcu_set_radio_state(struct mt76x02_dev *dev, bool on)
on                 99 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.c 		.mode = cpu_to_le32(on ? RADIO_ON : RADIO_OFF),
on                100 drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h int mt76x02_mcu_set_radio_state(struct mt76x02_dev *dev, bool on);
on                719 drivers/net/wireless/mediatek/mt7601u/phy.c static int mt7601u_temp_comp(struct mt7601u_dev *dev, bool on)
on                756 drivers/net/wireless/mediatek/mt7601u/phy.c 	if (on) {
on                248 drivers/nfc/nfcsim.c static int nfcsim_switch_rf(struct nfc_digital_dev *ddev, bool on)
on                252 drivers/nfc/nfcsim.c 	dev->up = on;
on               1044 drivers/nfc/port100.c static int port100_switch_rf(struct nfc_digital_dev *ddev, bool on)
on               1053 drivers/nfc/port100.c 	skb_put_u8(skb, on ? 1 : 0);
on               1056 drivers/nfc/port100.c 	if (!on)
on               1023 drivers/nfc/st95hf/core.c static int st95hf_switch_rf(struct nfc_digital_dev *ddev, bool on)
on               1030 drivers/nfc/st95hf/core.c 	if (on)
on               1123 drivers/nfc/trf7970a.c static int trf7970a_switch_rf(struct nfc_digital_dev *ddev, bool on)
on               1128 drivers/nfc/trf7970a.c 	dev_dbg(trf->dev, "Switching RF - state: %d, on: %d\n", trf->state, on);
on               1132 drivers/nfc/trf7970a.c 	if (on) {
on               1143 drivers/nfc/trf7970a.c 				__func__, trf->state, on);
on               1154 drivers/nfc/trf7970a.c 				__func__, trf->state, on);
on                 78 drivers/parisc/led.c 	unsigned char on;	/* value for turning LED on     */
on                332 drivers/parisc/led.c 			gsc_writeb( leds & mask[i] ? blockp[i]->on : 
on                174 drivers/pci/controller/dwc/pci-exynos.c static void exynos_pcie_sideband_dbi_w_mode(struct exynos_pcie *ep, bool on)
on                179 drivers/pci/controller/dwc/pci-exynos.c 	if (on)
on                186 drivers/pci/controller/dwc/pci-exynos.c static void exynos_pcie_sideband_dbi_r_mode(struct exynos_pcie *ep, bool on)
on                191 drivers/pci/controller/dwc/pci-exynos.c 	if (on)
on                311 drivers/pci/controller/dwc/pcie-kirin.c 					   bool on)
on                316 drivers/pci/controller/dwc/pcie-kirin.c 	if (on)
on                325 drivers/pci/controller/dwc/pcie-kirin.c 					   bool on)
on                330 drivers/pci/controller/dwc/pcie-kirin.c 	if (on)
on                 87 drivers/pcmcia/soc_common.c 	bool on;
on                 93 drivers/pcmcia/soc_common.c 	on = v != 0;
on                 94 drivers/pcmcia/soc_common.c 	if (r->on == on)
on                 97 drivers/pcmcia/soc_common.c 	if (on) {
on                113 drivers/pcmcia/soc_common.c 		r->on = on;
on                 27 drivers/pcmcia/soc_common.h 	bool			on;
on                456 drivers/perf/xgene_pmu.c 	XGENE_PMU_EVENT_ATTR(pa-wr-back-cancelled-on-SS,	0x1b),
on                 34 drivers/phy/broadcom/phy-bcm-kona-usb2.c static void bcm_kona_usb_phy_power(struct bcm_kona_usb *phy, int on)
on                 39 drivers/phy/broadcom/phy-bcm-kona-usb2.c 	if (on) {
on                 60 drivers/phy/hisilicon/phy-hi6220-usb.c static int hi6220_phy_setup(struct hi6220_priv *priv, bool on)
on                 66 drivers/phy/hisilicon/phy-hi6220-usb.c 	if (on) {
on                292 drivers/phy/qualcomm/phy-qcom-ufs.c 			  struct ufs_qcom_phy_vreg *vreg, bool on)
on                301 drivers/phy/qualcomm/phy-qcom-ufs.c 		min_uV = on ? vreg->min_uV : 0;
on                308 drivers/phy/qualcomm/phy-qcom-ufs.c 		uA_load = on ? vreg->max_uA : 0;
on                229 drivers/phy/samsung/phy-exynos-mipi-video.c 			   struct exynos_mipi_video_phy *state, unsigned int on)
on                237 drivers/phy/samsung/phy-exynos-mipi-video.c 	if (!on && data->coupled_phy_id >= 0 &&
on                242 drivers/phy/samsung/phy-exynos-mipi-video.c 	if (on)
on                249 drivers/phy/samsung/phy-exynos-mipi-video.c 	if (on)
on                124 drivers/phy/samsung/phy-exynos4210-usb2.c static void exynos4210_isol(struct samsung_usb2_phy_instance *inst, bool on)
on                143 drivers/phy/samsung/phy-exynos4210-usb2.c 	regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask);
on                146 drivers/phy/samsung/phy-exynos4210-usb2.c static void exynos4210_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on)
on                167 drivers/phy/samsung/phy-exynos4210-usb2.c 		writel(on, drv->reg_phy + EXYNOS_4210_UPHY1CON);
on                181 drivers/phy/samsung/phy-exynos4210-usb2.c 	if (on) {
on                165 drivers/phy/samsung/phy-exynos4x12-usb2.c static void exynos4x12_isol(struct samsung_usb2_phy_instance *inst, bool on)
on                189 drivers/phy/samsung/phy-exynos4x12-usb2.c 	regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask);
on                208 drivers/phy/samsung/phy-exynos4x12-usb2.c static void exynos4x12_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on)
on                239 drivers/phy/samsung/phy-exynos4x12-usb2.c 	if (on) {
on                162 drivers/phy/samsung/phy-exynos5-usbdrd.c 	void (*phy_isol)(struct phy_usb_instance *inst, u32 on);
on                258 drivers/phy/samsung/phy-exynos5-usbdrd.c 						unsigned int on)
on                265 drivers/phy/samsung/phy-exynos5-usbdrd.c 	val = on ? 0 : EXYNOS4_PHY_ENABLE;
on                175 drivers/phy/samsung/phy-exynos5250-usb2.c static void exynos5250_isol(struct samsung_usb2_phy_instance *inst, bool on)
on                194 drivers/phy/samsung/phy-exynos5250-usb2.c 	regmap_update_bits(drv->reg_pmu, offset, mask, on ? 0 : mask);
on                 89 drivers/phy/samsung/phy-s5pv210-usb2.c static void s5pv210_isol(struct samsung_usb2_phy_instance *inst, bool on)
on                106 drivers/phy/samsung/phy-s5pv210-usb2.c 							mask, on ? 0 : mask);
on                109 drivers/phy/samsung/phy-s5pv210-usb2.c static void s5pv210_phy_pwr(struct samsung_usb2_phy_instance *inst, bool on)
on                129 drivers/phy/samsung/phy-s5pv210-usb2.c 	if (on) {
on                 58 drivers/phy/ti/phy-omap-control.c void omap_control_phy_power(struct device *dev, int on)
on                 82 drivers/phy/ti/phy-omap-control.c 		if (on)
on                 93 drivers/phy/ti/phy-omap-control.c 		if (on) {
on                108 drivers/phy/ti/phy-omap-control.c 		if (on)
on                115 drivers/phy/ti/phy-omap-control.c 		if (on) {
on                 96 drivers/phy/ti/phy-omap-usb2.c static int omap_usb_phy_power(struct omap_usb *phy, int on)
on                102 drivers/phy/ti/phy-omap-usb2.c 		omap_control_phy_power(phy->control_dev, on);
on                106 drivers/phy/ti/phy-omap-usb2.c 	if (on)
on                345 drivers/phy/ti/phy-twl4030-usb.c static void twl4030_i2c_access(struct twl4030_usb *twl, int on)
on                351 drivers/phy/ti/phy-twl4030-usb.c 		if (on) {
on                375 drivers/phy/ti/phy-twl4030-usb.c static void __twl4030_phy_power(struct twl4030_usb *twl, int on)
on                379 drivers/phy/ti/phy-twl4030-usb.c 	if (on)
on               1099 drivers/pinctrl/intel/pinctrl-intel.c static int intel_gpio_irq_wake(struct irq_data *d, unsigned int on)
on               1105 drivers/pinctrl/intel/pinctrl-intel.c 	if (on)
on               1110 drivers/pinctrl/intel/pinctrl-intel.c 	dev_dbg(pctrl->dev, "%sable wake for pin %u\n", on ? "en" : "dis", pin);
on                197 drivers/pinctrl/mediatek/mtk-eint.c static int mtk_eint_irq_set_wake(struct irq_data *d, unsigned int on)
on                203 drivers/pinctrl/mediatek/mtk-eint.c 	if (on)
on                554 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c static int armada_37xx_irq_set_wake(struct irq_data *d, unsigned int on)
on                564 drivers/pinctrl/mvebu/pinctrl-armada-37xx.c 	if (on)
on                666 drivers/pinctrl/nomadik/pinctrl-nomadik.c 				int offset, bool on)
on                673 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	if (nmk_chip->sleepmode && on) {
on                678 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	__nmk_gpio_irq_modify(nmk_chip, offset, WAKE, on);
on                716 drivers/pinctrl/nomadik/pinctrl-nomadik.c static int nmk_gpio_irq_set_wake(struct irq_data *d, unsigned int on)
on                730 drivers/pinctrl/nomadik/pinctrl-nomadik.c 		__nmk_gpio_set_wake(nmk_chip, d->hwirq, on);
on                732 drivers/pinctrl/nomadik/pinctrl-nomadik.c 	if (on)
on                228 drivers/pinctrl/pinctrl-at91-pio4.c static int atmel_gpio_irq_set_wake(struct irq_data *d, unsigned int on)
on                235 drivers/pinctrl/pinctrl-at91-pio4.c 	irq_set_irq_wake(atmel_pioctrl->irqs[bank], on);
on                237 drivers/pinctrl/pinctrl-at91-pio4.c 	if (on)
on                390 drivers/pinctrl/pinctrl-at91.c static void at91_mux_set_pullup(void __iomem *pio, unsigned mask, bool on)
on                392 drivers/pinctrl/pinctrl-at91.c 	if (on)
on                395 drivers/pinctrl/pinctrl-at91.c 	writel_relaxed(mask, pio + (on ? PIO_PUER : PIO_PUDR));
on                416 drivers/pinctrl/pinctrl-at91.c static void at91_mux_set_multidrive(void __iomem *pio, unsigned mask, bool on)
on                418 drivers/pinctrl/pinctrl-at91.c 	writel_relaxed(mask, pio + (on ? PIO_MDER : PIO_MDDR));
on               1548 drivers/pinctrl/pinctrl-ingenic.c static int ingenic_gpio_irq_set_wake(struct irq_data *irqd, unsigned int on)
on               1553 drivers/pinctrl/pinctrl-ingenic.c 	return irq_set_irq_wake(jzgc->irq, on);
on                909 drivers/pinctrl/qcom/pinctrl-msm.c static int msm_gpio_irq_set_wake(struct irq_data *d, unsigned int on)
on                917 drivers/pinctrl/qcom/pinctrl-msm.c 	irq_set_irq_wake(pctrl->irq, on);
on                328 drivers/pinctrl/samsung/pinctrl-exynos.c static int exynos_wkup_irq_set_wake(struct irq_data *irqd, unsigned int on)
on                335 drivers/pinctrl/samsung/pinctrl-exynos.c 	pr_info("wake %s for irq %d\n", on ? "enabled" : "disabled", irqd->irq);
on                337 drivers/pinctrl/samsung/pinctrl-exynos.c 	if (!on)
on                 18 drivers/platform/x86/asus-wireless.c 	u8 on;
on                 34 drivers/platform/x86/asus-wireless.c 	.on = 0x0,
on                 40 drivers/platform/x86/asus-wireless.c 	.on = 0x5,
on                 86 drivers/platform/x86/asus-wireless.c 	if (ACPI_SUCCESS(s) && ret == data->hswc_params->on)
on                107 drivers/platform/x86/asus-wireless.c 					     data->hswc_params->on;
on                276 drivers/platform/x86/compal-laptop.c static void set_backlight_state(bool on)
on                278 drivers/platform/x86/compal-laptop.c 	u8 data = on ? BACKLIGHT_STATE_ON_DATA : BACKLIGHT_STATE_OFF_DATA;
on                 98 drivers/platform/x86/intel_int0002_vgpio.c static int int0002_irq_set_wake(struct irq_data *data, unsigned int on)
on                105 drivers/platform/x86/intel_int0002_vgpio.c 	if (on)
on               4056 drivers/platform/x86/sony-laptop.c static int sonypi_misc_fasync(int fd, struct file *filp, int on)
on               4058 drivers/platform/x86/sony-laptop.c 	return fasync_helper(fd, filp, on, &sonypi_compat.fifo_async);
on               9223 drivers/platform/x86/thinkpad_acpi.c static int tpacpi_led_set(int whichled, bool on)
on               9228 drivers/platform/x86/thinkpad_acpi.c 	if (t->state < 0 || t->state == on)
on               9230 drivers/platform/x86/thinkpad_acpi.c 	return mute_led_on_off(t, on);
on               9737 drivers/platform/x86/thinkpad_acpi.c static int lcdshadow_set(bool on)
on               9741 drivers/platform/x86/thinkpad_acpi.c 	if (lcdshadow_state == on)
on               9743 drivers/platform/x86/thinkpad_acpi.c 	return lcdshadow_on_off(on);
on               1308 drivers/power/supply/ab8500_charger.c static int ab8500_charger_led_en(struct ab8500_charger *di, int on)
on               1312 drivers/power/supply/ab8500_charger.c 	if (on) {
on                230 drivers/power/supply/da9030_battery.c static void da9030_set_charge(struct da9030_charger *charger, int on)
on                234 drivers/power/supply/da9030_battery.c 	if (on) {
on                 71 drivers/power/supply/isp1704_charger.c static void isp1704_charger_set_power(struct isp1704_charger *isp, bool on)
on                 73 drivers/power/supply/isp1704_charger.c 	gpiod_set_value(isp->enable_gpio, on);
on                 47 drivers/pps/pps.c static int pps_cdev_fasync(int fd, struct file *file, int on)
on                 50 drivers/pps/pps.c 	return fasync_helper(fd, file, on, &pps->async_queue);
on                220 drivers/ptp/ptp_dte.c 			    struct ptp_clock_request *rq, int on)
on                202 drivers/ptp/ptp_ixp46x.c 			  struct ptp_clock_request *rq, int on)
on                210 drivers/ptp/ptp_ixp46x.c 			ixp_clock->exts0_enabled = on ? 1 : 0;
on                213 drivers/ptp/ptp_ixp46x.c 			ixp_clock->exts1_enabled = on ? 1 : 0;
on                138 drivers/ptp/ptp_kvm.c 			  struct ptp_clock_request *rq, int on)
on                473 drivers/ptp/ptp_pch.c 			  struct ptp_clock_request *rq, int on)
on                481 drivers/ptp/ptp_pch.c 			pch_dev->exts0_enabled = on ? 1 : 0;
on                484 drivers/ptp/ptp_pch.c 			pch_dev->exts1_enabled = on ? 1 : 0;
on                283 drivers/ptp/ptp_qoriq.c 		     struct ptp_clock_request *rq, int on)
on                303 drivers/ptp/ptp_qoriq.c 		if (on)
on                317 drivers/ptp/ptp_qoriq.c 	if (on) {
on                151 drivers/pwm/pwm-pca9685.c 	unsigned int on = value ? LED_FULL : 0;
on                158 drivers/pwm/pwm-pca9685.c 	regmap_write(pca->regmap, LED_N_ON_H(pwm->hwpwm), on);
on                402 drivers/rtc/dev.c static int rtc_dev_fasync(int fd, struct file *file, int on)
on                406 drivers/rtc/dev.c 	return fasync_helper(fd, file, on, &rtc->async_queue);
on                133 drivers/rtc/rtc-pcf8563.c static int pcf8563_set_alarm_mode(struct i2c_client *client, bool on)
on                142 drivers/rtc/rtc-pcf8563.c 	if (on)
on                109 drivers/s390/cio/chp.c static int s390_vary_chpid(struct chp_id chpid, int on)
on                114 drivers/s390/cio/chp.c 	sprintf(dbf_text, on?"varyon%x.%02x":"varyoff%x.%02x", chpid.cssid,
on                119 drivers/s390/cio/chp.c 	if (!on && !status)
on                122 drivers/s390/cio/chp.c 	set_chp_logically_online(chpid, on);
on                123 drivers/s390/cio/chp.c 	chsc_chp_vary(chpid, on);
on                717 drivers/s390/cio/chsc.c 					 struct chp_id chpid, int on)
on                727 drivers/s390/cio/chsc.c 				       on ? CHP_VARY_ON : CHP_VARY_OFF);
on                752 drivers/s390/cio/chsc.c int chsc_chp_vary(struct chp_id chpid, int on)
on                761 drivers/s390/cio/chsc.c 	if (on) {
on                152 drivers/s390/cio/chsc.h int chsc_chp_vary(struct chp_id chpid, int on);
on               5984 drivers/s390/net/qeth_core_main.c static int qeth_set_ipa_csum(struct qeth_card *card, bool on, int cstype,
on               5987 drivers/s390/net/qeth_core_main.c 	return on ? qeth_set_csum_on(card, cstype, prot) :
on               6062 drivers/s390/net/qeth_core_main.c static int qeth_set_ipa_tso(struct qeth_card *card, bool on,
on               6065 drivers/s390/net/qeth_core_main.c 	return on ? qeth_set_tso_on(card, prot) : qeth_set_tso_off(card, prot);
on               6068 drivers/s390/net/qeth_core_main.c static int qeth_set_ipa_rx_csum(struct qeth_card *card, bool on)
on               6070 drivers/s390/net/qeth_core_main.c 	int rc_ipv4 = (on) ? -EOPNOTSUPP : 0;
on               6074 drivers/s390/net/qeth_core_main.c 		rc_ipv4 = qeth_set_ipa_csum(card, on, IPA_INBOUND_CHECKSUM,
on               6080 drivers/s390/net/qeth_core_main.c 	rc_ipv6 = qeth_set_ipa_csum(card, on, IPA_INBOUND_CHECKSUM,
on               6083 drivers/s390/net/qeth_core_main.c 	if (on)
on                 93 drivers/scsi/ufs/ufs-mediatek.c static int ufs_mtk_setup_clocks(struct ufs_hba *hba, bool on,
on                109 drivers/scsi/ufs/ufs-mediatek.c 		if (!on)
on                113 drivers/scsi/ufs/ufs-mediatek.c 		if (on)
on                986 drivers/scsi/ufs/ufs-qcom.c static int ufs_qcom_setup_clocks(struct ufs_hba *hba, bool on,
on               1001 drivers/scsi/ufs/ufs-qcom.c 	if (on && (status == POST_CHANGE)) {
on               1009 drivers/scsi/ufs/ufs-qcom.c 	} else if (!on && (status == PRE_CHANGE)) {
on                247 drivers/scsi/ufs/ufshcd.c static int __ufshcd_setup_clocks(struct ufs_hba *hba, bool on,
on                249 drivers/scsi/ufs/ufshcd.c static int ufshcd_setup_clocks(struct ufs_hba *hba, bool on);
on               7122 drivers/scsi/ufs/ufshcd.c 		struct ufs_vreg *vreg, bool on)
on               7136 drivers/scsi/ufs/ufshcd.c 			min_uV = on ? vreg->min_uV : 0;
on               7146 drivers/scsi/ufs/ufshcd.c 		uA_load = on ? vreg->max_uA : 0;
on               7196 drivers/scsi/ufs/ufshcd.c static int ufshcd_setup_vreg(struct ufs_hba *hba, bool on)
on               7202 drivers/scsi/ufs/ufshcd.c 	ret = ufshcd_toggle_vreg(dev, info->vcc, on);
on               7206 drivers/scsi/ufs/ufshcd.c 	ret = ufshcd_toggle_vreg(dev, info->vccq, on);
on               7210 drivers/scsi/ufs/ufshcd.c 	ret = ufshcd_toggle_vreg(dev, info->vccq2, on);
on               7223 drivers/scsi/ufs/ufshcd.c static int ufshcd_setup_hba_vreg(struct ufs_hba *hba, bool on)
on               7227 drivers/scsi/ufs/ufshcd.c 	return ufshcd_toggle_vreg(hba->dev, info->vdd_hba, on);
on               7276 drivers/scsi/ufs/ufshcd.c static int __ufshcd_setup_clocks(struct ufs_hba *hba, bool on,
on               7294 drivers/scsi/ufs/ufshcd.c 	if (!on) {
on               7295 drivers/scsi/ufs/ufshcd.c 		ret = ufshcd_vops_setup_clocks(hba, on, PRE_CHANGE);
on               7305 drivers/scsi/ufs/ufshcd.c 			clk_state_changed = on ^ clki->enabled;
on               7306 drivers/scsi/ufs/ufshcd.c 			if (on && !clki->enabled) {
on               7313 drivers/scsi/ufs/ufshcd.c 			} else if (!on && clki->enabled) {
on               7316 drivers/scsi/ufs/ufshcd.c 			clki->enabled = on;
on               7318 drivers/scsi/ufs/ufshcd.c 					clki->name, on ? "en" : "dis");
on               7327 drivers/scsi/ufs/ufshcd.c 	if (on) {
on               7328 drivers/scsi/ufs/ufshcd.c 		ret = ufshcd_vops_setup_clocks(hba, on, POST_CHANGE);
on               7339 drivers/scsi/ufs/ufshcd.c 	} else if (!ret && on) {
on               7349 drivers/scsi/ufs/ufshcd.c 			(on ? "on" : "off"),
on               7354 drivers/scsi/ufs/ufshcd.c static int ufshcd_setup_clocks(struct ufs_hba *hba, bool on)
on               7356 drivers/scsi/ufs/ufshcd.c 	return  __ufshcd_setup_clocks(hba, on, false);
on                989 drivers/scsi/ufs/ufshcd.h static inline int ufshcd_vops_setup_clocks(struct ufs_hba *hba, bool on,
on                993 drivers/scsi/ufs/ufshcd.h 		return hba->vops->setup_clocks(hba, on, status);
on                 44 drivers/soc/bcm/raspberrypi-power.c 	u32 on;
on                 51 drivers/soc/bcm/raspberrypi-power.c static int rpi_firmware_set_power(struct rpi_power_domain *rpi_domain, bool on)
on                 56 drivers/soc/bcm/raspberrypi-power.c 	packet.on = on;
on                145 drivers/soc/bcm/raspberrypi-power.c 	packet.on = ~0;
on                151 drivers/soc/bcm/raspberrypi-power.c 	return ret == 0 && packet.on != ~0;
on                130 drivers/soc/imx/gpcv2.c 				      bool on)
on                135 drivers/soc/imx/gpcv2.c 	unsigned int offset = on ?
on                137 drivers/soc/imx/gpcv2.c 	const bool enable_power_control = !on;
on                145 drivers/soc/imx/gpcv2.c 	if (has_regulator && on) {
on                163 drivers/soc/imx/gpcv2.c 				   domain->bits.hsk, on ? domain->bits.hsk : 0);
on                184 drivers/soc/imx/gpcv2.c 		on = !on;
on                195 drivers/soc/imx/gpcv2.c 	if (has_regulator && !on) {
on                 67 drivers/soc/renesas/rcar-sysc.c static int rcar_sysc_pwr_on_off(const struct rcar_sysc_ch *sysc_ch, bool on)
on                 72 drivers/soc/renesas/rcar-sysc.c 	if (on) {
on                 97 drivers/soc/renesas/rcar-sysc.c static int rcar_sysc_power(const struct rcar_sysc_ch *sysc_ch, bool on)
on                121 drivers/soc/renesas/rcar-sysc.c 		ret = rcar_sysc_pwr_on_off(sysc_ch, on);
on                153 drivers/soc/renesas/rcar-sysc.c 	pr_debug("sysc power %s domain %d: %08x -> %d\n", on ? "on" : "off",
on                434 drivers/soc/renesas/rcar-sysc.c static int rcar_sysc_power_cpu(unsigned int idx, bool on)
on                452 drivers/soc/renesas/rcar-sysc.c 		return rcar_sysc_power(&pd->ch, on);
on                264 drivers/soc/rockchip/pm_domains.c 					     bool on)
on                274 drivers/soc/rockchip/pm_domains.c 			     on ? pd->info->pwr_w_mask :
on                278 drivers/soc/rockchip/pm_domains.c 				   pd->info->pwr_mask, on ? 0 : -1U);
on                283 drivers/soc/rockchip/pm_domains.c 				      is_on == on, 0, 10000)) {
on                112 drivers/soc/samsung/pm_domains.c 		int on;
on                140 drivers/soc/samsung/pm_domains.c 		on = readl_relaxed(pd->base + 0x4) & pd->local_pwr_cfg;
on                142 drivers/soc/samsung/pm_domains.c 		pm_genpd_init(&pd->pd, NULL, !on);
on               1949 drivers/soc/tegra/pmc.c static int tegra_pmc_irq_set_wake(struct irq_data *data, unsigned int on)
on               1968 drivers/soc/tegra/pmc.c 	if (!on)
on               1976 drivers/soc/tegra/pmc.c 	writel(!!on, pmc->wake + WAKE_AOWAKE_MASK_W(data->hwirq));
on                551 drivers/spi/spi-fsl-spi.c static void fsl_spi_grlib_cs_control(struct spi_device *spi, bool on)
on                559 drivers/spi/spi-fsl-spi.c 		gpiod_set_value(spi->cs_gpiod, on);
on                562 drivers/spi/spi-fsl-spi.c 		slvsel = on ? (slvsel | (1 << cs)) : (slvsel & ~(1 << cs));
on                689 drivers/spi/spi-fsl-spi.c static void fsl_spi_cs_control(struct spi_device *spi, bool on)
on                692 drivers/spi/spi-fsl-spi.c 		gpiod_set_value(spi->cs_gpiod, on);
on                700 drivers/spi/spi-fsl-spi.c 		iowrite32be(on ? SPI_BOOT_SEL_BIT : 0, pinfo->immr_spi_cs);
on                 55 drivers/spi/spi-mpc512x-psc.c 	void (*cs_control)(struct spi_device *spi, bool on);
on                 31 drivers/spi/spi-mpc52xx-psc.c 	void (*cs_control)(struct spi_device *spi, bool on);
on                 39 drivers/spi/spi-sh-sci.c static inline void setbits(struct sh_sci_spi *sp, int bits, int on)
on                 49 drivers/spi/spi-sh-sci.c 	if (on)
on                 57 drivers/spi/spi-sh-sci.c static inline void setsck(struct spi_device *dev, int on)
on                 59 drivers/spi/spi-sh-sci.c 	setbits(spi_master_get_devdata(dev->master), PIN_SCK, on);
on                 62 drivers/spi/spi-sh-sci.c static inline void setmosi(struct spi_device *dev, int on)
on                 64 drivers/spi/spi-sh-sci.c 	setbits(spi_master_get_devdata(dev->master), PIN_TXD, on);
on                 96 drivers/spi/spi-txx9.c 		int on, unsigned int cs_delay)
on                 98 drivers/spi/spi-txx9.c 	int val = (spi->mode & SPI_CS_HIGH) ? on : !on;
on                100 drivers/spi/spi-txx9.c 	if (on) {
on                638 drivers/spmi/spmi-pmic-arb.c static int qpnpint_irq_set_wake(struct irq_data *d, unsigned int on)
on                642 drivers/spmi/spmi-pmic-arb.c 	return irq_set_irq_wake(pmic_arb->irq, on);
on                590 drivers/ssb/driver_chipcommon_pmu.c void ssb_pmu_set_ldo_paref(struct ssb_chipcommon *cc, bool on)
on                609 drivers/ssb/driver_chipcommon_pmu.c 	if (on)
on               2769 drivers/staging/comedi/comedi_fops.c static int comedi_fasync(int fd, struct file *file, int on)
on               2774 drivers/staging/comedi/comedi_fops.c 	return fasync_helper(fd, file, on, &dev->async_queue);
on                335 drivers/staging/comedi/drivers/s626.h 						 * based on TSL1.
on                 90 drivers/staging/fbtft/fb_sh1106.c static int blank(struct fbtft_par *par, bool on)
on                 93 drivers/staging/fbtft/fb_sh1106.c 		      __func__, on ? "true" : "false");
on                 95 drivers/staging/fbtft/fb_sh1106.c 	write_reg(par, on ? 0xAE : 0xAF);
on                132 drivers/staging/fbtft/fb_ssd1305.c static int blank(struct fbtft_par *par, bool on)
on                134 drivers/staging/fbtft/fb_ssd1305.c 	if (on)
on                149 drivers/staging/fbtft/fb_ssd1306.c static int blank(struct fbtft_par *par, bool on)
on                152 drivers/staging/fbtft/fb_ssd1306.c 		      __func__, on ? "true" : "false");
on                154 drivers/staging/fbtft/fb_ssd1306.c 	if (on)
on                 89 drivers/staging/fbtft/fb_ssd1325.c static int blank(struct fbtft_par *par, bool on)
on                 92 drivers/staging/fbtft/fb_ssd1325.c 		      __func__, on ? "true" : "false");
on                 94 drivers/staging/fbtft/fb_ssd1325.c 	if (on)
on                170 drivers/staging/fbtft/fb_ssd1331.c static int blank(struct fbtft_par *par, bool on)
on                173 drivers/staging/fbtft/fb_ssd1331.c 		      __func__, on ? "true" : "false");
on                174 drivers/staging/fbtft/fb_ssd1331.c 	if (on)
on                164 drivers/staging/fbtft/fb_ssd1351.c static int blank(struct fbtft_par *par, bool on)
on                167 drivers/staging/fbtft/fb_ssd1351.c 		      __func__, on ? "true" : "false");
on                168 drivers/staging/fbtft/fb_ssd1351.c 	if (on)
on                195 drivers/staging/fbtft/fb_ssd1351.c 	bool on;
on                201 drivers/staging/fbtft/fb_ssd1351.c 	on = (bd->props.power == FB_BLANK_UNBLANK) &&
on                204 drivers/staging/fbtft/fb_ssd1351.c 	write_reg(par, 0xB5, on ? 0x03 : 0x02);
on                222 drivers/staging/fbtft/fb_st7789v.c static int blank(struct fbtft_par *par, bool on)
on                224 drivers/staging/fbtft/fb_st7789v.c 	if (on)
on                130 drivers/staging/fbtft/fb_uc1611.c static int blank(struct fbtft_par *par, bool on)
on                133 drivers/staging/fbtft/fb_uc1611.c 		      __func__, on ? "true" : "false");
on                135 drivers/staging/fbtft/fb_uc1611.c 	if (on)
on                 73 drivers/staging/fbtft/fbtft.h 	int (*blank)(struct fbtft_par *par, bool on);
on                888 drivers/staging/fwserial/fwserial.c static void fwtty_port_dtr_rts(struct tty_port *tty_port, int on)
on                892 drivers/staging/fwserial/fwserial.c 	fwtty_dbg(port, "on/off: %d\n", on);
on                897 drivers/staging/fwserial/fwserial.c 		if (on)
on                731 drivers/staging/greybus/uart.c static void gb_tty_dtr_rts(struct tty_port *port, int on)
on                739 drivers/staging/greybus/uart.c 	if (on)
on                153 drivers/staging/isdn/hysdn/boardergo.c ergo_set_errlog_state(hysdn_card *card, int on)
on                163 drivers/staging/isdn/hysdn/boardergo.c 	if (((card->err_log_state == ERRLOG_STATE_OFF) && !on) ||
on                164 drivers/staging/isdn/hysdn/boardergo.c 	    ((card->err_log_state == ERRLOG_STATE_ON) && on)) {
on                168 drivers/staging/isdn/hysdn/boardergo.c 	if (on)
on                421 drivers/staging/media/imx/imx-media-fim.c 			     bool on)
on                428 drivers/staging/media/imx/imx-media-fim.c 	if (fim->stream_on == on)
on                431 drivers/staging/media/imx/imx-media-fim.c 	if (on) {
on                448 drivers/staging/media/imx/imx-media-fim.c 	fim->stream_on = on;
on                916 drivers/staging/media/imx/imx-media-utils.c 				  bool on)
on                927 drivers/staging/media/imx/imx-media-utils.c 	if (on) {
on                219 drivers/staging/media/imx/imx-media.h 				  bool on);
on                233 drivers/staging/media/imx/imx-media.h 			     bool on);
on                336 drivers/staging/media/imx/imx7-mipi-csis.c static void mipi_csis_enable_interrupts(struct csi_state *state, bool on)
on                338 drivers/staging/media/imx/imx7-mipi-csis.c 	mipi_csis_write(state, MIPI_CSIS_INTMSK, on ? 0xffffffff : 0);
on                369 drivers/staging/media/imx/imx7-mipi-csis.c static void mipi_csis_system_enable(struct csi_state *state, int on)
on                374 drivers/staging/media/imx/imx7-mipi-csis.c 	if (on)
on                382 drivers/staging/media/imx/imx7-mipi-csis.c 	if (on) {
on                249 drivers/staging/media/soc_camera/imx074.c static int imx074_s_power(struct v4l2_subdev *sd, int on)
on                255 drivers/staging/media/soc_camera/imx074.c 	return soc_camera_set_power(&client->dev, ssdd, priv->clk, on);
on                595 drivers/staging/media/soc_camera/mt9t031.c static int mt9t031_s_power(struct v4l2_subdev *sd, int on)
on                603 drivers/staging/media/soc_camera/mt9t031.c 	if (on) {
on                514 drivers/staging/media/soc_camera/soc_mt9v022.c static int mt9v022_s_power(struct v4l2_subdev *sd, int on)
on                520 drivers/staging/media/soc_camera/soc_mt9v022.c 	return soc_camera_set_power(&client->dev, ssdd, mt9v022->clk, on);
on                920 drivers/staging/media/soc_camera/soc_ov5642.c static int ov5642_s_power(struct v4l2_subdev *sd, int on)
on                927 drivers/staging/media/soc_camera/soc_ov5642.c 	if (!on)
on                760 drivers/staging/media/soc_camera/soc_ov9740.c static int ov9740_s_power(struct v4l2_subdev *sd, int on)
on                767 drivers/staging/media/soc_camera/soc_ov9740.c 	if (on) {
on                 27 drivers/staging/nvec/nvec_power.c 	int on;
on                 95 drivers/staging/nvec/nvec_power.c 		if (power->on != res->plu) {
on                 96 drivers/staging/nvec/nvec_power.c 			power->on = res->plu;
on                230 drivers/staging/nvec/nvec_power.c 		val->intval = power->on;
on                756 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c static int vidioc_overlay(struct file *file, void *f, unsigned int on)
on                763 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	if ((on && dev->component[COMP_PREVIEW]->enabled) ||
on                764 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	    (!on && !dev->component[COMP_PREVIEW]->enabled))
on                770 drivers/staging/vc04_services/bcm2835-camera/bcm2835-camera.c 	if (!on) {
on                548 drivers/thermal/hisi_thermal.c 				       bool on)
on                553 drivers/thermal/hisi_thermal.c 		on ? THERMAL_DEVICE_ENABLED : THERMAL_DEVICE_DISABLED);
on                233 drivers/thermal/rcar_gen3_thermal.c static void rcar_thermal_irq_set(struct rcar_gen3_thermal_priv *priv, bool on)
on                236 drivers/thermal/rcar_gen3_thermal.c 	u32 val = on ? IRQ_TEMPD1 | IRQ_TEMP2 : 0;
on                110 drivers/thermal/rockchip_thermal.c 	void (*control)(void __iomem *reg, bool on);
on               1056 drivers/thermal/rockchip_thermal.c rockchip_thermal_toggle_sensor(struct rockchip_thermal_sensor *sensor, bool on)
on               1061 drivers/thermal/rockchip_thermal.c 		on ? THERMAL_DEVICE_ENABLED : THERMAL_DEVICE_DISABLED);
on                199 drivers/thermal/samsung/exynos_tmu.c 	void (*tmu_control)(struct platform_device *pdev, bool on);
on                347 drivers/thermal/samsung/exynos_tmu.c static void exynos_tmu_control(struct platform_device *pdev, bool on)
on                353 drivers/thermal/samsung/exynos_tmu.c 	data->tmu_control(pdev, on);
on                354 drivers/thermal/samsung/exynos_tmu.c 	data->enabled = on;
on                558 drivers/thermal/samsung/exynos_tmu.c static void exynos4210_tmu_control(struct platform_device *pdev, bool on)
on                566 drivers/thermal/samsung/exynos_tmu.c 	if (on) {
on                588 drivers/thermal/samsung/exynos_tmu.c static void exynos5433_tmu_control(struct platform_device *pdev, bool on)
on                596 drivers/thermal/samsung/exynos_tmu.c 	if (on) {
on                612 drivers/thermal/samsung/exynos_tmu.c 	pd_det_en = on ? EXYNOS5433_PD_DET_EN : 0;
on                619 drivers/thermal/samsung/exynos_tmu.c static void exynos7_tmu_control(struct platform_device *pdev, bool on)
on                627 drivers/thermal/samsung/exynos_tmu.c 	if (on) {
on                 92 drivers/thermal/ti-soc-thermal/ti-bandgap.c static int ti_bandgap_power(struct ti_bandgap *bgp, bool on)
on                101 drivers/thermal/ti-soc-thermal/ti-bandgap.c 		RMW_BITS(bgp, i, temp_sensor_ctrl, bgap_tempsoff_mask, !on);
on                324 drivers/tty/isicom.c static void isicom_dtr_rts(struct tty_port *port, int on)
on                334 drivers/tty/isicom.c 	if (on) {
on                553 drivers/tty/mxser.c static void mxser_dtr_rts(struct tty_port *port, int on)
on                559 drivers/tty/mxser.c 	if (on)
on                229 drivers/tty/rocket.c static void sModemReset(CONTROLLER_T * CtlP, int chan, int on);
on                230 drivers/tty/rocket.c static void sPCIModemReset(CONTROLLER_T * CtlP, int chan, int on);
on                855 drivers/tty/rocket.c static void dtr_rts(struct tty_port *port, int on)
on                858 drivers/tty/rocket.c 	if (on) {
on               3073 drivers/tty/rocket.c static void sModemReset(CONTROLLER_T * CtlP, int chan, int on)
on               3088 drivers/tty/rocket.c 	if (!on)
on               3098 drivers/tty/rocket.c static void sPCIModemReset(CONTROLLER_T * CtlP, int chan, int on)
on               3103 drivers/tty/rocket.c 	if (!on)
on               2453 drivers/tty/serial/imx.c static void imx_uart_enable_wakeup(struct imx_port *sport, bool on)
on               2458 drivers/tty/serial/imx.c 	if (on) {
on               2468 drivers/tty/serial/imx.c 		if (on)
on                376 drivers/tty/serial/max310x.c static void max310x_power(struct uart_port *port, int on)
on                380 drivers/tty/serial/max310x.c 			    on ? 0 : MAX310X_MODE1_FORCESLEEP_BIT);
on                381 drivers/tty/serial/max310x.c 	if (on)
on                407 drivers/tty/serial/max310x.c static void max14830_power(struct uart_port *port, int on)
on                411 drivers/tty/serial/max310x.c 			    on ? 0 : MAX14830_BRGCFG_CLKDIS_BIT);
on                412 drivers/tty/serial/max310x.c 	if (on)
on                613 drivers/tty/serial/pch_uart.c static void pch_uart_hal_set_break(struct eg20t_port *priv, int on)
on                618 drivers/tty/serial/pch_uart.c 	if (on)
on                424 drivers/tty/serial/sc16is7xx.c static void sc16is7xx_power(struct uart_port *port, int on)
on                428 drivers/tty/serial/sc16is7xx.c 			      on ? 0 : SC16IS7XX_IER_SLEEP_BIT);
on               3219 drivers/tty/synclink.c static void dtr_rts(struct tty_port *port, int on)
on               3225 drivers/tty/synclink.c 	if (on)
on               3211 drivers/tty/synclink_gt.c static void dtr_rts(struct tty_port *port, int on)
on               3217 drivers/tty/synclink_gt.c 	if (on)
on               3236 drivers/tty/synclinkmp.c static void dtr_rts(struct tty_port *port, int on)
on               3242 drivers/tty/synclinkmp.c 	if (on)
on                157 drivers/tty/tty_io.c static int __tty_fasync(int fd, struct file *filp, int on);
on                158 drivers/tty/tty_io.c static int tty_fasync(int fd, struct file *filp, int on);
on                464 drivers/tty/tty_io.c static int hung_up_tty_fasync(int fd, struct file *file, int on)
on               2118 drivers/tty/tty_io.c static int __tty_fasync(int fd, struct file *filp, int on)
on               2127 drivers/tty/tty_io.c 	retval = fasync_helper(fd, filp, on, &tty->fasync);
on               2131 drivers/tty/tty_io.c 	if (on) {
on               2153 drivers/tty/tty_io.c static int tty_fasync(int fd, struct file *filp, int on)
on               2160 drivers/tty/tty_io.c 		retval = __tty_fasync(fd, filp, on);
on                660 drivers/tty/vt/vc_screen.c vcs_fasync(int fd, struct file *file, int on)
on                666 drivers/tty/vt/vc_screen.c 		if (!on)
on                673 drivers/tty/vt/vc_screen.c 	return fasync_helper(fd, file, on, &poll->fasync);
on                518 drivers/uio/uio.c static int uio_fasync(int fd, struct file *filep, int on)
on                523 drivers/uio/uio.c 	return fasync_helper(fd, filep, on, &idev->async_queue);
on                134 drivers/usb/cdns3/drd.c int cdns3_drd_switch_host(struct cdns3 *cdns, int on)
on                140 drivers/usb/cdns3/drd.c 	if (on) {
on                171 drivers/usb/cdns3/drd.c int cdns3_drd_switch_gadget(struct cdns3 *cdns, int on)
on                177 drivers/usb/cdns3/drd.c 	if (on) {
on                163 drivers/usb/cdns3/drd.h int cdns3_drd_switch_gadget(struct cdns3 *cdns, int on);
on                164 drivers/usb/cdns3/drd.h int cdns3_drd_switch_host(struct cdns3 *cdns, int on);
on                 31 drivers/usb/chipidea/ci_hdrc_imx.h int imx_usbmisc_hsic_set_clk(struct imx_usbmisc_data *data, bool on);
on                456 drivers/usb/chipidea/otg_fsm.c static void ci_otg_drv_vbus(struct otg_fsm *fsm, int on)
on                461 drivers/usb/chipidea/otg_fsm.c 	if (on) {
on                491 drivers/usb/chipidea/otg_fsm.c static void ci_otg_loc_conn(struct otg_fsm *fsm, int on)
on                495 drivers/usb/chipidea/otg_fsm.c 	if (on)
on                510 drivers/usb/chipidea/otg_fsm.c static void ci_otg_loc_sof(struct otg_fsm *fsm, int on)
on                521 drivers/usb/chipidea/otg_fsm.c 	if (on) {
on                544 drivers/usb/chipidea/otg_fsm.c static int ci_otg_start_host(struct otg_fsm *fsm, int on)
on                548 drivers/usb/chipidea/otg_fsm.c 	if (on) {
on                558 drivers/usb/chipidea/otg_fsm.c static int ci_otg_start_gadget(struct otg_fsm *fsm, int on)
on                562 drivers/usb/chipidea/otg_fsm.c 	if (on)
on                461 drivers/usb/chipidea/usbmisc_imx.c static int usbmisc_imx6_hsic_set_clk(struct imx_usbmisc_data *data, bool on)
on                477 drivers/usb/chipidea/usbmisc_imx.c 	if (on)
on                712 drivers/usb/chipidea/usbmisc_imx.c int imx_usbmisc_hsic_set_clk(struct imx_usbmisc_data *data, bool on)
on                722 drivers/usb/chipidea/usbmisc_imx.c 	return usbmisc->ops->hsic_set_clk(data, on);
on                898 drivers/usb/class/cdc-wdm.c static int wdm_manage_power(struct usb_interface *intf, int on)
on                903 drivers/usb/class/cdc-wdm.c 	intf->needs_remote_wakeup = on;
on               2162 drivers/usb/class/usbtmc.c static int usbtmc_fasync(int fd, struct file *file, int on)
on               2166 drivers/usb/class/usbtmc.c 	return fasync_helper(fd, file, on, &file_data->data->fasync);
on               1174 drivers/usb/gadget/legacy/inode.c ep0_fasync (int f, struct file *fd, int on)
on               1178 drivers/usb/gadget/legacy/inode.c 	VDEBUG (dev, "%s %s\n", __func__, on ? "on" : "off");
on               1179 drivers/usb/gadget/legacy/inode.c 	return fasync_helper (f, fd, on, &dev->fasync);
on                309 drivers/usb/gadget/udc/aspeed-vhub/dev.c static int ast_vhub_udc_pullup(struct usb_gadget* gadget, int on)
on                316 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	DDBG(d, "pullup(%d)\n", on);
on                319 drivers/usb/gadget/udc/aspeed-vhub/dev.c 	ast_vhub_device_connect(d->vhub, d->index, on);
on                474 drivers/usb/gadget/udc/aspeed-vhub/hub.c 			     unsigned int port, bool on)
on                476 drivers/usb/gadget/udc/aspeed-vhub/hub.c 	if (on)
on                527 drivers/usb/gadget/udc/aspeed-vhub/vhub.h 			     bool on);
on               1426 drivers/usb/gadget/udc/pxa27x_udc.c static void dplus_pullup(struct pxa_udc *udc, int on)
on               1429 drivers/usb/gadget/udc/pxa27x_udc.c 		gpiod_set_value(udc->gpiod, on);
on               1431 drivers/usb/gadget/udc/pxa27x_udc.c 		if (on)
on               1436 drivers/usb/gadget/udc/pxa27x_udc.c 	udc->pullup_on = on;
on                 39 drivers/usb/host/fhci-hub.c static void fhci_gpio_set_value(struct fhci_hcd *fhci, int gpio_nr, bool on)
on                 47 drivers/usb/host/fhci-hub.c 	gpio_set_value(gpio, on ^ alow);
on                 87 drivers/usb/host/ohci-da8xx.c static int ohci_da8xx_set_power(struct usb_hcd *hcd, int on)
on                 96 drivers/usb/host/ohci-da8xx.c 	if (on) {
on                 78 drivers/usb/host/ohci-omap.c static void omap_ohci_clock_power(int on)
on                 80 drivers/usb/host/ohci-omap.c 	if (on) {
on                 95 drivers/usb/host/ohci-omap.c static int omap_ohci_transceiver_power(int on)
on                 97 drivers/usb/host/ohci-omap.c 	if (on) {
on                120 drivers/usb/host/ohci-omap.c static int omap_1510_local_bus_power(int on)
on                122 drivers/usb/host/ohci-omap.c 	if (on) {
on                191 drivers/usb/host/pci-quirks.c void sb800_prefetch(struct device *dev, int on)
on                197 drivers/usb/host/pci-quirks.c 	if (on == 0)
on                 18 drivers/usb/host/pci-quirks.h void sb800_prefetch(struct device *dev, int on);
on                 27 drivers/usb/host/pci-quirks.h static inline void sb800_prefetch(struct device *dev, int on) {}
on                569 drivers/usb/host/xhci-hub.c 				u16 index, bool on, unsigned long *flags)
on                580 drivers/usb/host/xhci-hub.c 		 hcd->self.busnum, index + 1, on ? "ON" : "OFF", temp);
on                584 drivers/usb/host/xhci-hub.c 	if (on) {
on                598 drivers/usb/host/xhci-hub.c 			index, on);
on                344 drivers/usb/misc/yurex.c static int yurex_fasync(int fd, struct file *file, int on)
on                349 drivers/usb/misc/yurex.c 	return fasync_helper(fd, file, on, &dev->async_queue);
on                178 drivers/usb/musb/musb_core.h 	void	(*set_vbus)(struct musb *musb, int on);
on                 31 drivers/usb/phy/phy-am335x-control.c static void am335x_phy_wkup(struct  phy_control *phy_ctrl, u32 id, bool on)
on                 54 drivers/usb/phy/phy-am335x-control.c 	if (on)
on                 64 drivers/usb/phy/phy-am335x-control.c 				enum usb_dr_mode dr_mode, bool on)
on                 85 drivers/usb/phy/phy-am335x-control.c 	if (on) {
on                105 drivers/usb/phy/phy-am335x-control.c 	if (on)
on                  7 drivers/usb/phy/phy-am335x-control.h 			enum usb_dr_mode dr_mode, bool on);
on                  8 drivers/usb/phy/phy-am335x-control.h 	void (*phy_wkup)(struct phy_control *phy_ctrl, u32 id, bool on);
on                 12 drivers/usb/phy/phy-am335x-control.h 				enum usb_dr_mode dr_mode, bool on)
on                 14 drivers/usb/phy/phy-am335x-control.h 	phy_ctrl->phy_power(phy_ctrl, id, dr_mode, on);
on                 17 drivers/usb/phy/phy-am335x-control.h static inline void phy_ctrl_wkup(struct phy_control *phy_ctrl, u32 id, bool on)
on                 19 drivers/usb/phy/phy-am335x-control.h 	phy_ctrl->phy_wkup(phy_ctrl, id, on);
on                117 drivers/usb/phy/phy-fsl-usb.c void fsl_otg_chrg_vbus(struct otg_fsm *fsm, int on)
on                123 drivers/usb/phy/phy-fsl-usb.c 	if (on)
on                135 drivers/usb/phy/phy-fsl-usb.c void fsl_otg_dischrg_vbus(int on)
on                141 drivers/usb/phy/phy-fsl-usb.c 	if (on)
on                153 drivers/usb/phy/phy-fsl-usb.c void fsl_otg_drv_vbus(struct otg_fsm *fsm, int on)
on                157 drivers/usb/phy/phy-fsl-usb.c 	if (on) {
on                171 drivers/usb/phy/phy-fsl-usb.c void fsl_otg_loc_conn(struct otg_fsm *fsm, int on)
on                177 drivers/usb/phy/phy-fsl-usb.c 	if (on)
on                190 drivers/usb/phy/phy-fsl-usb.c void fsl_otg_loc_sof(struct otg_fsm *fsm, int on)
on                195 drivers/usb/phy/phy-fsl-usb.c 	if (on)
on                457 drivers/usb/phy/phy-fsl-usb.c int fsl_otg_start_host(struct otg_fsm *fsm, int on)
on                475 drivers/usb/phy/phy-fsl-usb.c 	if (on) {
on                524 drivers/usb/phy/phy-fsl-usb.c int fsl_otg_start_gadget(struct otg_fsm *fsm, int on)
on                532 drivers/usb/phy/phy-fsl-usb.c 	VDBG("gadget %s\n", on ? "on" : "off");
on                535 drivers/usb/phy/phy-fsl-usb.c 	if (on) {
on                 83 drivers/usb/phy/phy-isp1301.c static int isp1301_phy_set_vbus(struct usb_phy *phy, int on)
on                 87 drivers/usb/phy/phy-isp1301.c 	if (on)
on                 51 drivers/usb/phy/phy-mv-usb.c static int mv_otg_set_vbus(struct usb_otg *otg, bool on)
on                 57 drivers/usb/phy/phy-mv-usb.c 	return mvotg->pdata->set_vbus(on);
on                193 drivers/usb/phy/phy-mv-usb.c static void mv_otg_start_host(struct mv_otg *mvotg, int on)
on                202 drivers/usb/phy/phy-mv-usb.c 	dev_info(&mvotg->pdev->dev, "%s host\n", on ? "start" : "stop");
on                206 drivers/usb/phy/phy-mv-usb.c 	if (on) {
on                215 drivers/usb/phy/phy-mv-usb.c static void mv_otg_start_periphrals(struct mv_otg *mvotg, int on)
on                222 drivers/usb/phy/phy-mv-usb.c 	dev_info(mvotg->phy.dev, "gadget %s\n", on ? "on" : "off");
on                224 drivers/usb/phy/phy-mv-usb.c 	if (on)
on                401 drivers/usb/phy/phy-mxs-usb.c static void mxs_phy_disconnect_line(struct mxs_phy *mxs_phy, bool on)
on                415 drivers/usb/phy/phy-mxs-usb.c 	if (on && !vbus_is_on && !mxs_phy_is_otg_host(mxs_phy))
on                821 drivers/usb/phy/phy-mxs-usb.c static void mxs_phy_enable_ldo_in_suspend(struct mxs_phy *mxs_phy, bool on)
on                823 drivers/usb/phy/phy-mxs-usb.c 	unsigned int reg = on ? ANADIG_ANA_MISC0_SET : ANADIG_ANA_MISC0_CLR;
on                225 drivers/usb/phy/phy-ulpi.c static int ulpi_set_vbus(struct usb_otg *otg, bool on)
on                232 drivers/usb/phy/phy-ulpi.c 	if (on) {
on                347 drivers/usb/serial/ch341.c static void ch341_dtr_rts(struct usb_serial_port *port, int on)
on                354 drivers/usb/serial/ch341.c 	if (on)
on                 52 drivers/usb/serial/cp210x.c static void cp210x_dtr_rts(struct usb_serial_port *p, int on);
on               1309 drivers/usb/serial/cp210x.c static void cp210x_dtr_rts(struct usb_serial_port *p, int on)
on               1311 drivers/usb/serial/cp210x.c 	if (on)
on                119 drivers/usb/serial/cypress_m8.c static void cypress_dtr_rts(struct usb_serial_port *port, int on);
on                623 drivers/usb/serial/cypress_m8.c static void cypress_dtr_rts(struct usb_serial_port *port, int on)
on                628 drivers/usb/serial/cypress_m8.c 	if (on == 0)
on                232 drivers/usb/serial/digi_acceleport.c static void digi_dtr_rts(struct usb_serial_port *port, int on);
on               1083 drivers/usb/serial/digi_acceleport.c static void digi_dtr_rts(struct usb_serial_port *port, int on)
on               1086 drivers/usb/serial/digi_acceleport.c 	digi_set_modem_signals(port, on * (TIOCM_DTR | TIOCM_RTS), 1);
on                673 drivers/usb/serial/f81232.c static void f81232_dtr_rts(struct usb_serial_port *port, int on)
on                675 drivers/usb/serial/f81232.c 	if (on)
on               1479 drivers/usb/serial/f81534.c static void f81534_dtr_rts(struct usb_serial_port *port, int on)
on               1481 drivers/usb/serial/f81534.c 	if (on)
on               1068 drivers/usb/serial/ftdi_sio.c static void ftdi_dtr_rts(struct usb_serial_port *port, int on);
on               2417 drivers/usb/serial/ftdi_sio.c static void ftdi_dtr_rts(struct usb_serial_port *port, int on)
on               2422 drivers/usb/serial/ftdi_sio.c 	if (!on) {
on               2433 drivers/usb/serial/ftdi_sio.c 	if (on)
on               1509 drivers/usb/serial/io_ti.c static int ti_do_config(struct edgeport_port *port, int feature, int on)
on               1513 drivers/usb/serial/io_ti.c 	on = !!on;	/* 1 or 0 not bitmask */
on               1516 drivers/usb/serial/io_ti.c 			on, NULL, 0);
on                218 drivers/usb/serial/ipw.c static void ipw_dtr_rts(struct usb_serial_port *port, int on)
on                224 drivers/usb/serial/ipw.c 	dev_dbg(dev, "%s: on = %d\n", __func__, on);
on                229 drivers/usb/serial/ipw.c 			 on ? IPW_PIN_SETDTR : IPW_PIN_CLRDTR,
on                240 drivers/usb/serial/ipw.c 			 on ? IPW_PIN_SETRTS : IPW_PIN_CLRRTS,
on                 47 drivers/usb/serial/keyspan.c static void keyspan_dtr_rts(struct usb_serial_port *port, int on);
on               1586 drivers/usb/serial/keyspan.c static void keyspan_dtr_rts(struct usb_serial_port *port, int on)
on               1590 drivers/usb/serial/keyspan.c 	p_priv->rts_state = on;
on               1591 drivers/usb/serial/keyspan.c 	p_priv->dtr_state = on;
on                601 drivers/usb/serial/keyspan_pda.c static void keyspan_pda_dtr_rts(struct usb_serial_port *port, int on)
on                605 drivers/usb/serial/keyspan_pda.c 	if (on)
on                 45 drivers/usb/serial/mct_u232.c static void mct_u232_dtr_rts(struct usb_serial_port *port, int on);
on                481 drivers/usb/serial/mct_u232.c static void mct_u232_dtr_rts(struct usb_serial_port *port, int on)
on                487 drivers/usb/serial/mct_u232.c 	if (on)
on                620 drivers/usb/serial/mxuport.c static int mxuport_set_dtr(struct usb_serial_port *port, int on)
on                629 drivers/usb/serial/mxuport.c 				    !!on, port->port_number);
on                631 drivers/usb/serial/mxuport.c 		if (on)
on                684 drivers/usb/serial/mxuport.c static void mxuport_dtr_rts(struct usb_serial_port *port, int on)
on                693 drivers/usb/serial/mxuport.c 	if (on)
on                736 drivers/usb/serial/pl2303.c static void pl2303_dtr_rts(struct usb_serial_port *port, int on)
on                743 drivers/usb/serial/pl2303.c 	if (on)
on                820 drivers/usb/serial/quatech2.c static void qt2_dtr_rts(struct usb_serial_port *port, int on)
on                826 drivers/usb/serial/quatech2.c 	if (!on) {
on                832 drivers/usb/serial/quatech2.c 	if (on)
on                837 drivers/usb/serial/sierra.c static void sierra_dtr_rts(struct usb_serial_port *port, int on)
on                842 drivers/usb/serial/sierra.c 	portdata->rts_state = on;
on                843 drivers/usb/serial/sierra.c 	portdata->dtr_state = on;
on                264 drivers/usb/serial/spcp8x5.c static void spcp8x5_dtr_rts(struct usb_serial_port *port, int on)
on                271 drivers/usb/serial/spcp8x5.c 	if (on)
on                419 drivers/usb/serial/ssu100.c static void ssu100_dtr_rts(struct usb_serial_port *port, int on)
on                424 drivers/usb/serial/ssu100.c 	if (!on) {
on                429 drivers/usb/serial/ssu100.c 	if (on)
on                271 drivers/usb/serial/upd78f0730.c static void upd78f0730_dtr_rts(struct usb_serial_port *port, int on)
on                277 drivers/usb/serial/upd78f0730.c 	if (on)
on                683 drivers/usb/serial/usb-serial.c static void serial_port_dtr_rts(struct tty_port *port, int on)
on                689 drivers/usb/serial/usb-serial.c 		drv->dtr_rts(p, on);
on                  9 drivers/usb/serial/usb-wwan.h extern void usb_wwan_dtr_rts(struct usb_serial_port *port, int on);
on                 70 drivers/usb/serial/usb_wwan.c void usb_wwan_dtr_rts(struct usb_serial_port *port, int on)
on                 82 drivers/usb/serial/usb_wwan.c 	portdata->rts_state = on;
on                 83 drivers/usb/serial/usb_wwan.c 	portdata->dtr_state = on;
on                723 drivers/usb/typec/tcpm/fusb302.c static int tcpm_set_vconn(struct tcpc_dev *dev, bool on)
on                733 drivers/usb/typec/tcpm/fusb302.c 	if (chip->vconn_on == on) {
on                734 drivers/usb/typec/tcpm/fusb302.c 		fusb302_log(chip, "vconn is already %s", on ? "On" : "Off");
on                737 drivers/usb/typec/tcpm/fusb302.c 	if (on) {
on                746 drivers/usb/typec/tcpm/fusb302.c 	chip->vconn_on = on;
on                747 drivers/usb/typec/tcpm/fusb302.c 	fusb302_log(chip, "vconn := %s", on ? "On" : "Off");
on                754 drivers/usb/typec/tcpm/fusb302.c static int tcpm_set_vbus(struct tcpc_dev *dev, bool on, bool charge)
on                761 drivers/usb/typec/tcpm/fusb302.c 	if (chip->vbus_on == on) {
on                762 drivers/usb/typec/tcpm/fusb302.c 		fusb302_log(chip, "vbus is already %s", on ? "On" : "Off");
on                764 drivers/usb/typec/tcpm/fusb302.c 		if (on)
on                770 drivers/usb/typec/tcpm/fusb302.c 				    on ? "enable" : "disable", ret);
on                773 drivers/usb/typec/tcpm/fusb302.c 		chip->vbus_on = on;
on                774 drivers/usb/typec/tcpm/fusb302.c 		fusb302_log(chip, "vbus := %s", on ? "On" : "Off");
on                800 drivers/usb/typec/tcpm/fusb302.c static int fusb302_pd_set_auto_goodcrc(struct fusb302_chip *chip, bool on)
on                802 drivers/usb/typec/tcpm/fusb302.c 	if (on)
on                809 drivers/usb/typec/tcpm/fusb302.c static int fusb302_pd_set_interrupts(struct fusb302_chip *chip, bool on)
on                819 drivers/usb/typec/tcpm/fusb302.c 	ret = on ?
on                824 drivers/usb/typec/tcpm/fusb302.c 	ret = on ?
on                829 drivers/usb/typec/tcpm/fusb302.c 	ret = on ?
on                835 drivers/usb/typec/tcpm/fusb302.c static int tcpm_set_pd_rx(struct tcpc_dev *dev, bool on)
on                852 drivers/usb/typec/tcpm/fusb302.c 	ret = fusb302_pd_set_auto_goodcrc(chip, on);
on                855 drivers/usb/typec/tcpm/fusb302.c 			    on ? "on" : "off", ret);
on                858 drivers/usb/typec/tcpm/fusb302.c 	ret = fusb302_pd_set_interrupts(chip, on);
on                861 drivers/usb/typec/tcpm/fusb302.c 			    on ? "on" : "off", ret);
on                864 drivers/usb/typec/tcpm/fusb302.c 	fusb302_log(chip, "pd := %s", on ? "on" : "off");
on                232 drivers/usb/typec/tcpm/wcove.c static int wcove_set_vbus(struct tcpc_dev *tcpc, bool on, bool sink)
on                236 drivers/usb/typec/tcpm/wcove.c 	return wcove_typec_func(wcove, WCOVE_FUNC_DRIVE_VBUS, on);
on                239 drivers/usb/typec/tcpm/wcove.c static int wcove_set_vconn(struct tcpc_dev *tcpc, bool on)
on                243 drivers/usb/typec/tcpm/wcove.c 	return wcove_typec_func(wcove, WCOVE_FUNC_DRIVE_VCONN, on);
on                349 drivers/usb/typec/tcpm/wcove.c static int wcove_set_pd_rx(struct tcpc_dev *tcpc, bool on)
on                354 drivers/usb/typec/tcpm/wcove.c 			    on ? USBC_PDCFG2_SOP : 0);
on                 38 drivers/video/backlight/88pm860x_bl.c 		int on)
on                 44 drivers/video/backlight/88pm860x_bl.c 		ret = on ? pm8606_osc_enable(chip, WLED1_DUTY) :
on                 48 drivers/video/backlight/88pm860x_bl.c 		ret = on ? pm8606_osc_enable(chip, WLED2_DUTY) :
on                 52 drivers/video/backlight/88pm860x_bl.c 		ret = on ? pm8606_osc_enable(chip, WLED3_DUTY) :
on                 83 drivers/video/backlight/locomolcd.c void locomolcd_power(int on)
on                101 drivers/video/backlight/locomolcd.c 	if (on)
on                221 drivers/video/fbdev/atmel_lcdfb.c static inline void atmel_lcdfb_power_control(struct atmel_lcdfb_info *sinfo, int on)
on                227 drivers/video/fbdev/atmel_lcdfb.c 		pdata->atmel_lcdfb_power_control(pdata, on);
on                229 drivers/video/fbdev/atmel_lcdfb.c 		if (on) {
on                932 drivers/video/fbdev/atmel_lcdfb.c static void atmel_lcdfb_power_control_gpio(struct atmel_lcdfb_pdata *pdata, int on)
on                937 drivers/video/fbdev/atmel_lcdfb.c 		gpiod_set_value(og->gpiod, on);
on               1286 drivers/video/fbdev/aty/aty128fb.c static void aty128_set_crt_enable(struct aty128fb_par *par, int on)
on               1288 drivers/video/fbdev/aty/aty128fb.c 	if (on) {
on               1298 drivers/video/fbdev/aty/aty128fb.c static void aty128_set_lcd_enable(struct aty128fb_par *par, int on)
on               1305 drivers/video/fbdev/aty/aty128fb.c 	if (on) {
on                381 drivers/video/fbdev/cirrusfb.c static void switch_monitor(struct cirrusfb_info *cinfo, int on);
on               1668 drivers/video/fbdev/cirrusfb.c static void switch_monitor(struct cirrusfb_info *cinfo, int on)
on               1680 drivers/video/fbdev/cirrusfb.c 		if ((on && !IsOn) || (!on && IsOn))
on               1684 drivers/video/fbdev/cirrusfb.c 	if (on) {
on               1159 drivers/video/fbdev/imsttfb.c imstt_set_cursor(struct imstt_par *par, struct fb_image *d, int on)
on               1163 drivers/video/fbdev/imsttfb.c 		if (!on) {
on               1179 drivers/video/fbdev/imsttfb.c 		if (!on) {
on                158 drivers/video/fbdev/mmp/hw/mmp_ctrl.c static void dmafetch_onoff(struct mmp_overlay *overlay, int on)
on                169 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	tmp |= (on ? enable : 0);
on                174 drivers/video/fbdev/mmp/hw/mmp_ctrl.c static void path_enabledisable(struct mmp_path *path, int on)
on                179 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	if (on)
on                187 drivers/video/fbdev/mmp/hw/mmp_ctrl.c static void path_onoff(struct mmp_path *path, int on)
on                189 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	if (path->status == on) {
on                195 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	if (on) {
on                206 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	path->status = on;
on                209 drivers/video/fbdev/mmp/hw/mmp_ctrl.c static void overlay_set_onoff(struct mmp_overlay *overlay, int on)
on                211 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	if (overlay->status == on) {
on                216 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	overlay->status = on;
on                217 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 	dmafetch_onoff(overlay, on);
on                220 drivers/video/fbdev/mmp/hw/mmp_ctrl.c 		path_onoff(overlay->path, on);
on                419 drivers/video/fbdev/neofb.c static void vgaHWProtect(int on)
on                424 drivers/video/fbdev/neofb.c 	if (on) {
on                194 drivers/video/fbdev/nvidia/nvidia.c static void nvidia_screen_off(struct nvidia_par *par, int on)
on                198 drivers/video/fbdev/nvidia/nvidia.c 	if (on) {
on                170 drivers/video/fbdev/omap/lcd_mipid.c static void set_sleep_mode(struct mipid_device *md, int on)
on                174 drivers/video/fbdev/omap/lcd_mipid.c 	if (on)
on                187 drivers/video/fbdev/omap/lcd_mipid.c 	if (!on)
on                188 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c static void set_sleep_mode(struct panel_drv_data *ddata, int on)
on                192 drivers/video/fbdev/omap2/omapfb/displays/panel-sony-acx565akm.c 	if (on)
on               1413 drivers/video/fbdev/pxafb.c static inline void __pxafb_backlight_power(struct pxafb_info *fbi, int on)
on               1415 drivers/video/fbdev/pxafb.c 	pr_debug("pxafb: backlight o%s\n", on ? "n" : "ff");
on               1418 drivers/video/fbdev/pxafb.c 		fbi->backlight_power(on);
on               1421 drivers/video/fbdev/pxafb.c static inline void __pxafb_lcd_power(struct pxafb_info *fbi, int on)
on               1423 drivers/video/fbdev/pxafb.c 	pr_debug("pxafb: LCD power o%s\n", on ? "n" : "ff");
on               1426 drivers/video/fbdev/pxafb.c 		fbi->lcd_power(on, &fbi->fb.var);
on               1428 drivers/video/fbdev/pxafb.c 	if (fbi->lcd_supply && fbi->lcd_supply_enabled != on) {
on               1431 drivers/video/fbdev/pxafb.c 		if (on)
on               1438 drivers/video/fbdev/pxafb.c 				on ? "enable" : "disable", ret);
on               1440 drivers/video/fbdev/pxafb.c 			fbi->lcd_supply_enabled = on;
on                721 drivers/video/fbdev/sa1100fb.c static inline void __sa1100fb_backlight_power(struct sa1100fb_info *fbi, int on)
on                723 drivers/video/fbdev/sa1100fb.c 	dev_dbg(fbi->dev, "backlight o%s\n", on ? "n" : "ff");
on                726 drivers/video/fbdev/sa1100fb.c 		fbi->inf->backlight_power(on);
on                729 drivers/video/fbdev/sa1100fb.c static inline void __sa1100fb_lcd_power(struct sa1100fb_info *fbi, int on)
on                731 drivers/video/fbdev/sa1100fb.c 	dev_dbg(fbi->dev, "LCD power o%s\n", on ? "n" : "ff");
on                734 drivers/video/fbdev/sa1100fb.c 		fbi->inf->lcd_power(on);
on                 89 drivers/video/fbdev/savage/savagefb_driver.c static void vgaHWProtect(struct savagefb_par *par, int on)
on                 93 drivers/video/fbdev/savage/savagefb_driver.c 	if (on) {
on                486 drivers/vlynq/vlynq.c 	result = ops->on(dev);
on                 72 drivers/watchdog/rave-sp-wdt.c static int rave_sp_wdt_legacy_configure(struct watchdog_device *wdd, bool on)
on                 78 drivers/watchdog/rave-sp-wdt.c 		[3] = on,
on                 79 drivers/watchdog/rave-sp-wdt.c 		[4] = on ? wdd->timeout : 0,
on                 85 drivers/watchdog/rave-sp-wdt.c static int rave_sp_wdt_rdu_configure(struct watchdog_device *wdd, bool on)
on                 90 drivers/watchdog/rave-sp-wdt.c 		[2] = on,
on                112 drivers/watchdog/rave-sp-wdt.c static int rave_sp_wdt_configure(struct watchdog_device *wdd, bool on)
on                114 drivers/watchdog/rave-sp-wdt.c 	return to_rave_sp_wdt(wdd)->variant->configure(wdd, on);
on                637 drivers/xen/evtchn.c static int evtchn_fasync(int fd, struct file *filp, int on)
on                640 drivers/xen/evtchn.c 	return fasync_helper(fd, filp, on, &u->evtchn_async_queue);
on                978 fs/fcntl.c     int fasync_helper(int fd, struct file * filp, int on, struct fasync_struct **fapp)
on                980 fs/fcntl.c     	if (!on)
on               2189 fs/fuse/dev.c  static int fuse_dev_fasync(int fd, struct file *file, int on)
on               2197 fs/fuse/dev.c  	return fasync_helper(fd, file, on, &fud->fc->iq.fasync);
on               3671 fs/io_uring.c  static int io_uring_fasync(int fd, struct file *file, int on)
on               3675 fs/io_uring.c  	return fasync_helper(fd, file, on, &ctx->cq_fasync);
on                516 fs/ioctl.c     	int on, error;
on                518 fs/ioctl.c     	error = get_user(on, argp);
on                528 fs/ioctl.c     	if (on)
on                540 fs/ioctl.c     	int on, error;
on                542 fs/ioctl.c     	error = get_user(on, argp);
on                545 fs/ioctl.c     	flag = on ? FASYNC : 0;
on                551 fs/ioctl.c     			error = filp->f_op->fasync(fd, filp, on);
on                545 fs/kernfs/file.c 	struct kernfs_open_node *on, *new_on = NULL;
on                556 fs/kernfs/file.c 	on = kn->attr.open;
on                557 fs/kernfs/file.c 	if (on) {
on                558 fs/kernfs/file.c 		atomic_inc(&on->refcnt);
on                559 fs/kernfs/file.c 		list_add_tail(&of->list, &on->files);
on                565 fs/kernfs/file.c 	if (on) {
on                596 fs/kernfs/file.c 	struct kernfs_open_node *on = kn->attr.open;
on                605 fs/kernfs/file.c 	if (atomic_dec_and_test(&on->refcnt))
on                608 fs/kernfs/file.c 		on = NULL;
on                613 fs/kernfs/file.c 	kfree(on);
on                789 fs/kernfs/file.c 	struct kernfs_open_node *on;
on                796 fs/kernfs/file.c 	on = kn->attr.open;
on                797 fs/kernfs/file.c 	if (on)
on                798 fs/kernfs/file.c 		atomic_inc(&on->refcnt);
on                800 fs/kernfs/file.c 	if (!on)
on                805 fs/kernfs/file.c 	list_for_each_entry(of, &on->files, list) {
on                837 fs/kernfs/file.c 	struct kernfs_open_node *on = kn->attr.open;
on                839 fs/kernfs/file.c 	poll_wait(of->file, &on->poll, wait);
on                841 fs/kernfs/file.c 	if (of->event != atomic_read(&on->event))
on                935 fs/kernfs/file.c 	struct kernfs_open_node *on;
on                942 fs/kernfs/file.c 	on = kn->attr.open;
on                943 fs/kernfs/file.c 	if (on) {
on                944 fs/kernfs/file.c 		atomic_inc(&on->event);
on                945 fs/kernfs/file.c 		wake_up_interruptible(&on->poll);
on                143 fs/notify/group.c int fsnotify_fasync(int fd, struct file *file, int on)
on                147 fs/notify/group.c 	return fasync_helper(fd, file, on, &group->fsn_fa) >= 0 ? 0 : -EIO;
on                608 fs/pipe.c      pipe_fasync(int fd, struct file *filp, int on)
on                615 fs/pipe.c      		retval = fasync_helper(fd, filp, on, &pipe->fasync_readers);
on                617 fs/pipe.c      		retval = fasync_helper(fd, filp, on, &pipe->fasync_writers);
on                 63 fs/pstore/ftrace.c 	u8 on;
on                 66 fs/pstore/ftrace.c 	ret = kstrtou8_from_user(buf, count, 2, &on);
on                 72 fs/pstore/ftrace.c 	if (!on ^ pstore_ftrace_enabled)
on                 75 fs/pstore/ftrace.c 	if (on) {
on                 84 fs/pstore/ftrace.c 		       __func__, on ? "" : "un", ret);
on                 88 fs/pstore/ftrace.c 	pstore_ftrace_enabled = on;
on                479 include/linux/bcma/bcma.h 			      bool on);
on                194 include/linux/fsl/ptp_qoriq.h 		     struct ptp_clock_request *rq, int on);
on                136 include/linux/fsl_devices.h 	void	(*cs_control)(struct spi_device *spi, bool on);
on                405 include/linux/fsnotify_backend.h extern int fsnotify_fasync(int fd, struct file *file, int on);
on                 19 include/linux/gpio-pxa.h 	int (*gpio_set_wake)(unsigned int gpio, unsigned int on);
on                293 include/linux/hp_sdc.h #error No support for device registration on this arch yet.
on               1480 include/linux/ide.h extern void ide_acpi_set_state(ide_hwif_t *hwif, int on);
on               1489 include/linux/ide.h static inline void ide_acpi_set_state(ide_hwif_t *hwif, int on) {}
on                448 include/linux/interrupt.h extern int irq_set_irq_wake(unsigned int irq, unsigned int on);
on                484 include/linux/irq.h 	int		(*irq_set_wake)(struct irq_data *data, unsigned int on);
on                642 include/linux/irq.h extern int irq_chip_set_wake_parent(struct irq_data *data, unsigned int on);
on               1076 include/linux/irq.h int irq_gc_set_wake(struct irq_data *d, unsigned int on);
on                 94 include/linux/irqchip/arm-gic-v4.h int its_schedule_vpe(struct its_vpe *vpe, bool on);
on                123 include/linux/irqchip/irq-madera.h static inline int madera_set_irq_wake(struct madera *madera, int irq, int on)
on                129 include/linux/irqchip/irq-madera.h 	return irq_set_irq_wake(irq, on);
on                262 include/linux/kgdb.h 	void	(*enable_nmi)(bool on);
on                472 include/linux/leds.h extern void ledtrig_flash_ctrl(bool on);
on                473 include/linux/leds.h extern void ledtrig_torch_ctrl(bool on);
on                475 include/linux/leds.h static inline void ledtrig_flash_ctrl(bool on) {}
on                476 include/linux/leds.h static inline void ledtrig_torch_ctrl(bool on) {}
on                175 include/linux/mfd/arizona/core.h int arizona_set_irq_wake(struct arizona *arizona, int irq, int on);
on                 45 include/linux/mfd/pcf50633/gpio.h 					int gpio, int regulator, int on);
on                 44 include/linux/mfd/tc6393xb.h extern int tc6393xb_lcd_set_power(struct platform_device *fb, bool on);
on                126 include/linux/mfd/tmio.h 						 bool on);
on                626 include/linux/mfd/twl.h 	int		(*phy_power)(struct device *dev, int iD, int on);
on                628 include/linux/mfd/twl.h 	int		(*phy_set_clock)(struct device *dev, int on);
on                242 include/linux/mfd/twl6040.h int twl6040_power(struct twl6040 *twl6040, int on);
on                 26 include/linux/mmc/slot-gpio.h int mmc_gpio_set_cd_wake(struct mmc_host *host, bool on);
on                 69 include/linux/phy/omap_control_phy.h void omap_control_phy_power(struct device *dev, int on);
on                 75 include/linux/phy/omap_control_phy.h static inline void omap_control_phy_power(struct device *dev, int on)
on                 49 include/linux/platform_data/cyttsp4.h 		int on, struct device *dev);
on                 51 include/linux/platform_data/cyttsp4.h 		int on, struct device *dev, atomic_t *ignore_irq);
on                 17 include/linux/platform_data/mmc-davinci.h 	void	(*set_power)(int module, bool on);
on                 27 include/linux/platform_data/usb-ohci-s3c2410.h 	void		(*enable_oc)(struct s3c2410_hcd_info *, int on);
on                 79 include/linux/platform_data/usb-omap.h 	void	(*set_phy_power)(u8 on);
on                 38 include/linux/pmu.h extern void pmu_enable_irled(int on);
on                139 include/linux/ptp_clock_kernel.h 		      struct ptp_clock_request *request, int on);
on                158 include/linux/sm501.h 	int	(*set_power)(struct device *dev, unsigned int on);
on                 23 include/linux/spi/s3c24xx.h extern int s3c24xx_set_fiq(unsigned int irq, bool on);
on                669 include/linux/ssb/ssb_driver_chipcommon.h void ssb_pmu_set_ldo_paref(struct ssb_chipcommon *cc, bool on);
on               1009 include/linux/syscalls.h asmlinkage long sys_ioperm(unsigned long from, unsigned long num, int on);
on                203 include/linux/usb/otg-fsm.h 	void	(*chrg_vbus)(struct otg_fsm *fsm, int on);
on                204 include/linux/usb/otg-fsm.h 	void	(*drv_vbus)(struct otg_fsm *fsm, int on);
on                205 include/linux/usb/otg-fsm.h 	void	(*loc_conn)(struct otg_fsm *fsm, int on);
on                206 include/linux/usb/otg-fsm.h 	void	(*loc_sof)(struct otg_fsm *fsm, int on);
on                212 include/linux/usb/otg-fsm.h 	int	(*start_host)(struct otg_fsm *fsm, int on);
on                213 include/linux/usb/otg-fsm.h 	int	(*start_gadget)(struct otg_fsm *fsm, int on);
on                217 include/linux/usb/otg-fsm.h static inline int otg_chrg_vbus(struct otg_fsm *fsm, int on)
on                221 include/linux/usb/otg-fsm.h 	fsm->ops->chrg_vbus(fsm, on);
on                225 include/linux/usb/otg-fsm.h static inline int otg_drv_vbus(struct otg_fsm *fsm, int on)
on                229 include/linux/usb/otg-fsm.h 	if (fsm->drv_vbus != on) {
on                230 include/linux/usb/otg-fsm.h 		fsm->drv_vbus = on;
on                231 include/linux/usb/otg-fsm.h 		fsm->ops->drv_vbus(fsm, on);
on                236 include/linux/usb/otg-fsm.h static inline int otg_loc_conn(struct otg_fsm *fsm, int on)
on                240 include/linux/usb/otg-fsm.h 	if (fsm->loc_conn != on) {
on                241 include/linux/usb/otg-fsm.h 		fsm->loc_conn = on;
on                242 include/linux/usb/otg-fsm.h 		fsm->ops->loc_conn(fsm, on);
on                247 include/linux/usb/otg-fsm.h static inline int otg_loc_sof(struct otg_fsm *fsm, int on)
on                251 include/linux/usb/otg-fsm.h 	if (fsm->loc_sof != on) {
on                252 include/linux/usb/otg-fsm.h 		fsm->loc_sof = on;
on                253 include/linux/usb/otg-fsm.h 		fsm->ops->loc_sof(fsm, on);
on                308 include/linux/usb/otg-fsm.h static inline int otg_start_host(struct otg_fsm *fsm, int on)
on                312 include/linux/usb/otg-fsm.h 	return fsm->ops->start_host(fsm, on);
on                315 include/linux/usb/otg-fsm.h static inline int otg_start_gadget(struct otg_fsm *fsm, int on)
on                319 include/linux/usb/otg-fsm.h 	return fsm->ops->start_gadget(fsm, on);
on                130 include/linux/usb/phy.h 	int	(*set_vbus)(struct usb_phy *x, int on);
on                300 include/linux/usb/serial.h 	void (*dtr_rts)(struct usb_serial_port *port, int on);
on                135 include/linux/usb/tcpm.h 	int (*set_vconn)(struct tcpc_dev *dev, bool on);
on                136 include/linux/usb/tcpm.h 	int (*set_vbus)(struct tcpc_dev *dev, bool on, bool charge);
on                138 include/linux/usb/tcpm.h 	int (*set_pd_rx)(struct tcpc_dev *dev, bool on);
on                 73 include/linux/vlynq.h 	int (*on)(struct vlynq_device *dev);
on                 86 include/media/i2c/adp1653.h 	int (*power)(struct v4l2_subdev *sd, int on);
on                 26 include/media/i2c/m5mols.h 	int (*set_power)(struct device *dev, int on);
on                 14 include/media/i2c/sr030pc30.h 	int (*set_power)(struct device *dev, int on);
on                358 include/media/soc_camera.h 		struct soc_camera_subdev_desc *ssdd, struct v4l2_clk *clk, bool on)
on                360 include/media/soc_camera.h 	return on ? soc_camera_power_on(dev, ssdd, clk)
on                205 include/media/v4l2-subdev.h 	int (*s_power)(struct v4l2_subdev *sd, int on);
on                 48 include/net/caif/caif_device.h 	void (*flowctrl)(struct net_device *net, int on);
on                738 include/net/ip.h int ip_ra_control(struct sock *sk, unsigned char on,
on                223 include/net/mac802154.h 	int		(*set_lbt)(struct ieee802154_hw *hw, bool on);
on                232 include/net/mac802154.h 						const bool on);
on                168 include/net/nfc/digital.h 	int (*switch_rf)(struct nfc_digital_dev *ddev, bool on);
on                153 include/net/sctp/ulpevent.h 					  __u16 sn_type, __u8 on)
on                158 include/net/sctp/ulpevent.h 	if (on)
on                 49 include/rdma/rdma_counter.h 			       bool on, enum rdma_nl_counter_mask mask);
on                  9 include/soc/sa1100/pwer.h int sa11x0_gpio_set_wake(unsigned int gpio, unsigned int on);
on                 10 include/soc/sa1100/pwer.h int sa11x0_sc_set_wake(unsigned int irq, unsigned int on);
on                119 include/sound/hda_codec.h 	void (*stream_pm)(struct hda_codec *codec, hda_nid_t nid, bool on);
on                 32 include/sound/seq_midi_event.h void snd_midi_event_no_status(struct snd_midi_event *dev, int on);
on                 16 include/sound/wavefront.h      the case on the original platform, MS-DOS). If this is not done,
on                 31 include/video/atmel_lcdc.h 	void (*atmel_lcdfb_power_control)(struct atmel_lcdfb_pdata *pdata, int on);
on               5921 kernel/events/core.c static int perf_fasync(int fd, struct file *filp, int on)
on               5928 kernel/events/core.c 	retval = fasync_helper(fd, filp, on, &event->fasync);
on               1459 kernel/irq/chip.c int irq_chip_set_wake_parent(struct irq_data *data, unsigned int on)
on               1467 kernel/irq/chip.c 		return data->chip->irq_set_wake(data, on);
on                187 kernel/irq/generic-chip.c int irq_gc_set_wake(struct irq_data *d, unsigned int on)
on                196 kernel/irq/generic-chip.c 	if (on)
on                663 kernel/irq/manage.c static int set_irq_wake_real(unsigned int irq, unsigned int on)
on                672 kernel/irq/manage.c 		ret = desc->irq_data.chip->irq_set_wake(&desc->irq_data, on);
on                689 kernel/irq/manage.c int irq_set_irq_wake(unsigned int irq, unsigned int on)
on                707 kernel/irq/manage.c 	if (on) {
on                709 kernel/irq/manage.c 			ret = set_irq_wake_real(irq, on);
on                719 kernel/irq/manage.c 			ret = set_irq_wake_real(irq, on);
on                283 kernel/trace/trace_functions.c 				 struct trace_array *tr, bool on,
on                328 kernel/trace/trace_functions.c 	if (on == !!tracer_tracing_is_on(tr))
on                331 kernel/trace/trace_functions.c 	if (on)
on                206 net/bridge/br.c int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on,
on                211 net/bridge/br.c 		br_opt_toggle(br, BROPT_NO_LL_LEARN, on);
on                245 net/bridge/br.c 		bool on = !!(bm->optval & BIT(opt_id));
on                247 net/bridge/br.c 		err = br_boolopt_toggle(br, opt_id, on, extack);
on                250 net/bridge/br.c 				 opt_id, br_boolopt_get(br, opt_id), on, err);
on                272 net/bridge/br.c void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on)
on                277 net/bridge/br.c 		 opt, cur, on);
on                279 net/bridge/br.c 	if (cur == on)
on                282 net/bridge/br.c 	if (on)
on                504 net/bridge/br_private.h int br_boolopt_toggle(struct net_bridge *br, enum br_boolopt_id opt, bool on,
on                512 net/bridge/br_private.h void br_opt_toggle(struct net_bridge *br, enum net_bridge_opts opt, bool on);
on                287 net/caif/caif_dev.c static void dev_flowctrl(struct net_device *dev, int on)
on                303 net/caif/caif_dev.c 				 on ?
on               1443 net/dccp/feat.c 	u8 on = 1, off = 0;
on               1464 net/dccp/feat.c 	rc = __feat_register_sp(fn, DCCPF_ECN_INCAPABLE, true, true, &on, 1);
on                982 net/ipv4/arp.c static int arp_req_set_proxy(struct net *net, struct net_device *dev, int on)
on                985 net/ipv4/arp.c 		IPV4_DEVCONF_ALL(net, PROXY_ARP) = on;
on                989 net/ipv4/arp.c 		IN_DEV_CONF_SET(__in_dev_get_rtnl(dev), PROXY_ARP, on);
on               2327 net/ipv4/devinet.c 	int on = IPV4_DEVCONF_ALL(net, FORWARDING);
on               2329 net/ipv4/devinet.c 	IPV4_DEVCONF_ALL(net, ACCEPT_REDIRECTS) = !on;
on               2330 net/ipv4/devinet.c 	IPV4_DEVCONF_DFLT(net, FORWARDING) = on;
on               2343 net/ipv4/devinet.c 		if (on)
on               2348 net/ipv4/devinet.c 			IN_DEV_CONF_SET(in_dev, FORWARDING, on);
on                335 net/ipv4/ip_sockglue.c int ip_ra_control(struct sock *sk, unsigned char on,
on                345 net/ipv4/ip_sockglue.c 	new_ra = on ? kmalloc(sizeof(*new_ra), GFP_KERNEL) : NULL;
on                346 net/ipv4/ip_sockglue.c 	if (on && !new_ra)
on                355 net/ipv4/ip_sockglue.c 			if (on) {
on                263 net/mac80211/led.c 	unsigned long on, off, tpt;
on                274 net/mac80211/led.c 	on = 1;
on                281 net/mac80211/led.c 			on = tpt_trig->blink_table[i].blink_time - off;
on                288 net/mac80211/led.c 		led_blink_set(led_cdev, &on, &off);
on                268 net/mac802154/driver-ops.h drv_set_promiscuous_mode(struct ieee802154_local *local, bool on)
on                279 net/mac802154/driver-ops.h 	trace_802154_drv_set_promiscuous_mode(local, on);
on                280 net/mac802154/driver-ops.h 	ret = local->ops->set_promiscuous_mode(&local->hw, on);
on                253 net/mac802154/trace.h 	TP_PROTO(struct ieee802154_local *local, bool on),
on                254 net/mac802154/trace.h 	TP_ARGS(local, on),
on                257 net/mac802154/trace.h 		__field(bool, on)
on                261 net/mac802154/trace.h 		__entry->on = on;
on                264 net/mac802154/trace.h 		  BOOL_TO_STR(__entry->on))
on                487 net/netfilter/ipvs/ip_vs_proto_tcp.c 	int on = (flags & 1);		/* secure_tcp */
on                495 net/netfilter/ipvs/ip_vs_proto_tcp.c 	pd->tcp_state_table = (on ? tcp_states_dos : tcp_states);
on               1556 net/netfilter/nf_conntrack_netlink.c __ctnetlink_change_status(struct nf_conn *ct, unsigned long on,
on               1562 net/netfilter/nf_conntrack_netlink.c 	on &= ~IPS_UNCHANGEABLE_MASK;
on               1566 net/netfilter/nf_conntrack_netlink.c 		if (on & (1 << bit))
on                100 net/nfc/digital_core.c static inline void digital_switch_rf(struct nfc_digital_dev *ddev, bool on)
on                102 net/nfc/digital_core.c 	ddev->ops->switch_rf(ddev, on);
on                124 net/socket.c   static int sock_fasync(int fd, struct file *filp, int on);
on               1283 net/socket.c   static int sock_fasync(int fd, struct file *filp, int on)
on               1293 net/socket.c   	fasync_helper(fd, filp, on, &wq->fasync_list);
on                159 samples/connector/ucon.c 		int on = 0x57; /* Additional group number */
on                160 samples/connector/ucon.c 		setsockopt(s, SOL_NETLINK, NETLINK_ADD_MEMBERSHIP, &on, sizeof(on));
on                 33 sound/aoa/aoa-gpio.h 	void (*set_headphone)(struct gpio_runtime *rt, int on);
on                 34 sound/aoa/aoa-gpio.h 	void (*set_speakers)(struct gpio_runtime *rt, int on);
on                 35 sound/aoa/aoa-gpio.h 	void (*set_lineout)(struct gpio_runtime *rt, int on);
on                 36 sound/aoa/aoa-gpio.h 	void (*set_master)(struct gpio_runtime *rt, int on);
on                 43 sound/aoa/aoa-gpio.h 	void (*set_hw_reset)(struct gpio_runtime *rt, int on);
on                127 sound/aoa/core/gpio-feature.c #define SWITCH_GPIO(name, v, on)				\
on                128 sound/aoa/core/gpio-feature.c 	(((v)&~1) | ((on)?					\
on                133 sound/aoa/core/gpio-feature.c static void ftr_gpio_set_##name(struct gpio_runtime *rt, int on)\
on                147 sound/aoa/core/gpio-feature.c 	v = SWITCH_GPIO(name##_mute, v, !on);			\
on                153 sound/aoa/core/gpio-feature.c 	rt->implementation_private |= (!!on << bit);		\
on                166 sound/aoa/core/gpio-feature.c static void ftr_gpio_set_hw_reset(struct gpio_runtime *rt, int on)
on                176 sound/aoa/core/gpio-feature.c 	v = SWITCH_GPIO(hw_reset, v, on);
on                 14 sound/aoa/core/gpio-pmf.c static void pmf_gpio_set_##name(struct gpio_runtime *rt, int on)\
on                 16 sound/aoa/core/gpio-pmf.c 	struct pmf_args args = { .count = 1, .u[0].v = !on };	\
on                 25 sound/aoa/core/gpio-pmf.c 	rt->implementation_private |= (!!on << bit);		\
on                 37 sound/aoa/core/gpio-pmf.c static void pmf_gpio_set_hw_reset(struct gpio_runtime *rt, int on)
on                 39 sound/aoa/core/gpio-pmf.c 	struct pmf_args args = { .count = 1, .u[0].v = !!on };
on               1750 sound/core/control.c static int snd_ctl_fasync(int fd, struct file * file, int on)
on               1755 sound/core/control.c 	return fasync_helper(fd, file, on, &ctl->fasync);
on                342 sound/core/init.c static int snd_disconnect_fasync(int fd, struct file *file, int on)
on               3539 sound/core/pcm_native.c static int snd_pcm_fasync(int fd, struct file * file, int on)
on               3550 sound/core/pcm_native.c 	return fasync_helper(fd, file, on, &runtime->fasync);
on                165 sound/core/seq/seq_midi_event.c void snd_midi_event_no_status(struct snd_midi_event *dev, int on)
on                167 sound/core/seq/seq_midi_event.c 	dev->nostat = on ? 1 : 0;
on               2048 sound/core/timer.c static int snd_timer_user_fasync(int fd, struct file * file, int on)
on               2053 sound/core/timer.c 	return fasync_helper(fd, file, on, &tu->fasync);
on               1586 sound/isa/wss/wss_lib.c static void snd_wss_thinkpad_twiddle(struct snd_wss *chip, int on)
on               1596 sound/isa/wss/wss_lib.c 	if (on)
on               1625 sound/pci/asihpi/hpi.h u16 hpi_compander_set_enable(u32 h_control, u32 on);
on                220 sound/pci/atiixp.c 	void (*enable_dma)(struct atiixp *chip, int on);
on                222 sound/pci/atiixp.c 	void (*enable_transfer)(struct atiixp *chip, int on);
on                769 sound/pci/atiixp.c static void atiixp_out_enable_dma(struct atiixp *chip, int on)
on                773 sound/pci/atiixp.c 	if (on) {
on                784 sound/pci/atiixp.c static void atiixp_out_enable_transfer(struct atiixp *chip, int on)
on                787 sound/pci/atiixp.c 		      on ? ATI_REG_CMD_SEND_EN : 0);
on                791 sound/pci/atiixp.c static void atiixp_in_enable_dma(struct atiixp *chip, int on)
on                794 sound/pci/atiixp.c 		      on ? ATI_REG_CMD_IN_DMA_EN : 0);
on                798 sound/pci/atiixp.c static void atiixp_in_enable_transfer(struct atiixp *chip, int on)
on                800 sound/pci/atiixp.c 	if (on) {
on                823 sound/pci/atiixp.c static void atiixp_spdif_enable_dma(struct atiixp *chip, int on)
on                826 sound/pci/atiixp.c 		      on ? ATI_REG_CMD_SPDF_DMA_EN : 0);
on                830 sound/pci/atiixp.c static void atiixp_spdif_enable_transfer(struct atiixp *chip, int on)
on                834 sound/pci/atiixp.c 	if (on)
on                196 sound/pci/atiixp_modem.c 	void (*enable_dma)(struct atiixp_modem *chip, int on);
on                198 sound/pci/atiixp_modem.c 	void (*enable_transfer)(struct atiixp_modem *chip, int on);
on                706 sound/pci/atiixp_modem.c static void atiixp_out_enable_dma(struct atiixp_modem *chip, int on)
on                710 sound/pci/atiixp_modem.c 	if (on) {
on                721 sound/pci/atiixp_modem.c static void atiixp_out_enable_transfer(struct atiixp_modem *chip, int on)
on                724 sound/pci/atiixp_modem.c 		      on ? ATI_REG_CMD_MODEM_SEND1_EN : 0);
on                728 sound/pci/atiixp_modem.c static void atiixp_in_enable_dma(struct atiixp_modem *chip, int on)
on                731 sound/pci/atiixp_modem.c 		      on ? ATI_REG_CMD_MODEM_IN_DMA_EN : 0);
on                735 sound/pci/atiixp_modem.c static void atiixp_in_enable_transfer(struct atiixp_modem *chip, int on)
on                737 sound/pci/atiixp_modem.c 	if (on) {
on                105 sound/pci/cs5535audio/cs5535audio.h void olpc_analog_input(struct snd_ac97 *ac97, int on);
on                106 sound/pci/cs5535audio/cs5535audio.h void olpc_mic_bias(struct snd_ac97 *ac97, int on);
on                131 sound/pci/cs5535audio/cs5535audio.h static inline void olpc_analog_input(struct snd_ac97 *ac97, int on) { }
on                132 sound/pci/cs5535audio/cs5535audio.h static inline void olpc_mic_bias(struct snd_ac97 *ac97, int on) { }
on                 24 sound/pci/cs5535audio/cs5535audio_olpc.c void olpc_analog_input(struct snd_ac97 *ac97, int on)
on                 33 sound/pci/cs5535audio/cs5535audio_olpc.c 			1 << AC97_AD_HPFD_SHIFT, on << AC97_AD_HPFD_SHIFT);
on                 41 sound/pci/cs5535audio/cs5535audio_olpc.c 	gpio_set_value(OLPC_GPIO_MIC_AC, on);
on                 47 sound/pci/cs5535audio/cs5535audio_olpc.c void olpc_mic_bias(struct snd_ac97 *ac97, int on)
on                 54 sound/pci/cs5535audio/cs5535audio_olpc.c 	on = on ? 0 : 1;
on                 56 sound/pci/cs5535audio/cs5535audio_olpc.c 			1 << AC97_AD_VREFD_SHIFT, on << AC97_AD_VREFD_SHIFT);
on                 38 sound/pci/echoaudio/echo3g_dsp.c static int set_phantom_power(struct echoaudio *chip, char on);
on                118 sound/pci/echoaudio/echo3g_dsp.c static int set_phantom_power(struct echoaudio *chip, char on)
on                122 sound/pci/echoaudio/echo3g_dsp.c 	if (on)
on                127 sound/pci/echoaudio/echo3g_dsp.c 	chip->phantom_power = on;
on                611 sound/pci/echoaudio/echoaudio_dsp.c static void set_meters_on(struct echoaudio *chip, char on)
on                613 sound/pci/echoaudio/echoaudio_dsp.c 	if (on && !chip->meters_enabled) {
on                616 sound/pci/echoaudio/echoaudio_dsp.c 	} else if (!on && chip->meters_enabled) {
on                 30 sound/pci/hda/hda_beep.h 	void (*power_hook)(struct hda_beep *beep, bool on);
on               2857 sound/pci/hda/hda_codec.c static void update_power_acct(struct hda_codec *codec, bool on)
on               2861 sound/pci/hda/hda_codec.c 	if (on)
on               4218 sound/pci/hda/hda_generic.c 	bool on;
on               4223 sound/pci/hda/hda_generic.c 	on = detect_pin_state(codec, pin);
on               4225 sound/pci/hda/hda_generic.c 	if (power >= 0 && on != power)
on               4227 sound/pci/hda/hda_generic.c 	return set_path_power(codec, pin, on, -1);
on               4232 sound/pci/hda/hda_generic.c 			       bool on)
on               4236 sound/pci/hda/hda_generic.c 					set_pin_power_jack(codec, jack->nid, on));
on               4255 sound/pci/hda/hda_generic.c 			       const hda_nid_t *pins, bool on)
on               4259 sound/pci/hda/hda_generic.c 		on ? pin_power_up_callback : pin_power_down_callback;
on               4272 sound/pci/hda/hda_generic.c static void add_all_pin_power_ctls(struct hda_codec *codec, bool on)
on               4280 sound/pci/hda/hda_generic.c 	add_pin_power_ctls(codec, cfg->line_outs, cfg->line_out_pins, on);
on               4282 sound/pci/hda/hda_generic.c 		add_pin_power_ctls(codec, cfg->hp_outs, cfg->hp_pins, on);
on               4284 sound/pci/hda/hda_generic.c 		add_pin_power_ctls(codec, cfg->speaker_outs, cfg->speaker_pins, on);
on               4286 sound/pci/hda/hda_generic.c 		add_pin_power_ctls(codec, 1, &cfg->inputs[i].pin, on);
on               4371 sound/pci/hda/hda_generic.c static void beep_power_hook(struct hda_beep *beep, bool on)
on               4373 sound/pci/hda/hda_generic.c 	set_path_power(beep->codec, beep->nid, -1, on);
on               4474 sound/pci/hda/hda_generic.c 			bool on = !mute;
on               4475 sound/pci/hda/hda_generic.c 			if (on)
on               4476 sound/pci/hda/hda_generic.c 				on = detect_pin_state(codec, nid);
on               4477 sound/pci/hda/hda_generic.c 			set_path_power(codec, nid, on, -1);
on               4492 sound/pci/hda/hda_generic.c 	int on;
on               4506 sound/pci/hda/hda_generic.c 		on = 0;
on               4508 sound/pci/hda/hda_generic.c 		on = spec->hp_jack_present | spec->line_jack_present;
on               4509 sound/pci/hda/hda_generic.c 	on |= spec->master_mute;
on               4510 sound/pci/hda/hda_generic.c 	spec->speaker_muted = on;
on               4516 sound/pci/hda/hda_generic.c 		    spec->autocfg.speaker_pins, paths, on);
on               4524 sound/pci/hda/hda_generic.c 		on = 0;
on               4526 sound/pci/hda/hda_generic.c 		on = spec->hp_jack_present;
on               4527 sound/pci/hda/hda_generic.c 	on |= spec->master_mute;
on               4528 sound/pci/hda/hda_generic.c 	spec->line_out_muted = on;
on               4531 sound/pci/hda/hda_generic.c 		    spec->autocfg.line_out_pins, paths, on);
on               4986 sound/pci/hda/hda_generic.c void snd_hda_gen_stream_pm(struct hda_codec *codec, hda_nid_t nid, bool on)
on               4989 sound/pci/hda/hda_generic.c 		set_path_power(codec, nid, -1, on);
on                353 sound/pci/hda/hda_generic.h void snd_hda_gen_stream_pm(struct hda_codec *codec, hda_nid_t nid, bool on);
on               4853 sound/pci/hda/patch_ca0132.c 	unsigned int on, tmp;
on               4924 sound/pci/hda/patch_ca0132.c 	on = (val == 0) ? FLOAT_ZERO : FLOAT_ONE;
on               4926 sound/pci/hda/patch_ca0132.c 				   ca0132_effects[idx].reqs[0], on);
on               7721 sound/pci/hda/patch_ca0132.c 	unsigned int on;
on               7745 sound/pci/hda/patch_ca0132.c 		on = (unsigned int)ca0132_effects[i].reqs[0];
on               7746 sound/pci/hda/patch_ca0132.c 		spec->effects_switch[i] = on ? 1 : 0;
on                119 sound/pci/hda/patch_conexant.c 			      const hda_nid_t *pins, bool on)
on                126 sound/pci/hda/patch_conexant.c 					    on ? 0x02 : 0);
on                228 sound/pci/hda/patch_realtek.c 				 bool on)
on                233 sound/pci/hda/patch_realtek.c 	if (on)
on                464 sound/pci/hda/patch_realtek.c static void set_eapd(struct hda_codec *codec, hda_nid_t nid, int on)
on                470 sound/pci/hda/patch_realtek.c 				    on ? 2 : 0);
on                474 sound/pci/hda/patch_realtek.c static void alc_auto_setup_eapd(struct hda_codec *codec, bool on)
on                482 sound/pci/hda/patch_realtek.c 		set_eapd(codec, *p, on);
on                155 sound/pci/ice1712/psc724.c static void psc724_set_master_switch(struct snd_ice1712 *ice, bool on)
on                160 sound/pci/ice1712/psc724.c 	spec->mute_all = !on;
on                161 sound/pci/ice1712/psc724.c 	if (on)
on                216 sound/pci/ice1712/psc724.c static void psc724_set_jack_detection(struct snd_ice1712 *ice, bool on)
on                220 sound/pci/ice1712/psc724.c 	if (spec->jack_detect == on)
on                223 sound/pci/ice1712/psc724.c 	spec->jack_detect = on;
on                224 sound/pci/ice1712/psc724.c 	if (on) {
on                244 sound/pci/ice1712/psc724.c 	void (*set)(struct snd_ice1712 *ice, bool on);
on                209 sound/pci/lola/lola_mixer.c 				   unsigned short gain, bool on)
on                216 sound/pci/lola/lola_mixer.c 	if (on)
on                270 sound/pci/lola/lola_mixer.c 				       unsigned short gain, bool on)
on                277 sound/pci/lola/lola_mixer.c 	if (on)
on                280 sound/pci/lola/lola_mixer.c 	if (on)
on               3138 sound/pci/rme9652/hdsp.c static int hdsp_set_rpm_bypass(struct hdsp *hdsp, int on)
on               3140 sound/pci/rme9652/hdsp.c 	if (on)
on               3190 sound/pci/rme9652/hdsp.c static int hdsp_set_rpm_disconnect(struct hdsp *hdsp, int on)
on               3192 sound/pci/rme9652/hdsp.c 	if (on)
on                 79 sound/soc/amd/raven/acp3x-pcm-dma.c static int acp3x_power_on(void __iomem *acp3x_base, bool on)
on                 84 sound/soc/amd/raven/acp3x-pcm-dma.c 	if (on == true) {
on                298 sound/soc/codecs/rt5514.c static int rt5514_calibration(struct rt5514_priv *rt5514, bool on)
on                300 sound/soc/codecs/rt5514.c 	if (on) {
on               1644 sound/soc/codecs/rt5645.c static void hp_amp_power(struct snd_soc_component *component, int on)
on               1649 sound/soc/codecs/rt5645.c 	if (on) {
on                690 sound/soc/codecs/rt5677.c static void rt5677_set_dsp_mode(struct snd_soc_component *component, bool on)
on                694 sound/soc/codecs/rt5677.c 	if (on) {
on                705 sound/soc/codecs/rt5677.c static int rt5677_set_dsp_vad(struct snd_soc_component *component, bool on)
on                714 sound/soc/codecs/rt5677.c 	if (on && !activity) {
on                767 sound/soc/codecs/rt5677.c 	} else if (!on && activity) {
on               1164 sound/soc/codecs/tlv320aic31xx.c 	u8 on = AIC31XX_PM_MASK;
on               1168 sound/soc/codecs/tlv320aic31xx.c 	snd_soc_component_update_bits(component, AIC31XX_PLLPR, mask, on);
on               1170 sound/soc/codecs/tlv320aic31xx.c 	snd_soc_component_update_bits(component, AIC31XX_NDAC, mask, on);
on               1171 sound/soc/codecs/tlv320aic31xx.c 	snd_soc_component_update_bits(component, AIC31XX_MDAC, mask, on);
on               1173 sound/soc/codecs/tlv320aic31xx.c 		snd_soc_component_update_bits(component, AIC31XX_NADC, mask, on);
on               1175 sound/soc/codecs/tlv320aic31xx.c 		snd_soc_component_update_bits(component, AIC31XX_MADC, mask, on);
on               1176 sound/soc/codecs/tlv320aic31xx.c 	snd_soc_component_update_bits(component, AIC31XX_BCLKN, mask, on);
on                182 sound/soc/hisilicon/hi6210-i2s.c static void hi6210_i2s_txctrl(struct snd_soc_dai *cpu_dai, int on)
on                188 sound/soc/hisilicon/hi6210-i2s.c 	if (on) {
on                202 sound/soc/hisilicon/hi6210-i2s.c static void hi6210_i2s_rxctrl(struct snd_soc_dai *cpu_dai, int on)
on                208 sound/soc/hisilicon/hi6210-i2s.c 	if (on) {
on                163 sound/soc/intel/atom/sst/sst.h 	bool	on;
on                 39 sound/soc/intel/atom/sst/sst_ipc.c 	msg->on = true;
on                137 sound/soc/intel/atom/sst/sst_pvt.c 		block->on = false;
on                 74 sound/soc/mediatek/mt2701/mt2701-afe-common.h 	int on[MTK_STREAM_NUM];
on                128 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	if (--i2s_path->on[stream_dir] < 0)
on                129 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 		i2s_path->on[stream_dir] = 0;
on                131 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	if (i2s_path->on[stream_dir])
on                183 sound/soc/mediatek/mt2701/mt2701-afe-pcm.c 	if (++i2s_path->on[stream_dir] != 1)
on                 90 sound/soc/rockchip/rockchip_i2s.c static void rockchip_snd_txctrl(struct rk_i2s_dev *i2s, int on)
on                 95 sound/soc/rockchip/rockchip_i2s.c 	if (on) {
on                137 sound/soc/rockchip/rockchip_i2s.c static void rockchip_snd_rxctrl(struct rk_i2s_dev *i2s, int on)
on                142 sound/soc/rockchip/rockchip_i2s.c 	if (on) {
on                129 sound/soc/rockchip/rockchip_pdm.c static void rockchip_pdm_rxctrl(struct rk_pdm_dev *pdm, int on)
on                131 sound/soc/rockchip/rockchip_pdm.c 	if (on) {
on                391 sound/soc/samsung/i2s.c static void i2s_txctrl(struct i2s_dai *i2s, int on)
on                399 sound/soc/samsung/i2s.c 	if (on) {
on                442 sound/soc/samsung/i2s.c static void i2s_rxctrl(struct i2s_dai *i2s, int on)
on                450 sound/soc/samsung/i2s.c 	if (on) {
on                149 sound/soc/samsung/pcm.c static void s3c_pcm_snd_txctrl(struct s3c_pcm_info *pcm, int on)
on                159 sound/soc/samsung/pcm.c 	if (on) {
on                180 sound/soc/samsung/pcm.c static void s3c_pcm_snd_rxctrl(struct s3c_pcm_info *pcm, int on)
on                190 sound/soc/samsung/pcm.c 	if (on) {
on                 72 sound/soc/samsung/s3c-i2s-v2.c static void s3c2412_snd_txctrl(struct s3c_i2sv2_info *i2s, int on)
on                 77 sound/soc/samsung/s3c-i2s-v2.c 	pr_debug("%s(%d)\n", __func__, on);
on                 85 sound/soc/samsung/s3c-i2s-v2.c 	if (on) {
on                145 sound/soc/samsung/s3c-i2s-v2.c static void s3c2412_snd_rxctrl(struct s3c_i2sv2_info *i2s, int on)
on                150 sound/soc/samsung/s3c-i2s-v2.c 	pr_debug("%s(%d)\n", __func__, on);
on                158 sound/soc/samsung/s3c-i2s-v2.c 	if (on) {
on                 48 sound/soc/samsung/s3c24xx-i2s.c static void s3c24xx_snd_txctrl(int on)
on                 60 sound/soc/samsung/s3c24xx-i2s.c 	if (on) {
on                 91 sound/soc/samsung/s3c24xx-i2s.c static void s3c24xx_snd_rxctrl(int on)
on                103 sound/soc/samsung/s3c24xx-i2s.c 	if (on) {
on                 99 sound/soc/samsung/spdif.c static void spdif_snd_txctrl(struct samsung_spdif_info *spdif, int on)
on                107 sound/soc/samsung/spdif.c 	if (on)
on                 28 sound/soc/sirf/sirf-audio.c 	int on = !SND_SOC_DAPM_EVENT_OFF(event);
on                 31 sound/soc/sirf/sirf-audio.c 		gpio_set_value(sirf_audio_card->gpio_hp_pa, on);
on                 41 sound/soc/sirf/sirf-audio.c 	int on = !SND_SOC_DAPM_EVENT_OFF(event);
on                 44 sound/soc/sirf/sirf-audio.c 		gpio_set_value(sirf_audio_card->gpio_spk_pa, on);
on                101 sound/soc/zte/zx-i2s.c static void zx_i2s_tx_en(void __iomem *base, bool on)
on                106 sound/soc/zte/zx-i2s.c 	if (on)
on                113 sound/soc/zte/zx-i2s.c static void zx_i2s_rx_en(void __iomem *base, bool on)
on                118 sound/soc/zte/zx-i2s.c 	if (on)
on                125 sound/soc/zte/zx-i2s.c static void zx_i2s_tx_dma_en(void __iomem *base, bool on)
on                131 sound/soc/zte/zx-i2s.c 	if (on)
on                138 sound/soc/zte/zx-i2s.c static void zx_i2s_rx_dma_en(void __iomem *base, bool on)
on                144 sound/soc/zte/zx-i2s.c 	if (on)
on                193 sound/soc/zte/zx-spdif.c static void zx_spdif_cfg_tx(void __iomem *base, int on)
on                199 sound/soc/zte/zx-spdif.c 	val |= on ? ZX_CTRL_OPEN : ZX_CTRL_CLOSE;
on                204 sound/soc/zte/zx-spdif.c 	if (on)
on                 93 sound/soc/zte/zx-tdm.c static void zx_tdm_tx_en(struct zx_tdm_info *tdm, bool on)
on                 98 sound/soc/zte/zx-tdm.c 	if (on)
on                105 sound/soc/zte/zx-tdm.c static void zx_tdm_rx_en(struct zx_tdm_info *tdm, bool on)
on                110 sound/soc/zte/zx-tdm.c 	if (on)
on                117 sound/soc/zte/zx-tdm.c static void zx_tdm_tx_dma_en(struct zx_tdm_info *tdm, bool on)
on                123 sound/soc/zte/zx-tdm.c 	if (on)
on                130 sound/soc/zte/zx-tdm.c static void zx_tdm_rx_dma_en(struct zx_tdm_info *tdm, bool on)
on                136 sound/soc/zte/zx-tdm.c 	if (on)
on                 69 sound/sparc/cs4231.c 	void		(*enable)(struct cs4231_dma_control *dma_cont, int on);
on                444 sound/sparc/cs4231.c 			       unsigned int what, int on)
on                451 sound/sparc/cs4231.c 		if (on) {
on                463 sound/sparc/cs4231.c 		if (on) {
on               1723 sound/sparc/cs4231.c static void sbus_dma_enable(struct cs4231_dma_control *dma_cont, int on)
on               1730 sound/sparc/cs4231.c 	if (!on) {
on               1744 sound/sparc/cs4231.c 	if (on)
on               1749 sound/sparc/cs4231.c 	if (on)
on               1910 sound/sparc/cs4231.c static void _ebus_dma_enable(struct cs4231_dma_control *dma_cont, int on)
on               1912 sound/sparc/cs4231.c 	ebus_dma_enable(&dma_cont->ebus_info, on);
on                117 tools/bpf/bpftool/json_writer.c void jsonw_pretty(json_writer_t *self, bool on)
on                119 tools/bpf/bpftool/json_writer.c 	self->pretty = on;
on                 28 tools/bpf/bpftool/json_writer.h void jsonw_pretty(json_writer_t *self, bool on);
on                 73 tools/laptop/freefall/freefall.c static void set_led(int on)
on                 77 tools/laptop/freefall/freefall.c 	write_int("/sys/class/leds/hp::hddprotect/brightness", on);
on                  9 tools/perf/util/evswitch.c 	if (evswitch->on && evswitch->discarding) {
on                 10 tools/perf/util/evswitch.c 		if (evswitch->on != evsel)
on                 44 tools/perf/util/evswitch.c 		evswitch->on = perf_evlist__find_evsel_by_str(evlist, evswitch->on_name);
on                 45 tools/perf/util/evswitch.c 		if (evswitch->on == NULL) {
on                 13 tools/perf/util/evswitch.h 	struct evsel *on, *off;
on                307 tools/testing/selftests/net/tcp_mmap.c 	int fd, c, on = 1;
on                364 tools/testing/selftests/net/tcp_mmap.c 		setsockopt(fdlisten, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on));
on                415 tools/testing/selftests/net/tcp_mmap.c 			       &on, sizeof(on)) == -1) {
on                252 tools/testing/selftests/networking/timestamping/rxtimestamp.c 	int on = 1;
on                254 tools/testing/selftests/networking/timestamping/rxtimestamp.c 	if (setsockopt(rcv, SOL_SOCKET, SO_REUSEADDR, &on, sizeof(on)) < 0)