Searched refs:rfkill_dev (Results 1 – 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/net/rfkill/ |
D | rfkill-gpio.c | 23 struct rfkill *rfkill_dev; member 119 rfkill->rfkill_dev = rfkill_alloc(rfkill->name, &pdev->dev, in rfkill_gpio_probe() 122 if (!rfkill->rfkill_dev) in rfkill_gpio_probe() 125 ret = rfkill_register(rfkill->rfkill_dev); in rfkill_gpio_probe() 136 rfkill_destroy(rfkill->rfkill_dev); in rfkill_gpio_probe() 145 rfkill_unregister(rfkill->rfkill_dev); in rfkill_gpio_remove() 146 rfkill_destroy(rfkill->rfkill_dev); in rfkill_gpio_remove()
|
D | core.c | 801 ATTRIBUTE_GROUPS(rfkill_dev);
|
/kernel/linux/linux-5.10/drivers/platform/x86/ |
D | intel_oaktrail.c | 120 struct rfkill *rfkill_dev; in oaktrail_rfkill_new() local 124 rfkill_dev = rfkill_alloc(name, &oaktrail_device->dev, type, in oaktrail_rfkill_new() 126 if (!rfkill_dev) in oaktrail_rfkill_new() 130 rfkill_init_sw_state(rfkill_dev, (value & mask) != 1); in oaktrail_rfkill_new() 132 err = rfkill_register(rfkill_dev); in oaktrail_rfkill_new() 134 rfkill_destroy(rfkill_dev); in oaktrail_rfkill_new() 138 return rfkill_dev; in oaktrail_rfkill_new()
|
D | acer-wmi.c | 1708 struct rfkill *rfkill_dev; in acer_rfkill_register() local 1712 rfkill_dev = rfkill_alloc(name, dev, type, in acer_rfkill_register() 1715 if (!rfkill_dev) in acer_rfkill_register() 1720 err = rfkill_register(rfkill_dev); in acer_rfkill_register() 1722 rfkill_destroy(rfkill_dev); in acer_rfkill_register() 1727 rfkill_set_sw_state(rfkill_dev, !state); in acer_rfkill_register() 1729 return rfkill_dev; in acer_rfkill_register()
|