Home
last modified time | relevance | path

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

/drivers/base/
Dswnode.c16 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 …]
DMakefile9 swnode.o
/drivers/platform/chrome/
Dchromeos_laptop.c62 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/
Dintel-lpss-acpi.c36 .swnode = &spt_i2c_node,
53 .swnode = &uart_node,
73 .swnode = &bxt_i2c_node,
89 .swnode = &apl_i2c_node,
94 .swnode = &spt_i2c_node,
Dintel-lpss-pci.c79 .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,
Dintel_quark_i2c_gpio.c209 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()
Dmfd-core.c238 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()
Dintel-lpss.h25 const struct software_node *swnode; member
Dintel-lpss.c403 lpss->cell->swnode = info->swnode; in intel_lpss_probe()
Daxp20x.c732 .swnode = &axp288_fuel_gauge_sw_node,
/drivers/extcon/
Dextcon-axp288.c327 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/
Dintel_cht_int33fe_microb.c50 board_info.swnode = &bq27xxx_node; in cht_int33fe_microb_probe()
/drivers/usb/dwc3/
Ddwc3-pci.c194 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/
Di2c-icy.c128 .swnode = &icy_ltc2990_node, in icy_probe()
Di2c-nvidia-gpu.c281 i2cd->gpu_ccgx_ucsi->swnode = &ccgx_node; in gpu_populate_client()
Di2c-cht-wc.c315 .swnode = &bq24190_node, in cht_wc_i2c_adap_i2c_probe()
/drivers/i2c/
Di2c-core-base.c957 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/
Dspi.c742 if (chip->swnode) { in spi_new_device()
743 status = device_add_software_node(&proxy->dev, chip->swnode); in spi_new_device()