Searched refs:swnode (Results 1 – 18 of 18) sorted by relevance
/drivers/base/ |
D | swnode.c | 16 struct swnode { struct 26 struct swnode *parent; argument 35 #define kobj_to_swnode(_kobj_) container_of(_kobj_, struct swnode, kobj) argument 51 struct swnode, fwnode) : NULL; \ 54 static inline struct swnode *dev_to_swnode(struct device *dev) in dev_to_swnode() 67 static struct swnode * 70 struct swnode *swnode = NULL; in software_node_to_swnode() local 79 swnode = kobj_to_swnode(k); in software_node_to_swnode() 80 if (swnode->node == node) in software_node_to_swnode() 82 swnode = NULL; in software_node_to_swnode() [all …]
|
D | Makefile | 9 swnode.o
|
/drivers/platform/chrome/ |
D | chromeos_laptop.c | 62 struct software_node swnode; member 181 error = device_add_software_node(&client->dev, &acpi_dev->swnode); in chromeos_laptop_adjust_client() 515 .swnode = { 522 .swnode = { 533 .swnode = { 540 .swnode = { 827 if (src_dev->swnode.properties) { in chromeos_laptop_prepare_acpi_peripherals() 828 acpi_dev->swnode.properties = in chromeos_laptop_prepare_acpi_peripherals() 829 property_entries_dup(src_dev->swnode.properties); in chromeos_laptop_prepare_acpi_peripherals() 830 if (IS_ERR(acpi_dev->swnode.properties)) { in chromeos_laptop_prepare_acpi_peripherals() [all …]
|
/drivers/mfd/ |
D | intel-lpss-acpi.c | 36 .swnode = &spt_i2c_node, 53 .swnode = &uart_node, 73 .swnode = &bxt_i2c_node, 89 .swnode = &apl_i2c_node, 94 .swnode = &spt_i2c_node,
|
D | intel-lpss-pci.c | 79 .swnode = &spt_i2c_node, 96 .swnode = &uart_node, 106 .swnode = &uart_node, 122 .swnode = &bxt_i2c_node, 138 .swnode = &apl_i2c_node, 154 .swnode = &glk_i2c_node, 159 .swnode = &spt_i2c_node, 164 .swnode = &bxt_i2c_node,
|
D | intel_quark_i2c_gpio.c | 209 cell->swnode = &intel_quark_i2c_controller_standard_node; in intel_quark_i2c_setup() 213 cell->swnode = (struct software_node *)dmi_id->driver_data; in intel_quark_i2c_setup() 234 cell->swnode = &intel_quark_gpio_controller_node; in intel_quark_gpio_setup()
|
D | mfd-core.c | 238 if (cell->swnode) { in mfd_add_device() 239 ret = device_add_software_node(&pdev->dev, cell->swnode); in mfd_add_device() 299 if (cell->swnode) in mfd_add_device() 372 if (cell->swnode) in mfd_remove_devices_fn()
|
D | intel-lpss.h | 25 const struct software_node *swnode; member
|
D | intel-lpss.c | 403 lpss->cell->swnode = info->swnode; in intel_lpss_probe()
|
D | axp20x.c | 732 .swnode = &axp288_fuel_gauge_sw_node,
|
/drivers/extcon/ |
D | extcon-axp288.c | 327 const struct software_node *swnode; in axp288_extcon_find_role_sw() local 333 swnode = software_node_find_by_name(NULL, "intel-xhci-usb-sw"); in axp288_extcon_find_role_sw() 334 if (!swnode) in axp288_extcon_find_role_sw() 337 fwnode = software_node_fwnode(swnode); in axp288_extcon_find_role_sw()
|
/drivers/platform/x86/intel/int33fe/ |
D | intel_cht_int33fe_microb.c | 50 board_info.swnode = &bq27xxx_node; in cht_int33fe_microb_probe()
|
/drivers/usb/dwc3/ |
D | dwc3-pci.c | 194 const struct software_node *swnode) in dwc3_pci_quirks() argument 253 return device_add_software_node(&dwc->dwc3->dev, swnode); in dwc3_pci_quirks()
|
/drivers/i2c/busses/ |
D | i2c-icy.c | 128 .swnode = &icy_ltc2990_node, in icy_probe()
|
D | i2c-nvidia-gpu.c | 281 i2cd->gpu_ccgx_ucsi->swnode = &ccgx_node; in gpu_populate_client()
|
D | i2c-cht-wc.c | 315 .swnode = &bq24190_node, in cht_wc_i2c_adap_i2c_probe()
|
/drivers/i2c/ |
D | i2c-core-base.c | 957 if (info->swnode) { in i2c_new_client_device() 958 status = device_add_software_node(&client->dev, info->swnode); in i2c_new_client_device()
|
/drivers/spi/ |
D | spi.c | 742 if (chip->swnode) { in spi_new_device() 743 status = device_add_software_node(&proxy->dev, chip->swnode); in spi_new_device()
|