Home
last modified time | relevance | path

Searched refs:on_off (Results 1 – 25 of 29) sorted by relevance

12

/Linux-v6.6/drivers/gnss/
Dsirf.c44 struct gpio_desc *on_off; member
254 gpiod_set_value_cansleep(data->on_off, 1); in sirf_pulse_on_off()
256 gpiod_set_value_cansleep(data->on_off, 0); in sirf_pulse_on_off()
296 if (data->on_off) in sirf_runtime_suspend()
311 if (data->on_off) in sirf_runtime_suspend()
333 if (data->on_off) in sirf_runtime_resume()
440 data->on_off = devm_gpiod_get_optional(dev, "sirf,onoff", in sirf_probe()
442 if (IS_ERR(data->on_off)) { in sirf_probe()
443 ret = PTR_ERR(data->on_off); in sirf_probe()
447 if (data->on_off) { in sirf_probe()
[all …]
/Linux-v6.6/drivers/accessibility/braille/
Dbraille_console.c230 int on_off = -1; in keyboard_notifier_call() local
234 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in keyboard_notifier_call()
237 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in keyboard_notifier_call()
240 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in keyboard_notifier_call()
243 if (on_off == 1) in keyboard_notifier_call()
245 else if (on_off == 0) in keyboard_notifier_call()
/Linux-v6.6/drivers/macintosh/
Dmediabay.c48 void (*power)(struct media_bay_info *bay, int on_off);
172 ohare_mb_power(struct media_bay_info* bay, int on_off) in ohare_mb_power() argument
174 if (on_off) { in ohare_mb_power()
191 heathrow_mb_power(struct media_bay_info* bay, int on_off) in heathrow_mb_power() argument
193 if (on_off) { in heathrow_mb_power()
210 keylargo_mb_power(struct media_bay_info* bay, int on_off) in keylargo_mb_power() argument
212 if (on_off) { in keylargo_mb_power()
/Linux-v6.6/sound/drivers/opl3/
Dopl3_drums.c169 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, in snd_opl3_drum_switch() argument
182 if (on_off) { in snd_opl3_drum_switch()
Dopl3_voice.h31 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, struct snd_midi_cha…
/Linux-v6.6/drivers/phy/intel/
Dphy-intel-keembay-emmc.c53 static int keembay_emmc_phy_power(struct phy *phy, bool on_off) in keembay_emmc_phy_power() argument
81 if (!on_off) in keembay_emmc_phy_power()
Dphy-intel-lgm-emmc.c51 static int intel_emmc_phy_power(struct phy *phy, bool on_off) in intel_emmc_phy_power() argument
72 if (!on_off) in intel_emmc_phy_power()
/Linux-v6.6/drivers/misc/
Dapds9802als.c159 static int als_set_power_state(struct i2c_client *client, bool on_off) in als_set_power_state() argument
168 if (on_off) in als_set_power_state()
/Linux-v6.6/arch/arm/mach-meson/
Dplatsmp.c45 static void meson_smp_set_cpu_ctrl(int cpu, bool on_off) in meson_smp_set_cpu_ctrl() argument
49 if (on_off) in meson_smp_set_cpu_ctrl()
/Linux-v6.6/drivers/phy/rockchip/
Dphy-rockchip-emmc.c93 static int rockchip_emmc_phy_power(struct phy *phy, bool on_off) in rockchip_emmc_phy_power() argument
118 if (on_off == PHYCTRL_PDB_PWR_OFF) in rockchip_emmc_phy_power()
/Linux-v6.6/drivers/scsi/arm/
Dpowertec.c103 powertecscsi_terminator_ctl(struct Scsi_Host *host, int on_off) in powertecscsi_terminator_ctl() argument
107 info->term_ctl = on_off ? POWERTEC_TERM_ENABLE : 0; in powertecscsi_terminator_ctl()
Dcumana_2.c123 cumanascsi_2_terminator_ctl(struct Scsi_Host *host, int on_off) in cumanascsi_2_terminator_ctl() argument
127 if (on_off) { in cumanascsi_2_terminator_ctl()
Deesox.c122 eesoxscsi_terminator_ctl(struct Scsi_Host *host, int on_off) in eesoxscsi_terminator_ctl() argument
128 if (on_off) in eesoxscsi_terminator_ctl()
/Linux-v6.6/drivers/phy/broadcom/
Dphy-brcm-usb-init-synopsys.c144 int on_off) in xhci_soft_reset() argument
150 if (on_off) { in xhci_soft_reset()
Dphy-brcm-usb-init.c739 int on_off) in brcmusb_xhci_soft_reset() argument
742 if (on_off) { in brcmusb_xhci_soft_reset()
/Linux-v6.6/sound/soc/codecs/
Dmt6660.c219 static int _mt6660_chip_power_on(struct mt6660_chip *chip, int on_off) in _mt6660_chip_power_on() argument
222 0x01, on_off ? 0x00 : 0x01); in _mt6660_chip_power_on()
/Linux-v6.6/drivers/tty/vt/
Dvt.c1836 static void set_mode(struct vc_data *vc, int on_off) in set_mode() argument
1844 if (on_off) in set_mode()
1857 if (vc->vc_decscnm != on_off) { in set_mode()
1858 vc->vc_decscnm = on_off; in set_mode()
1866 vc->vc_decom = on_off; in set_mode()
1870 vc->vc_decawm = on_off; in set_mode()
1873 if (on_off) in set_mode()
1879 vc->vc_report_mouse = on_off ? 1 : 0; in set_mode()
1882 vc->vc_deccm = on_off; in set_mode()
1885 vc->vc_report_mouse = on_off ? 2 : 0; in set_mode()
[all …]
/Linux-v6.6/drivers/accessibility/speakup/
Dmain.c1811 int on_off = 2; in do_handle_spec() local
1823 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in do_handle_spec()
1827 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in do_handle_spec()
1831 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in do_handle_spec()
1833 speakup_console[vc->vc_num]->tty_stopped = on_off; in do_handle_spec()
1840 if (on_off < 2) in do_handle_spec()
1842 label, spk_msg_get(MSG_STATUS_START + on_off)); in do_handle_spec()
/Linux-v6.6/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_tnrdmd.h172 u8 on_off; member
/Linux-v6.6/drivers/net/ethernet/cavium/liquidio/
Dlio_core.c1678 int liquidio_set_fec(struct lio *lio, int on_off) in liquidio_set_fec() argument
1689 if (oct->props[lio->ifidx].fec == on_off) in liquidio_set_fec()
1721 ncmd->s.param1 = on_off; in liquidio_set_fec()
1744 if (var != on_off) { in liquidio_set_fec()
1747 var, on_off); in liquidio_set_fec()
Docteon_network.h243 int liquidio_set_fec(struct lio *lio, int on_off);
/Linux-v6.6/sound/pci/asihpi/
Dhpifunc.c2109 u16 hpi_microphone_set_phantom_power(u32 h_control, u16 on_off) in hpi_microphone_set_phantom_power() argument
2112 (u32)on_off, 0); in hpi_microphone_set_phantom_power()
2118 u32 on_off = 0; in hpi_microphone_get_phantom_power() local
2120 HPI_MICROPHONE_PHANTOM_POWER, &on_off); in hpi_microphone_get_phantom_power()
2122 *pw_on_off = (u16)on_off; in hpi_microphone_get_phantom_power()
2184 u16 hpi_parametric_eq_set_state(u32 h_control, u16 on_off) in hpi_parametric_eq_set_state() argument
2187 on_off, 0); in hpi_parametric_eq_set_state()
Dhpi.h1584 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);
/Linux-v6.6/drivers/scsi/bfa/
Dbfa_fcpim.h409 bfa_status_t bfa_fcpim_lunmask_update(struct bfa_s *bfa, u32 on_off);
/Linux-v6.6/arch/arm/boot/dts/intel/pxa/
Dpxa300-raumfeld-common.dtsi101 label = "on_off button";

12