Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/platform/x86/
Dthinkpad_acpi.c1181 struct tpacpi_rfk *atp_rfk; in tpacpi_new_rfkill() local
1189 atp_rfk = kzalloc(sizeof(struct tpacpi_rfk), GFP_KERNEL); in tpacpi_new_rfkill()
1190 if (atp_rfk) in tpacpi_new_rfkill()
1191 atp_rfk->rfkill = rfkill_alloc(name, in tpacpi_new_rfkill()
1195 atp_rfk); in tpacpi_new_rfkill()
1196 if (!atp_rfk || !atp_rfk->rfkill) { in tpacpi_new_rfkill()
1198 kfree(atp_rfk); in tpacpi_new_rfkill()
1202 atp_rfk->id = id; in tpacpi_new_rfkill()
1203 atp_rfk->ops = tp_rfkops; in tpacpi_new_rfkill()
1214 rfkill_init_sw_state(atp_rfk->rfkill, sw_state); in tpacpi_new_rfkill()
[all …]