turn_on
long ksys_ioperm(unsigned long from, unsigned long num, int turn_on);
if (turn_on)
SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on)
return ksys_ioperm(from, num, turn_on);
long ksys_ioperm(unsigned long from, unsigned long num, int turn_on)
SYSCALL_DEFINE3(ioperm, unsigned long, from, unsigned long, num, int, turn_on)
long ksys_ioperm(unsigned long from, unsigned long num, int turn_on)
if (turn_on && (!capable(CAP_SYS_RAWIO) ||
if (!turn_on)
bool turn_off, turn_on, visible, was_visible, mode_changed;
turn_on = visible && (!was_visible || mode_changed);
if (turn_on) {
bool modeset, turn_on, turn_off;
turn_on = new_visible && (!old_visible || modeset);
if (turn_on || turn_off)
bool modeset, turn_on;
turn_on = new_visible && (!old_visible || modeset);
if (turn_on)
bool turn_off, turn_on, visible, was_visible;
turn_on = visible && (!was_visible || mode_changed);
turn_off, turn_on, mode_changed);
sizeof(pcmd->body.turn_on.req));
pcmd->body.turn_on.req.proc_id = cpu_to_le16(CONTROL_PROC_TURNON);
sizeof(pcmd->body.turn_on.req) +
sizeof(prsp->body.turn_on.rsp) +
union as10x_turn_on turn_on;
bool turn_on;
turn_on = atomic_read(&led->state) != LED_OFF;
turn_on = false;
if (turn_on == led->hw_state)
led->hw_state = turn_on;
if (turn_on)
bool force_exec, bool turn_on, u8 type)
(turn_on ? "ON" : "OFF"), type);
coex_dm->cur_ps_tdma_on = turn_on;
if (turn_on) {
bool force_exec, bool turn_on, u8 type)
coex_dm->cur_ps_tdma_on = turn_on;
if (turn_on) {
bool turn_on, u8 type)
(turn_on ? "ON" : "OFF"), type);
coex_dm->cur_ps_tdma_on = turn_on;
BTC_RSSI_HIGH(bt_rssi_state)) && turn_on) {
if (turn_on) {
bool force_exec, bool turn_on, u8 type)
coex_dm->cur_ps_tdma_on = turn_on;
if (turn_on) {
bool force_exec, bool turn_on, u8 type)
turn_on) {
(force_exec ? "force to" : ""), (turn_on ? "ON" : "OFF"),
coex_dm->cur_ps_tdma_on = turn_on;
if (turn_on) {
bool turn_on;
turn_on = (type == 0 || type == 100) ? false : true;
if (!force && turn_on == coex_dm->cur_ps_tdma_on &&
coex_dm->cur_ps_tdma_on = turn_on;
turn_on ? "on" : "off", type);
bool turn_on)
rtw89_phy_write32_mask(rtwdev, R_P0_AGC_CTL, B_P0_AGC_EN, turn_on);
rtw89_phy_write32_mask(rtwdev, R_P1_AGC_CTL, B_P1_AGC_EN, turn_on);
turn_on ? "turn_on" : "turn_off");
static void _dpk_kip_pwr_clk_onoff(struct rtw89_dev *rtwdev, bool turn_on)
if (turn_on) {
static void _dpk_kip_pwr_clk_onoff(struct rtw89_dev *rtwdev, bool turn_on)
rtw89_rfk_parser(rtwdev, turn_on ? &rtw8852c_dpk_kip_pwr_clk_on_defs_tbl :
if (turn_on) {
int ssb_pci_xtal(struct ssb_bus *bus, u32 what, int turn_on)
int turn_on);
int turn_on)
retval = turn_on(vib, (u16)val);
turn_on = tz->temperature >= td->threshold;
bang_bang_set_instance_target(instance, turn_on);
bool turn_on;