/linux-6.12.1/drivers/base/ |
D | swnode.c | 27 struct swnode { struct 37 struct swnode *parent; argument 46 #define kobj_to_swnode(_kobj_) container_of(_kobj_, struct swnode, kobj) argument 62 struct swnode, fwnode) : NULL; \ 65 static inline struct swnode *dev_to_swnode(struct device *dev) in dev_to_swnode() 78 static struct swnode * 81 struct swnode *swnode = NULL; in software_node_to_swnode() local 90 swnode = kobj_to_swnode(k); in software_node_to_swnode() 91 if (swnode->node == node) in software_node_to_swnode() 93 swnode = NULL; in software_node_to_swnode() [all …]
|
D | Makefile | 9 swnode.o
|
/linux-6.12.1/drivers/mfd/ |
D | intel-lpss-acpi.c | 38 .swnode = &spt_spi_node, 52 .swnode = &spt_i2c_node, 69 .swnode = &uart_node, 83 .swnode = &bxt_spi_node, 99 .swnode = &bxt_i2c_node, 115 .swnode = &apl_i2c_node, 129 .swnode = &cnl_spi_node, 134 .swnode = &spt_i2c_node,
|
D | intel-lpss-pci.c | 108 .swnode = &spt_spi_node, 122 .swnode = &spt_i2c_node, 139 .swnode = &uart_node, 153 .swnode = &bxt_spi_node, 159 .swnode = &uart_node, 175 .swnode = &bxt_i2c_node, 191 .swnode = &apl_i2c_node, 207 .swnode = &glk_i2c_node, 221 .swnode = &cnl_spi_node, 226 .swnode = &spt_i2c_node, [all …]
|
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 | 224 if (cell->swnode) { in mfd_add_device() 225 ret = device_add_software_node(&pdev->dev, cell->swnode); in mfd_add_device() 285 if (cell->swnode) in mfd_add_device() 359 if (cell->swnode) in mfd_remove_devices_fn()
|
D | intel-lpss.h | 38 const struct software_node *swnode; member
|
D | intel-lpss.c | 421 lpss->cell->swnode = info->swnode; in intel_lpss_probe()
|
/linux-6.12.1/drivers/platform/x86/x86-android-tablets/ |
D | other.c | 61 .swnode = &acer_b1_750_bma250e_node, 160 .swnode = &chuwi_hi8_gsl1680_node, 174 .swnode = &chuwi_hi8_bma250e_node, 313 .swnode = &medion_lifetab_s10346_accel_node, 330 .swnode = &medion_lifetab_s10346_touchscreen_node, 395 .swnode = &nextbook_ares8_accel_node, 404 .swnode = &nextbook_ares8_touchscreen_node, 454 .swnode = &nextbook_ares8a_accel_node, 463 .swnode = &nextbook_ares8_touchscreen_node, 559 .swnode = &whitelabel_tm800a550l_goodix_node, [all …]
|
D | lenovo.c | 102 .swnode = &fg_bq25890_supply_node, 128 .swnode = &lenovo_yb1_x90_wacom_node, 154 .swnode = &lenovo_yb1_x90_hideep_ts_node, 273 .swnode = &fg_bq25890_supply_node, 339 .swnode = &lenovo_yoga_tab2_830_1050_bq24190_node, 357 .swnode = &fg_bq24190_supply_node, 472 lenovo_yoga_tab2_830_1050_i2c_clients[0].board_info.swnode = in lenovo_yoga_tab2_830_1050_init_touchscreen() 639 .swnode = &fg_bq24190_supply_node, 648 .swnode = &lenovo_yoga_tab2_1380_bq24190_node, 675 .swnode = &lenovo_yoga_tab2_1380_lc824206xa_node, [all …]
|
D | asus.c | 87 .swnode = &asus_me176c_bq24190_node, 103 .swnode = &asus_me176c_ug3105_node, 120 .swnode = &asus_me176c_accel_node, 255 .swnode = &asus_tf103c_bq24190_node, 271 .swnode = &asus_tf103c_ug3105_node, 288 .swnode = &asus_tf103c_accel_node, 297 .swnode = &asus_tf103c_touchscreen_node,
|
/linux-6.12.1/drivers/gpio/ |
D | gpio-sim.c | 421 static int gpio_sim_add_bank(struct fwnode_handle *swnode, struct device *dev) in gpio_sim_add_bank() argument 429 ret = fwnode_property_read_u32(swnode, "ngpios", &num_lines); in gpio_sim_add_bank() 436 ret = fwnode_property_read_string(swnode, "gpio-sim,label", &label); in gpio_sim_add_bank() 439 dev_name(dev), swnode); in gpio_sim_add_bank() 467 chip->irq_sim = devm_irq_domain_create_sim_full(dev, swnode, num_lines, in gpio_sim_add_bank() 487 gc->fwnode = swnode; in gpio_sim_add_bank() 506 chip->dev = device_find_child(dev, swnode, gpio_sim_dev_match_fwnode); in gpio_sim_add_bank() 523 struct fwnode_handle *swnode; in gpio_sim_probe() local 526 device_for_each_child_node(dev, swnode) { in gpio_sim_probe() 527 ret = gpio_sim_add_bank(swnode, dev); in gpio_sim_probe() [all …]
|
D | gpiolib-swnode.c | 63 const struct software_node *swnode; in swnode_find_gpio() local 69 swnode = to_software_node(fwnode); in swnode_find_gpio() 70 if (!swnode) in swnode_find_gpio()
|
D | gpio-virtuser.c | 1471 struct fwnode_handle *swnode; in gpio_virtuser_device_activate() local 1480 swnode = gpio_virtuser_make_device_swnode(dev); in gpio_virtuser_device_activate() 1481 if (IS_ERR(swnode)) in gpio_virtuser_device_activate() 1482 return PTR_ERR(swnode); in gpio_virtuser_device_activate() 1487 pdevinfo.fwnode = swnode; in gpio_virtuser_device_activate() 1491 fwnode_remove_software_node(swnode); in gpio_virtuser_device_activate() 1502 fwnode_remove_software_node(swnode); in gpio_virtuser_device_activate() 1511 fwnode_remove_software_node(swnode); in gpio_virtuser_device_activate() 1523 struct fwnode_handle *swnode; in gpio_virtuser_device_deactivate() local 1527 swnode = dev_fwnode(&dev->pdev->dev); in gpio_virtuser_device_deactivate() [all …]
|
/linux-6.12.1/drivers/i2c/busses/ |
D | i2c-ccgx-ucsi.c | 17 const struct software_node *swnode) in i2c_new_ccgx_ucsi() argument 24 info.swnode = swnode; in i2c_new_ccgx_ucsi()
|
D | i2c-cht-wc.c | 306 .swnode = &bq24190_node, 342 .swnode = &xiaomi_mipad2_node, 379 .swnode = &lenovo_yb1_bq25892_node, 422 .swnode = &lenovo_yt3_bq25892_1_node,
|
D | i2c-ccgx-ucsi.h | 10 const struct software_node *swnode);
|
D | i2c-icy.c | 128 .swnode = &icy_ltc2990_node, in icy_probe()
|
/linux-6.12.1/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 = { 826 if (src_dev->swnode.properties) { in chromeos_laptop_prepare_acpi_peripherals() 827 acpi_dev->swnode.properties = in chromeos_laptop_prepare_acpi_peripherals() 828 property_entries_dup(src_dev->swnode.properties); in chromeos_laptop_prepare_acpi_peripherals() 829 if (IS_ERR(acpi_dev->swnode.properties)) { in chromeos_laptop_prepare_acpi_peripherals() [all …]
|
/linux-6.12.1/drivers/spi/ |
D | spi-cs42l43.c | 264 struct software_node *swnode; in cs42l43_create_bridge_amp() local 275 swnode = devm_kmalloc(priv->dev, sizeof(*swnode), GFP_KERNEL); in cs42l43_create_bridge_amp() 276 if (!swnode) in cs42l43_create_bridge_amp() 279 *swnode = SOFTWARE_NODE(name, props, NULL); in cs42l43_create_bridge_amp() 287 info->swnode = swnode; in cs42l43_create_bridge_amp()
|
/linux-6.12.1/drivers/extcon/ |
D | extcon-axp288.c | 346 const struct software_node *swnode; in axp288_extcon_find_role_sw() local 352 swnode = software_node_find_by_name(NULL, "intel-xhci-usb-sw"); in axp288_extcon_find_role_sw() 353 if (!swnode) in axp288_extcon_find_role_sw() 356 fwnode = software_node_fwnode(swnode); in axp288_extcon_find_role_sw()
|
D | extcon-intel-cht-wc.c | 391 const struct software_node *swnode; in cht_wc_extcon_find_role_sw() local 394 swnode = software_node_find_by_name(NULL, "intel-xhci-usb-sw"); in cht_wc_extcon_find_role_sw() 395 if (!swnode) in cht_wc_extcon_find_role_sw() 398 fwnode = software_node_fwnode(swnode); in cht_wc_extcon_find_role_sw()
|
/linux-6.12.1/arch/arm/mach-omap1/ |
D | board-nokia770.c | 158 .swnode = &nokia770_mipid_swnode, 165 .swnode = &nokia770_ads7846_swnode,
|
/linux-6.12.1/drivers/usb/dwc3/ |
D | dwc3-pci.c | 214 const struct software_node *swnode) in dwc3_pci_quirks() argument 293 swnode = &dwc3_pci_intel_phy_charger_detect_swnode; in dwc3_pci_quirks() 298 return device_add_software_node(&dwc->dwc3->dev, swnode); in dwc3_pci_quirks()
|
/linux-6.12.1/include/linux/mfd/ |
D | core.h | 82 const struct software_node *swnode; member
|