on_off 45 arch/arm/mach-meson/platsmp.c static void meson_smp_set_cpu_ctrl(int cpu, bool on_off) on_off 49 arch/arm/mach-meson/platsmp.c if (on_off) on_off 230 drivers/accessibility/braille/braille_console.c int on_off = -1; on_off 234 drivers/accessibility/braille/braille_console.c on_off = vt_get_leds(fg_console, VC_CAPSLOCK); on_off 237 drivers/accessibility/braille/braille_console.c on_off = vt_get_leds(fg_console, VC_NUMLOCK); on_off 240 drivers/accessibility/braille/braille_console.c on_off = vt_get_leds(fg_console, VC_SCROLLOCK); on_off 243 drivers/accessibility/braille/braille_console.c if (on_off == 1) on_off 245 drivers/accessibility/braille/braille_console.c else if (on_off == 0) on_off 44 drivers/gnss/sirf.c struct gpio_desc *on_off; on_off 254 drivers/gnss/sirf.c gpiod_set_value_cansleep(data->on_off, 1); on_off 256 drivers/gnss/sirf.c gpiod_set_value_cansleep(data->on_off, 0); on_off 296 drivers/gnss/sirf.c if (data->on_off) on_off 311 drivers/gnss/sirf.c if (data->on_off) on_off 333 drivers/gnss/sirf.c if (data->on_off) on_off 440 drivers/gnss/sirf.c data->on_off = devm_gpiod_get_optional(dev, "sirf,onoff", on_off 442 drivers/gnss/sirf.c if (IS_ERR(data->on_off)) on_off 445 drivers/gnss/sirf.c if (data->on_off) { on_off 477 drivers/gnss/sirf.c if (data->on_off) { on_off 524 drivers/gnss/sirf.c if (data->on_off) on_off 546 drivers/gnss/sirf.c if (data->on_off) on_off 912 drivers/iio/adc/meson_saradc.c static void meson_sar_adc_set_bandgap(struct iio_dev *indio_dev, bool on_off) on_off 924 drivers/iio/adc/meson_saradc.c on_off ? enable_mask : 0); on_off 48 drivers/macintosh/mediabay.c void (*power)(struct media_bay_info *bay, int on_off); on_off 172 drivers/macintosh/mediabay.c ohare_mb_power(struct media_bay_info* bay, int on_off) on_off 174 drivers/macintosh/mediabay.c if (on_off) { on_off 191 drivers/macintosh/mediabay.c heathrow_mb_power(struct media_bay_info* bay, int on_off) on_off 193 drivers/macintosh/mediabay.c if (on_off) { on_off 210 drivers/macintosh/mediabay.c keylargo_mb_power(struct media_bay_info* bay, int on_off) on_off 212 drivers/macintosh/mediabay.c if (on_off) { on_off 633 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c tnr_dmd->lna_thrs_tbl_air->thrs[idx].on_off; on_off 665 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.c tnr_dmd->lna_thrs_tbl_cable->thrs[idx].on_off; on_off 172 drivers/media/dvb-frontends/cxd2880/cxd2880_tnrdmd.h u8 on_off; on_off 159 drivers/misc/apds9802als.c static int als_set_power_state(struct i2c_client *client, bool on_off) on_off 168 drivers/misc/apds9802als.c if (on_off) on_off 1664 drivers/net/ethernet/cavium/liquidio/lio_core.c int liquidio_set_fec(struct lio *lio, int on_off) on_off 1675 drivers/net/ethernet/cavium/liquidio/lio_core.c if (oct->props[lio->ifidx].fec == on_off) on_off 1707 drivers/net/ethernet/cavium/liquidio/lio_core.c ncmd->s.param1 = on_off; on_off 1730 drivers/net/ethernet/cavium/liquidio/lio_core.c if (var != on_off) { on_off 1733 drivers/net/ethernet/cavium/liquidio/lio_core.c var, on_off); on_off 243 drivers/net/ethernet/cavium/liquidio/octeon_network.h int liquidio_set_fec(struct lio *lio, int on_off); on_off 3609 drivers/net/ethernet/neterion/vxge/vxge-config.c vxge_hw_device_flick_link_led(struct __vxge_hw_device *hldev, u64 on_off) on_off 3622 drivers/net/ethernet/neterion/vxge/vxge-config.c data0 = on_off; on_off 2025 drivers/net/ethernet/neterion/vxge/vxge-config.h vxge_hw_device_flick_link_led(struct __vxge_hw_device *devh, u64 on_off); on_off 725 drivers/phy/broadcom/phy-brcm-usb-init.c int on_off) on_off 728 drivers/phy/broadcom/phy-brcm-usb-init.c if (on_off) { on_off 85 drivers/phy/rockchip/phy-rockchip-emmc.c static int rockchip_emmc_phy_power(struct phy *phy, bool on_off) on_off 110 drivers/phy/rockchip/phy-rockchip-emmc.c if (on_off == PHYCTRL_PDB_PWR_OFF) on_off 119 drivers/scsi/arm/cumana_2.c cumanascsi_2_terminator_ctl(struct Scsi_Host *host, int on_off) on_off 123 drivers/scsi/arm/cumana_2.c if (on_off) { on_off 118 drivers/scsi/arm/eesox.c eesoxscsi_terminator_ctl(struct Scsi_Host *host, int on_off) on_off 124 drivers/scsi/arm/eesox.c if (on_off) on_off 99 drivers/scsi/arm/powertec.c powertecscsi_terminator_ctl(struct Scsi_Host *host, int on_off) on_off 103 drivers/scsi/arm/powertec.c info->term_ctl = on_off ? POWERTEC_TERM_ENABLE : 0; on_off 409 drivers/scsi/bfa/bfa_fcpim.h bfa_status_t bfa_fcpim_lunmask_update(struct bfa_s *bfa, u32 on_off); on_off 4197 drivers/scsi/bfa/bfa_svc.c bfa_fcport_cfg_bbcr(struct bfa_s *bfa, bfa_boolean_t on_off, u8 bb_scn) on_off 4201 drivers/scsi/bfa/bfa_svc.c bfa_trc(bfa, on_off); on_off 4210 drivers/scsi/bfa/bfa_svc.c if (on_off) { on_off 4237 drivers/scsi/bfa/bfa_svc.c fcport->cfg.bb_cr_enabled = on_off; on_off 4243 drivers/scsi/bfa/bfa_svc.c fcport->cfg.bb_cr_enabled = on_off; on_off 568 drivers/scsi/bfa/bfa_svc.h bfa_boolean_t on_off, u8 bb_scn); on_off 1800 drivers/staging/speakup/main.c int on_off = 2; on_off 1812 drivers/staging/speakup/main.c on_off = vt_get_leds(fg_console, VC_CAPSLOCK); on_off 1816 drivers/staging/speakup/main.c on_off = vt_get_leds(fg_console, VC_NUMLOCK); on_off 1820 drivers/staging/speakup/main.c on_off = vt_get_leds(fg_console, VC_SCROLLOCK); on_off 1822 drivers/staging/speakup/main.c speakup_console[vc->vc_num]->tty_stopped = on_off; on_off 1829 drivers/staging/speakup/main.c if (on_off < 2) on_off 1831 drivers/staging/speakup/main.c label, spk_msg_get(MSG_STATUS_START + on_off)); on_off 1852 drivers/tty/vt/vt.c static void set_mode(struct vc_data *vc, int on_off) on_off 1860 drivers/tty/vt/vt.c if (on_off) on_off 1873 drivers/tty/vt/vt.c if (vc->vc_decscnm != on_off) { on_off 1874 drivers/tty/vt/vt.c vc->vc_decscnm = on_off; on_off 1880 drivers/tty/vt/vt.c vc->vc_decom = on_off; on_off 1884 drivers/tty/vt/vt.c vc->vc_decawm = on_off; on_off 1887 drivers/tty/vt/vt.c if (on_off) on_off 1893 drivers/tty/vt/vt.c vc->vc_report_mouse = on_off ? 1 : 0; on_off 1896 drivers/tty/vt/vt.c vc->vc_deccm = on_off; on_off 1899 drivers/tty/vt/vt.c vc->vc_report_mouse = on_off ? 2 : 0; on_off 1905 drivers/tty/vt/vt.c vc->vc_disp_ctrl = on_off; on_off 1908 drivers/tty/vt/vt.c vc->vc_decim = on_off; on_off 1911 drivers/tty/vt/vt.c if (on_off) on_off 169 sound/drivers/opl3/opl3_drums.c void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, on_off 182 sound/drivers/opl3/opl3_drums.c if (on_off) { on_off 31 sound/drivers/opl3/opl3_voice.h void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, struct snd_midi_channel *chan); on_off 1600 sound/pci/asihpi/hpi.h u16 hpi_microphone_set_phantom_power(u32 h_control, u16 on_off); on_off 1610 sound/pci/asihpi/hpi.h u16 hpi_parametric_eq_set_state(u32 h_control, u16 on_off); on_off 2110 sound/pci/asihpi/hpifunc.c u16 hpi_microphone_set_phantom_power(u32 h_control, u16 on_off) on_off 2113 sound/pci/asihpi/hpifunc.c (u32)on_off, 0); on_off 2119 sound/pci/asihpi/hpifunc.c u32 on_off = 0; on_off 2121 sound/pci/asihpi/hpifunc.c HPI_MICROPHONE_PHANTOM_POWER, &on_off); on_off 2123 sound/pci/asihpi/hpifunc.c *pw_on_off = (u16)on_off; on_off 2185 sound/pci/asihpi/hpifunc.c u16 hpi_parametric_eq_set_state(u32 h_control, u16 on_off) on_off 2188 sound/pci/asihpi/hpifunc.c on_off, 0);