Home
last modified time | relevance | path

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

12

/linux-6.6.21/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
/linux-6.6.21/drivers/mfd/
Dintel-lpss-acpi.c33 .swnode = &spt_spi_node,
47 .swnode = &spt_i2c_node,
64 .swnode = &uart_node,
78 .swnode = &bxt_spi_node,
94 .swnode = &bxt_i2c_node,
110 .swnode = &apl_i2c_node,
124 .swnode = &cnl_spi_node,
129 .swnode = &spt_i2c_node,
Dintel-lpss-pci.c88 .swnode = &spt_spi_node,
102 .swnode = &spt_i2c_node,
119 .swnode = &uart_node,
133 .swnode = &bxt_spi_node,
139 .swnode = &uart_node,
155 .swnode = &bxt_i2c_node,
171 .swnode = &apl_i2c_node,
187 .swnode = &glk_i2c_node,
201 .swnode = &cnl_spi_node,
206 .swnode = &spt_i2c_node,
[all …]
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.c225 if (cell->swnode) { in mfd_add_device()
226 ret = device_add_software_node(&pdev->dev, cell->swnode); in mfd_add_device()
286 if (cell->swnode) in mfd_add_device()
360 if (cell->swnode) in mfd_remove_devices_fn()
Dintel-lpss.h26 const struct software_node *swnode; member
Dintel-lpss.c403 lpss->cell->swnode = info->swnode; in intel_lpss_probe()
/linux-6.6.21/drivers/platform/x86/x86-android-tablets/
Dother.c56 .swnode = &acer_b1_750_bma250e_node,
154 .swnode = &chuwi_hi8_gsl1680_node,
168 .swnode = &chuwi_hi8_bma250e_node,
306 .swnode = &medion_lifetab_s10346_accel_node,
322 .swnode = &medion_lifetab_s10346_touchscreen_node,
387 .swnode = &nextbook_ares8_accel_node,
396 .swnode = &nextbook_ares8_touchscreen_node,
445 .swnode = &nextbook_ares8a_accel_node,
454 .swnode = &nextbook_ares8_touchscreen_node,
554 .swnode = &whitelabel_tm800a550l_goodix_node,
[all …]
Dlenovo.c81 .swnode = &fg_bq25890_supply_node,
105 .swnode = &lenovo_yb1_x90_wacom_node,
130 .swnode = &lenovo_yb1_x90_hideep_ts_node,
248 .swnode = &fg_bq25890_supply_node,
314 .swnode = &lenovo_yoga_tab2_830_1050_bq24190_node,
331 .swnode = &fg_bq24190_supply_node,
445 lenovo_yoga_tab2_830_1050_i2c_clients[0].board_info.swnode = in lenovo_yoga_tab2_830_1050_init_touchscreen()
600 .swnode = &fg_bq25890_supply_node,
609 .swnode = &lenovo_yt3_bq25892_0_node,
625 .swnode = &fg_bq25890_1_supply_node,
[all …]
Dasus.c87 .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.6.21/drivers/gpio/
Dgpio-sim.c364 static int gpio_sim_add_bank(struct fwnode_handle *swnode, struct device *dev) in gpio_sim_add_bank() argument
372 ret = fwnode_property_read_u32(swnode, "ngpios", &num_lines); in gpio_sim_add_bank()
379 ret = fwnode_property_read_string(swnode, "gpio-sim,label", &label); in gpio_sim_add_bank()
382 dev_name(dev), swnode); in gpio_sim_add_bank()
406 chip->irq_sim = devm_irq_domain_create_sim(dev, swnode, num_lines); in gpio_sim_add_bank()
426 gc->fwnode = swnode; in gpio_sim_add_bank()
452 struct fwnode_handle *swnode; in gpio_sim_probe() local
455 device_for_each_child_node(dev, swnode) { in gpio_sim_probe()
456 ret = gpio_sim_add_bank(swnode, dev); in gpio_sim_probe()
458 fwnode_handle_put(swnode); in gpio_sim_probe()
[all …]
Dgpiolib-swnode.c56 const struct software_node *swnode; in swnode_find_gpio() local
63 swnode = to_software_node(fwnode); in swnode_find_gpio()
64 if (!swnode) in swnode_find_gpio()
DMakefile13 obj-$(CONFIG_GPIOLIB) += gpiolib-swnode.o
/linux-6.6.21/drivers/i2c/busses/
Di2c-ccgx-ucsi.c17 const struct software_node *swnode) in i2c_new_ccgx_ucsi() argument
24 info.swnode = swnode; in i2c_new_ccgx_ucsi()
Di2c-cht-wc.c306 .swnode = &bq24190_node,
342 .swnode = &xiaomi_mipad2_node,
379 .swnode = &lenovo_yb1_bq25892_node,
422 .swnode = &lenovo_yt3_bq25892_1_node,
Di2c-ccgx-ucsi.h10 const struct software_node *swnode);
Di2c-icy.c128 .swnode = &icy_ltc2990_node, in icy_probe()
/linux-6.6.21/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 …]
/linux-6.6.21/drivers/extcon/
Dextcon-axp288.c346 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()
Dextcon-intel-cht-wc.c391 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.6.21/arch/arm/mach-omap1/
Dboard-nokia770.c158 .swnode = &nokia770_mipid_swnode,
165 .swnode = &nokia770_ads7846_swnode,
/linux-6.6.21/drivers/usb/dwc3/
Ddwc3-pci.c210 const struct software_node *swnode) in dwc3_pci_quirks() argument
284 swnode = &dwc3_pci_intel_phy_charger_detect_swnode; in dwc3_pci_quirks()
289 return device_add_software_node(&dwc->dwc3->dev, swnode); in dwc3_pci_quirks()
/linux-6.6.21/include/linux/mfd/
Dcore.h82 const struct software_node *swnode; member
/linux-6.6.21/include/linux/
Di2c.h432 const struct software_node *swnode; member

12