Searched refs:rfkill_dev (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/net/rfkill/ |
H A D | rfkill-gpio.c | 24 struct rfkill *rfkill_dev; member 141 rfkill->rfkill_dev = rfkill_alloc(rfkill->name, &pdev->dev, in rfkill_gpio_probe() 144 if (!rfkill->rfkill_dev) in rfkill_gpio_probe() 147 ret = rfkill_register(rfkill->rfkill_dev); in rfkill_gpio_probe() 158 rfkill_destroy(rfkill->rfkill_dev); in rfkill_gpio_probe() 167 rfkill_unregister(rfkill->rfkill_dev); in rfkill_gpio_remove() 168 rfkill_destroy(rfkill->rfkill_dev); in rfkill_gpio_remove()
|
H A D | core.c | 848 ATTRIBUTE_GROUPS(rfkill_dev);
|
/openbmc/linux/drivers/platform/x86/intel/ |
H A D | 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()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | acer-wmi.c | 1825 struct rfkill *rfkill_dev; in acer_rfkill_register() local 1829 rfkill_dev = rfkill_alloc(name, dev, type, in acer_rfkill_register() 1832 if (!rfkill_dev) in acer_rfkill_register() 1837 err = rfkill_register(rfkill_dev); in acer_rfkill_register() 1839 rfkill_destroy(rfkill_dev); in acer_rfkill_register() 1844 rfkill_set_sw_state(rfkill_dev, !state); in acer_rfkill_register() 1846 return rfkill_dev; in acer_rfkill_register()
|