Home
last modified time | relevance | path

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

12

/linux-6.1.9/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-6.1.9/drivers/accessibility/braille/
Dbraille_console.c231 int on_off = -1; in keyboard_notifier_call() local
235 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in keyboard_notifier_call()
238 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in keyboard_notifier_call()
241 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in keyboard_notifier_call()
244 if (on_off == 1) in keyboard_notifier_call()
246 else if (on_off == 0) in keyboard_notifier_call()
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/phy/broadcom/
Dphy-brcm-usb-init-synopsys.c139 int on_off) in xhci_soft_reset() argument
144 if (on_off) in xhci_soft_reset()
Dphy-brcm-usb-init.c712 int on_off) in brcmusb_xhci_soft_reset() argument
715 if (on_off) { in brcmusb_xhci_soft_reset()
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/tty/vt/
Dvt.c1882 static void set_mode(struct vc_data *vc, int on_off) in set_mode() argument
1890 if (on_off) in set_mode()
1903 if (vc->vc_decscnm != on_off) { in set_mode()
1904 vc->vc_decscnm = on_off; in set_mode()
1912 vc->vc_decom = on_off; in set_mode()
1916 vc->vc_decawm = on_off; in set_mode()
1919 if (on_off) in set_mode()
1925 vc->vc_report_mouse = on_off ? 1 : 0; in set_mode()
1928 vc->vc_deccm = on_off; in set_mode()
1931 vc->vc_report_mouse = on_off ? 2 : 0; in set_mode()
[all …]
/linux-6.1.9/drivers/accessibility/speakup/
Dmain.c1797 int on_off = 2; in do_handle_spec() local
1809 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in do_handle_spec()
1813 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in do_handle_spec()
1817 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in do_handle_spec()
1819 speakup_console[vc->vc_num]->tty_stopped = on_off; in do_handle_spec()
1826 if (on_off < 2) in do_handle_spec()
1828 label, spk_msg_get(MSG_STATUS_START + on_off)); in do_handle_spec()
/linux-6.1.9/drivers/net/ethernet/cavium/liquidio/
Dlio_core.c1663 int liquidio_set_fec(struct lio *lio, int on_off) in liquidio_set_fec() argument
1674 if (oct->props[lio->ifidx].fec == on_off) in liquidio_set_fec()
1706 ncmd->s.param1 = on_off; in liquidio_set_fec()
1729 if (var != on_off) { in liquidio_set_fec()
1732 var, on_off); in liquidio_set_fec()
Docteon_network.h243 int liquidio_set_fec(struct lio *lio, int on_off);
/linux-6.1.9/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_tnrdmd.h172 u8 on_off; member
/linux-6.1.9/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.h1600 u16 hpi_microphone_set_phantom_power(u32 h_control, u16 on_off);
1610 u16 hpi_parametric_eq_set_state(u32 h_control, u16 on_off);
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_fcpim.h409 bfa_status_t bfa_fcpim_lunmask_update(struct bfa_s *bfa, u32 on_off);
/linux-6.1.9/arch/arm/boot/dts/
Dpxa300-raumfeld-common.dtsi101 label = "on_off button";

12