Home
last modified time | relevance | path

Searched refs:turn_on (Results 1 - 25 of 32) sorted by relevance

12

/kernel/linux/linux-5.10/arch/x86/kernel/
H A Dioport.c65 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()
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()
/kernel/linux/linux-6.6/arch/x86/kernel/
H A Dioport.c65 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()
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()
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/b43/
H A Dleds.c51 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()
/kernel/linux/linux-6.6/drivers/net/wireless/broadcom/b43/
H A Dleds.c51 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()
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dsyscalls.h13 long ksys_ioperm(unsigned long from, unsigned long num, int turn_on);
/kernel/linux/linux-6.6/arch/x86/include/asm/
H A Dsyscalls.h13 long ksys_ioperm(unsigned long from, unsigned long num, int turn_on);
/kernel/linux/linux-5.10/drivers/media/usb/as102/
H A Das10x_cmd.c28 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 Das10x_cmd.h438 union as10x_turn_on turn_on; member
/kernel/linux/linux-6.6/drivers/media/usb/as102/
H A Das10x_cmd.c28 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 Das10x_cmd.h438 union as10x_turn_on turn_on; member
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Dvibrator.c42 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()
/kernel/linux/linux-5.10/drivers/ssb/
H A Dssb_private.h20 int turn_on);
40 int turn_on) in ssb_pci_xtal()
39 ssb_pci_xtal(struct ssb_bus *bus, u32 what, int turn_on) ssb_pci_xtal() argument
/kernel/linux/linux-6.6/drivers/ssb/
H A Dssb_private.h20 int turn_on);
40 int turn_on) in ssb_pci_xtal()
39 ssb_pci_xtal(struct ssb_bus *bus, u32 what, int turn_on) ssb_pci_xtal() argument
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Dvibrator.c42 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()
/kernel/linux/linux-6.6/drivers/gpu/drm/i915/display/
H A Dintel_atomic_plane.c444 bool modeset, turn_on, turn_off; in i9xx_must_disable_cxsr() local
451 turn_on = new_visible && (!old_visible || modeset); in i9xx_must_disable_cxsr()
454 if (turn_on || turn_off) in i9xx_must_disable_cxsr()
487 bool turn_off, turn_on, visible, was_visible; in intel_plane_atomic_calc_changes() local
521 turn_on = visible && (!was_visible || mode_changed); in intel_plane_atomic_calc_changes()
528 turn_off, turn_on, mode_changed); in intel_plane_atomic_calc_changes()
530 if (turn_on) { in intel_plane_atomic_calc_changes()
587 (turn_on || (!intel_plane_is_scaled(old_plane_state) && in intel_plane_atomic_calc_changes()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtw88/
H A Dcoex.c905 bool turn_on; in rtw_coex_tdma() local
915 turn_on = (type == 0 || type == 100) ? false : true; in rtw_coex_tdma()
918 if (turn_on == coex_dm->cur_ps_tdma_on && in rtw_coex_tdma()
925 if (turn_on) in rtw_coex_tdma()
957 coex_dm->cur_ps_tdma_on = turn_on; in rtw_coex_tdma()
/kernel/linux/linux-5.10/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Dhalbtc8192e2ant.c1195 bool force_exec, bool turn_on, u8 type) in btc8192e2ant_ps_tdma()
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()
1194 btc8192e2ant_ps_tdma(struct btc_coexist *btcoexist, bool force_exec, bool turn_on, u8 type) btc8192e2ant_ps_tdma() argument
H A Dhalbtc8723b2ant.c1208 bool turn_on, u8 type) in btc8723b2ant_ps_tdma()
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()
1207 btc8723b2ant_ps_tdma(struct btc_coexist *btcoexist, bool force_exec, bool turn_on, u8 type) btc8723b2ant_ps_tdma() argument
H A Dhalbtc8821a2ant.c1122 bool force_exec, bool turn_on, u8 type) in btc8821a2ant_ps_tdma()
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()
1121 btc8821a2ant_ps_tdma(struct btc_coexist *btcoexist, bool force_exec, bool turn_on, u8 type) btc8821a2ant_ps_tdma() argument
H A Dhalbtc8821a1ant.c1003 bool force_exec, bool turn_on, u8 type) in btc8821a1ant_ps_tdma()
1008 coex_dm->cur_ps_tdma_on = turn_on; in btc8821a1ant_ps_tdma()
1025 if (turn_on) { in btc8821a1ant_ps_tdma()
1002 btc8821a1ant_ps_tdma(struct btc_coexist *btcoexist, bool force_exec, bool turn_on, u8 type) btc8821a1ant_ps_tdma() argument
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Dhalbtc8192e2ant.c1195 bool force_exec, bool turn_on, u8 type) in btc8192e2ant_ps_tdma()
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()
1194 btc8192e2ant_ps_tdma(struct btc_coexist *btcoexist, bool force_exec, bool turn_on, u8 type) btc8192e2ant_ps_tdma() argument
H A Dhalbtc8723b2ant.c1208 bool turn_on, u8 type) in btc8723b2ant_ps_tdma()
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()
1207 btc8723b2ant_ps_tdma(struct btc_coexist *btcoexist, bool force_exec, bool turn_on, u8 type) btc8723b2ant_ps_tdma() argument
H A Dhalbtc8821a2ant.c1122 bool force_exec, bool turn_on, u8 type) in btc8821a2ant_ps_tdma()
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()
1121 btc8821a2ant_ps_tdma(struct btc_coexist *btcoexist, bool force_exec, bool turn_on, u8 type) btc8821a2ant_ps_tdma() argument
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/
H A Dcoex.c1201 bool turn_on; in rtw_coex_tdma() local
1211 turn_on = (type == 0 || type == 100) ? false : true; in rtw_coex_tdma()
1213 if (!force && turn_on == coex_dm->cur_ps_tdma_on && in rtw_coex_tdma()
1232 coex_dm->cur_ps_tdma_on = turn_on; in rtw_coex_tdma()
1256 turn_on ? "on" : "off", type); in rtw_coex_tdma()
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw89/
H A Drtw8851b_rfk.c1774 bool turn_on) in _dpk_rxagc_onoff()
1777 rtw89_phy_write32_mask(rtwdev, R_P0_AGC_CTL, B_P0_AGC_EN, turn_on); in _dpk_rxagc_onoff()
1779 rtw89_phy_write32_mask(rtwdev, R_P1_AGC_CTL, B_P1_AGC_EN, turn_on); in _dpk_rxagc_onoff()
1782 turn_on ? "turn_on" : "turn_off"); in _dpk_rxagc_onoff()
1856 static void _dpk_kip_pwr_clk_onoff(struct rtw89_dev *rtwdev, bool turn_on) in _dpk_kip_pwr_clk_onoff() argument
1858 if (turn_on) { in _dpk_kip_pwr_clk_onoff()
1773 _dpk_rxagc_onoff(struct rtw89_dev *rtwdev, enum rtw89_rf_path path, bool turn_on) _dpk_rxagc_onoff() argument

Completed in 47 milliseconds

12