/linux-master/drivers/gnss/ |
H A D | sirf.c | 44 struct gpio_desc *on_off; member in struct:sirf_data 254 gpiod_set_value_cansleep(data->on_off, 1); 256 gpiod_set_value_cansleep(data->on_off, 0); 296 if (data->on_off) 311 if (data->on_off) 333 if (data->on_off) 440 data->on_off = devm_gpiod_get_optional(dev, "sirf,onoff", 442 if (IS_ERR(data->on_off)) { 443 ret = PTR_ERR(data->on_off); 447 if (data->on_off) { [all...] |
/linux-master/drivers/accessibility/braille/ |
H A D | braille_console.c | 230 int on_off = -1; local 234 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); 237 on_off = vt_get_leds(fg_console, VC_NUMLOCK); 240 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); 243 if (on_off == 1) 245 else if (on_off == 0)
|
/linux-master/sound/drivers/opl3/ |
H A D | opl3_voice.h | 31 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, struct snd_midi_channel *chan);
|
H A D | opl3_drums.c | 169 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, argument 182 if (on_off) {
|
/linux-master/drivers/macintosh/ |
H A D | mediabay.c | 48 void (*power)(struct media_bay_info *bay, int on_off); 172 ohare_mb_power(struct media_bay_info* bay, int on_off) argument 174 if (on_off) { 191 heathrow_mb_power(struct media_bay_info* bay, int on_off) argument 193 if (on_off) { 210 keylargo_mb_power(struct media_bay_info* bay, int on_off) argument 212 if (on_off) {
|
/linux-master/drivers/phy/intel/ |
H A D | phy-intel-lgm-emmc.c | 51 static int intel_emmc_phy_power(struct phy *phy, bool on_off) argument 72 if (!on_off)
|
H A D | phy-intel-keembay-emmc.c | 53 static int keembay_emmc_phy_power(struct phy *phy, bool on_off) argument 81 if (!on_off)
|
/linux-master/arch/arm/mach-meson/ |
H A D | platsmp.c | 45 static void meson_smp_set_cpu_ctrl(int cpu, bool on_off) argument 49 if (on_off)
|
/linux-master/drivers/misc/ |
H A D | apds9802als.c | 159 static int als_set_power_state(struct i2c_client *client, bool on_off) argument 168 if (on_off)
|
/linux-master/drivers/phy/rockchip/ |
H A D | phy-rockchip-emmc.c | 93 static int rockchip_emmc_phy_power(struct phy *phy, bool on_off) argument 118 if (on_off == PHYCTRL_PDB_PWR_OFF)
|
/linux-master/drivers/scsi/arm/ |
H A D | powertec.c | 97 /* Prototype: void powertecscsi_terminator_ctl(host, on_off) 100 * : on_off - !0 to turn on, 0 to turn off 103 powertecscsi_terminator_ctl(struct Scsi_Host *host, int on_off) argument 107 info->term_ctl = on_off ? POWERTEC_TERM_ENABLE : 0;
|
H A D | cumana_2.c | 117 /* Prototype: void cumanascsi_2_terminator_ctl(host, on_off) 120 * : on_off - !0 to turn on, 0 to turn off 123 cumanascsi_2_terminator_ctl(struct Scsi_Host *host, int on_off) argument 127 if (on_off) {
|
H A D | eesox.c | 116 /* Prototype: void eesoxscsi_terminator_ctl(*host, on_off) 119 * : on_off - !0 to turn on, 0 to turn off 122 eesoxscsi_terminator_ctl(struct Scsi_Host *host, int on_off) argument 128 if (on_off)
|
/linux-master/sound/soc/codecs/ |
H A D | mt6660.c | 219 static int _mt6660_chip_power_on(struct mt6660_chip *chip, int on_off) argument 222 0x01, on_off ? 0x00 : 0x01);
|
/linux-master/drivers/phy/broadcom/ |
H A D | phy-brcm-usb-init-synopsys.c | 144 int on_off) 150 if (on_off) { 143 xhci_soft_reset(struct brcm_usb_init_params *params, int on_off) argument
|
H A D | phy-brcm-usb-init.c | 739 int on_off) 742 if (on_off) { 738 brcmusb_xhci_soft_reset(struct brcm_usb_init_params *params, int on_off) argument
|
/linux-master/drivers/media/dvb-frontends/cxd2880/ |
H A D | cxd2880_tnrdmd.h | 172 u8 on_off; member in struct:cxd2880_tnrdmd_lna_thrs
|
/linux-master/drivers/tty/vt/ |
H A D | vt.c | 1878 static void csi_DEC_hl(struct vc_data *vc, bool on_off) argument 1885 if (on_off) 1898 if (vc->vc_decscnm != on_off) { 1899 vc->vc_decscnm = on_off; 1906 vc->vc_decom = on_off; 1910 vc->vc_decawm = on_off; 1913 if (on_off) 1919 vc->vc_report_mouse = on_off ? 1 : 0; 1922 vc->vc_deccm = on_off; 1925 vc->vc_report_mouse = on_off 1937 csi_hl(struct vc_data *vc, bool on_off) argument [all...] |
/linux-master/drivers/net/ethernet/cavium/liquidio/ |
H A D | lio_core.c | 1679 int liquidio_set_fec(struct lio *lio, int on_off) argument 1690 if (oct->props[lio->ifidx].fec == on_off) 1722 ncmd->s.param1 = on_off; 1745 if (var != on_off) { 1748 var, on_off);
|
H A D | octeon_network.h | 243 int liquidio_set_fec(struct lio *lio, int on_off);
|
/linux-master/drivers/accessibility/speakup/ |
H A D | main.c | 1811 int on_off = 2; local 1823 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); 1827 on_off = vt_get_leds(fg_console, VC_NUMLOCK); 1831 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); 1833 speakup_console[vc->vc_num]->tty_stopped = on_off; 1840 if (on_off < 2) 1842 label, spk_msg_get(MSG_STATUS_START + on_off));
|
/linux-master/drivers/scsi/bfa/ |
H A D | bfa_fcpim.h | 469 bfa_status_t bfa_fcpim_lunmask_update(struct bfa_s *bfa, u32 on_off);
|
/linux-master/sound/pci/asihpi/ |
H A D | hpi.h | 1584 u16 hpi_microphone_set_phantom_power(u32 h_control, u16 on_off); 1594 u16 hpi_parametric_eq_set_state(u32 h_control, u16 on_off);
|
H A D | hpifunc.c | 2109 u16 hpi_microphone_set_phantom_power(u32 h_control, u16 on_off) argument 2112 (u32)on_off, 0); 2118 u32 on_off = 0; local 2120 HPI_MICROPHONE_PHANTOM_POWER, &on_off); 2122 *pw_on_off = (u16)on_off; 2184 u16 hpi_parametric_eq_set_state(u32 h_control, u16 on_off) argument 2187 on_off, 0);
|
/linux-master/drivers/iio/adc/ |
H A D | meson_saradc.c | 1025 static void meson_sar_adc_set_bandgap(struct iio_dev *indio_dev, bool on_off) argument 1037 on_off ? enable_mask : 0);
|