/linux/arch/x86/kernel/ |
H A D | ioport.c | 65 long ksys_ioperm(unsigned long from, unsigned long num, int turn_on) in ksys_ioperm() argument 73 if (turn_on && (!capable(CAP_SYS_RAWIO) || in ksys_ioperm() 85 if (!turn_on) in ksys_ioperm() 121 if (turn_on) in ksys_ioperm() 152 SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on) in SYSCALL_DEFINE3() argument 154 return ksys_ioperm(from, num, turn_on); in SYSCALL_DEFINE3() 202 long ksys_ioperm(unsigned long from, unsigned long num, int turn_on) in ksys_ioperm() argument 206 SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on) in SYSCALL_DEFINE3() argument
|
/linux/drivers/thermal/ |
H A D | gov_bang_bang.c | 92 bool turn_on; in bang_bang_manage() local 103 turn_on = tz->temperature >= td->threshold; in bang_bang_manage() 106 bang_bang_set_instance_target(instance, turn_on); in bang_bang_manage()
|
/linux/drivers/net/wireless/broadcom/b43/ |
H A D | leds.c | 51 bool turn_on; in b43_led_update() local 62 turn_on = atomic_read(&led->state) != LED_OFF; in b43_led_update() 64 turn_on = false; in b43_led_update() 65 if (turn_on == led->hw_state) in b43_led_update() 67 led->hw_state = turn_on; in b43_led_update() 69 if (turn_on) in b43_led_update()
|
/linux/drivers/media/usb/as102/ |
H A D | as10x_cmd.c | 28 sizeof(pcmd->body.turn_on.req)); in as10x_cmd_turn_on() 31 pcmd->body.turn_on.req.proc_id = cpu_to_le16(CONTROL_PROC_TURNON); in as10x_cmd_turn_on() 36 sizeof(pcmd->body.turn_on.req) + in as10x_cmd_turn_on() 39 sizeof(prsp->body.turn_on.rsp) + in as10x_cmd_turn_on()
|
H A D | as10x_cmd.h | 438 union as10x_turn_on turn_on; member
|
/linux/arch/x86/include/asm/ |
H A D | syscalls.h | 13 long ksys_ioperm(unsigned long from, unsigned long num, int turn_on);
|
/linux/drivers/ssb/ |
H A D | ssb_private.h | 20 int turn_on); 40 int turn_on) in ssb_pci_xtal() argument
|
H A D | pci.c | 84 int ssb_pci_xtal(struct ssb_bus *bus, u32 what, int turn_on) in ssb_pci_xtal() argument 105 if (turn_on) { in ssb_pci_xtal()
|
/linux/drivers/staging/greybus/ |
H A D | vibrator.c | 42 static int turn_on(struct gb_vibrator_device *vib, u16 timeout_ms) in turn_on() function 92 retval = turn_on(vib, (u16)val); in timeout_store()
|
/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/ |
H A D | halbtc8723b2ant.c | 1208 bool turn_on, u8 type) in btc8723b2ant_ps_tdma() argument 1226 (turn_on ? "ON" : "OFF"), type); in btc8723b2ant_ps_tdma() 1227 coex_dm->cur_ps_tdma_on = turn_on; in btc8723b2ant_ps_tdma() 1231 BTC_RSSI_HIGH(bt_rssi_state)) && turn_on) { in btc8723b2ant_ps_tdma() 1286 if (turn_on) { in btc8723b2ant_ps_tdma()
|
H A D | halbtc8821a2ant.c | 1122 bool force_exec, bool turn_on, u8 type) in btc8821a2ant_ps_tdma() argument 1135 turn_on) { in btc8821a2ant_ps_tdma() 1142 (force_exec ? "force to" : ""), (turn_on ? "ON" : "OFF"), in btc8821a2ant_ps_tdma() 1144 coex_dm->cur_ps_tdma_on = turn_on; in btc8821a2ant_ps_tdma() 1159 if (turn_on) { in btc8821a2ant_ps_tdma()
|
H A D | halbtc8192e2ant.c | 1195 bool force_exec, bool turn_on, u8 type) in btc8192e2ant_ps_tdma() argument 1202 (turn_on ? "ON" : "OFF"), type); in btc8192e2ant_ps_tdma() 1203 coex_dm->cur_ps_tdma_on = turn_on; in btc8192e2ant_ps_tdma() 1218 if (turn_on) { in btc8192e2ant_ps_tdma()
|
H A D | halbtc8821a1ant.c | 1003 bool force_exec, bool turn_on, u8 type) in btc8821a1ant_ps_tdma() argument 1008 coex_dm->cur_ps_tdma_on = turn_on; in btc8821a1ant_ps_tdma() 1025 if (turn_on) { in btc8821a1ant_ps_tdma()
|
/linux/drivers/net/wireless/realtek/rtw89/ |
H A D | rtw8851b_rfk.c | 1778 bool turn_on) in _dpk_rxagc_onoff() argument 1781 rtw89_phy_write32_mask(rtwdev, R_P0_AGC_CTL, B_P0_AGC_EN, turn_on); in _dpk_rxagc_onoff() 1783 rtw89_phy_write32_mask(rtwdev, R_P1_AGC_CTL, B_P1_AGC_EN, turn_on); in _dpk_rxagc_onoff() 1786 turn_on ? "turn_on" : "turn_off"); in _dpk_rxagc_onoff() 1860 static void _dpk_kip_pwr_clk_onoff(struct rtw89_dev *rtwdev, bool turn_on) in _dpk_kip_pwr_clk_onoff() argument 1862 if (turn_on) { in _dpk_kip_pwr_clk_onoff()
|
H A D | rtw8852c_rfk.c | 2529 static void _dpk_kip_pwr_clk_onoff(struct rtw89_dev *rtwdev, bool turn_on) in _dpk_kip_pwr_clk_onoff() argument 2531 rtw89_rfk_parser(rtwdev, turn_on ? &rtw8852c_dpk_kip_pwr_clk_on_defs_tbl : in _dpk_kip_pwr_clk_onoff()
|
/linux/drivers/net/wireless/realtek/rtw88/ |
H A D | coex.c | 1225 bool turn_on; in rtw_coex_tdma() local 1235 turn_on = (type == 0 || type == 100) ? false : true; in rtw_coex_tdma() 1237 if (!force && turn_on == coex_dm->cur_ps_tdma_on && in rtw_coex_tdma() 1256 coex_dm->cur_ps_tdma_on = turn_on; in rtw_coex_tdma() 1280 turn_on ? "on" : "off", type); in rtw_coex_tdma()
|
/linux/drivers/gpu/drm/i915/display/ |
H A D | i9xx_wm.c | 734 bool turn_off, turn_on, visible, was_visible, mode_changed; in i9xx_wm_compute() local 744 turn_on = visible && (!was_visible || mode_changed); in i9xx_wm_compute() 747 if (turn_on) { in i9xx_wm_compute()
|