/Linux-v6.6/drivers/gnss/ |
D | sirf.c | 44 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/ |
D | braille_console.c | 230 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/ |
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) 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/ |
D | opl3_drums.c | 169 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()
|
D | opl3_voice.h | 31 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/ |
D | phy-intel-keembay-emmc.c | 53 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()
|
D | phy-intel-lgm-emmc.c | 51 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/ |
D | apds9802als.c | 159 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/ |
D | platsmp.c | 45 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/ |
D | phy-rockchip-emmc.c | 93 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/ |
D | powertec.c | 103 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()
|
D | cumana_2.c | 123 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()
|
D | eesox.c | 122 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/ |
D | phy-brcm-usb-init-synopsys.c | 144 int on_off) in xhci_soft_reset() argument 150 if (on_off) { in xhci_soft_reset()
|
D | phy-brcm-usb-init.c | 739 int on_off) in brcmusb_xhci_soft_reset() argument 742 if (on_off) { in brcmusb_xhci_soft_reset()
|
/Linux-v6.6/sound/soc/codecs/ |
D | mt6660.c | 219 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/ |
D | vt.c | 1836 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/ |
D | main.c | 1811 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/ |
D | cxd2880_tnrdmd.h | 172 u8 on_off; member
|
/Linux-v6.6/drivers/net/ethernet/cavium/liquidio/ |
D | lio_core.c | 1678 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()
|
D | octeon_network.h | 243 int liquidio_set_fec(struct lio *lio, int on_off);
|
/Linux-v6.6/sound/pci/asihpi/ |
D | hpifunc.c | 2109 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()
|
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);
|
/Linux-v6.6/drivers/scsi/bfa/ |
D | bfa_fcpim.h | 409 bfa_status_t bfa_fcpim_lunmask_update(struct bfa_s *bfa, u32 on_off);
|
/Linux-v6.6/arch/arm/boot/dts/intel/pxa/ |
D | pxa300-raumfeld-common.dtsi | 101 label = "on_off button";
|