/linux-6.1.9/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-6.1.9/drivers/accessibility/braille/ |
D | braille_console.c | 231 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/ |
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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/phy/broadcom/ |
D | phy-brcm-usb-init-synopsys.c | 139 int on_off) in xhci_soft_reset() argument 144 if (on_off) in xhci_soft_reset()
|
D | phy-brcm-usb-init.c | 712 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/ |
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-6.1.9/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-6.1.9/drivers/tty/vt/ |
D | vt.c | 1882 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/ |
D | main.c | 1797 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/ |
D | lio_core.c | 1663 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()
|
D | octeon_network.h | 243 int liquidio_set_fec(struct lio *lio, int on_off);
|
/linux-6.1.9/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_tnrdmd.h | 172 u8 on_off; member
|
/linux-6.1.9/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 | 1600 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/ |
D | bfa_fcpim.h | 409 bfa_status_t bfa_fcpim_lunmask_update(struct bfa_s *bfa, u32 on_off);
|
/linux-6.1.9/arch/arm/boot/dts/ |
D | pxa300-raumfeld-common.dtsi | 101 label = "on_off button";
|