Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/accessibility/braille/
Dbraille_console.c243 int on_off = -1; in keyboard_notifier_call() local
247 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in keyboard_notifier_call()
250 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in keyboard_notifier_call()
253 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in keyboard_notifier_call()
256 if (on_off == 1) in keyboard_notifier_call()
258 else if (on_off == 0) in keyboard_notifier_call()
/linux-3.4.99/drivers/macintosh/
Dmediabay.c52 void (*power)(struct media_bay_info *bay, int on_off);
176 ohare_mb_power(struct media_bay_info* bay, int on_off) in ohare_mb_power() argument
178 if (on_off) { in ohare_mb_power()
195 heathrow_mb_power(struct media_bay_info* bay, int on_off) in heathrow_mb_power() argument
197 if (on_off) { in heathrow_mb_power()
214 keylargo_mb_power(struct media_bay_info* bay, int on_off) in keylargo_mb_power() argument
216 if (on_off) { in keylargo_mb_power()
/linux-3.4.99/sound/drivers/opl3/
Dopl3_drums.c185 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int vel, int on_off, in snd_opl3_drum_switch() argument
198 if (on_off) { in snd_opl3_drum_switch()
Dopl3_voice.h44 void snd_opl3_drum_switch(struct snd_opl3 *opl3, int note, int on_off, int vel, struct snd_midi_cha…
/linux-3.4.99/drivers/misc/
Dapds9802als.c171 static int als_set_power_state(struct i2c_client *client, bool on_off) in als_set_power_state() argument
180 if (on_off) in als_set_power_state()
/linux-3.4.99/arch/arm/plat-omap/include/plat/
Dboard.h119 void (*set_power)(struct omap_pwm_led_platform_data *self, int on_off);
/linux-3.4.99/arch/arm/mach-tegra/
Dtegra2_clocks.c539 unsigned int on_off; in tegra2_blink_clk_init() local
541 on_off = (val >> PMC_BLINK_TIMER_DATA_ON_SHIFT) & in tegra2_blink_clk_init()
545 on_off += val; in tegra2_blink_clk_init()
547 c->div = on_off * 4; in tegra2_blink_clk_init()
584 unsigned int on_off; in tegra2_blink_clk_set_rate() local
587 on_off = DIV_ROUND_UP(parent_rate / 8, rate); in tegra2_blink_clk_set_rate()
588 c->div = on_off * 8; in tegra2_blink_clk_set_rate()
590 val = (on_off & PMC_BLINK_TIMER_DATA_ON_MASK) << in tegra2_blink_clk_set_rate()
592 on_off &= PMC_BLINK_TIMER_DATA_OFF_MASK; in tegra2_blink_clk_set_rate()
593 on_off <<= PMC_BLINK_TIMER_DATA_OFF_SHIFT; in tegra2_blink_clk_set_rate()
[all …]
Dtegra30_clocks.c741 unsigned int on_off; in tegra30_blink_clk_init() local
743 on_off = (val >> PMC_BLINK_TIMER_DATA_ON_SHIFT) & in tegra30_blink_clk_init()
747 on_off += val; in tegra30_blink_clk_init()
749 c->div = on_off * 4; in tegra30_blink_clk_init()
786 unsigned int on_off; in tegra30_blink_clk_set_rate() local
789 on_off = DIV_ROUND_UP(parent_rate / 8, rate); in tegra30_blink_clk_set_rate()
790 c->div = on_off * 8; in tegra30_blink_clk_set_rate()
792 val = (on_off & PMC_BLINK_TIMER_DATA_ON_MASK) << in tegra30_blink_clk_set_rate()
794 on_off &= PMC_BLINK_TIMER_DATA_OFF_MASK; in tegra30_blink_clk_set_rate()
795 on_off <<= PMC_BLINK_TIMER_DATA_OFF_SHIFT; in tegra30_blink_clk_set_rate()
[all …]
/linux-3.4.99/drivers/scsi/arm/
Dpowertec.c102 powertecscsi_terminator_ctl(struct Scsi_Host *host, int on_off) in powertecscsi_terminator_ctl() argument
106 info->term_ctl = on_off ? POWERTEC_TERM_ENABLE : 0; in powertecscsi_terminator_ctl()
Dcumana_2.c122 cumanascsi_2_terminator_ctl(struct Scsi_Host *host, int on_off) in cumanascsi_2_terminator_ctl() argument
126 if (on_off) { in cumanascsi_2_terminator_ctl()
Deesox.c121 eesoxscsi_terminator_ctl(struct Scsi_Host *host, int on_off) in eesoxscsi_terminator_ctl() argument
127 if (on_off) in eesoxscsi_terminator_ctl()
/linux-3.4.99/drivers/tty/vt/
Dvt.c1420 static void set_mode(struct vc_data *vc, int on_off) in set_mode() argument
1428 if (on_off) in set_mode()
1434 vc->vc_deccolm = on_off; in set_mode()
1442 if (vc->vc_decscnm != on_off) { in set_mode()
1443 vc->vc_decscnm = on_off; in set_mode()
1449 vc->vc_decom = on_off; in set_mode()
1453 vc->vc_decawm = on_off; in set_mode()
1456 if (on_off) in set_mode()
1462 vc->vc_report_mouse = on_off ? 1 : 0; in set_mode()
1465 vc->vc_deccm = on_off; in set_mode()
[all …]
/linux-3.4.99/drivers/staging/speakup/
Dmain.c1723 int on_off = 2; in do_handle_spec() local
1734 on_off = vt_get_leds(fg_console, VC_CAPSLOCK); in do_handle_spec()
1738 on_off = vt_get_leds(fg_console, VC_NUMLOCK); in do_handle_spec()
1742 on_off = vt_get_leds(fg_console, VC_SCROLLOCK); in do_handle_spec()
1744 speakup_console[vc->vc_num]->tty_stopped = on_off; in do_handle_spec()
1751 if (on_off < 2) in do_handle_spec()
1753 label, spk_msg_get(MSG_STATUS_START + on_off)); in do_handle_spec()
/linux-3.4.99/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.h1603 u16 hpi_microphone_set_phantom_power(u32 h_control, u16 on_off);
1613 u16 hpi_parametric_eq_set_state(u32 h_control, u16 on_off);
/linux-3.4.99/drivers/scsi/bfa/
Dbfa_fcpim.h412 bfa_status_t bfa_fcpim_lunmask_update(struct bfa_s *bfa, u32 on_off);
/linux-3.4.99/drivers/net/fddi/skfp/
Dpcmplc.c1256 void sm_pm_ls_latch(struct s_smc *smc, int phy, int on_off) in sm_pm_ls_latch() argument
1261 phy = phy ; on_off = on_off ; in sm_pm_ls_latch()
/linux-3.4.99/drivers/net/fddi/skfp/h/
Dcmtdef.h511 void sm_pm_ls_latch(struct s_smc *smc, int phy, int on_off);
/linux-3.4.99/drivers/net/ethernet/neterion/vxge/
Dvxge-config.h2045 vxge_hw_device_flick_link_led(struct __vxge_hw_device *devh, u64 on_off);
Dvxge-config.c3626 vxge_hw_device_flick_link_led(struct __vxge_hw_device *hldev, u64 on_off) in vxge_hw_device_flick_link_led() argument
3639 data0 = on_off; in vxge_hw_device_flick_link_led()