Home
last modified time | relevance | path

Searched refs:turn_on (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/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() 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
/openbmc/linux/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()
/openbmc/linux/arch/x86/include/asm/
H A Dsyscalls.h13 long ksys_ioperm(unsigned long from, unsigned long num, int turn_on);
/openbmc/linux/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
/openbmc/linux/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()
/openbmc/openbmc/poky/bitbake/lib/bb/ui/
H A Dtaskexp_ncurses.py401 cursor_update(turn_on=False)
407 cursor_update(turn_on=True)
415 def cursor_update(self,turn_on=True): argument
429 if turn_on:
440 self.cursor_update(turn_on=False)
447 self.cursor_update(turn_on=True)
454 self.cursor_update(turn_on=False)
461 self.cursor_update(turn_on=True)
469 self.cursor_update(turn_on=False)
475 self.cursor_update(turn_on=True)
[all …]
/openbmc/linux/drivers/ssb/
H A Dssb_private.h20 int turn_on);
40 int turn_on) in ssb_pci_xtal() argument
H A Dpci.c84 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()
/openbmc/linux/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()
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/btcoexist/
H A Dhalbtc8723b2ant.c1208 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 Dhalbtc8821a2ant.c1122 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 Dhalbtc8192e2ant.c1195 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 Dhalbtc8821a1ant.c1003 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()
H A Dhalbtc8723b1ant.c1029 bool force_exec, bool turn_on, u8 type) in halbtc8723b1ant_ps_tdma() argument
1040 coex_dm->cur_ps_tdma_on = turn_on; in halbtc8723b1ant_ps_tdma()
1135 if (turn_on) { in halbtc8723b1ant_ps_tdma()
/openbmc/linux/drivers/net/wireless/realtek/rtw89/
H A Drtw8851b_rfk.c1774 bool turn_on) in _dpk_rxagc_onoff() argument
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()
H A Drtw8852c_rfk.c2523 static void _dpk_kip_pwr_clk_onoff(struct rtw89_dev *rtwdev, bool turn_on) in _dpk_kip_pwr_clk_onoff() argument
2525 rtw89_rfk_parser(rtwdev, turn_on ? &rtw8852c_dpk_kip_pwr_clk_on_defs_tbl : in _dpk_kip_pwr_clk_onoff()
/openbmc/linux/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()