Searched refs:pdev (Results 1 - 5 of 5) sorted by relevance

/net/rfkill/
H A Drfkill-regulator.c60 static int rfkill_regulator_probe(struct platform_device *pdev) argument
62 struct rfkill_regulator_platform_data *pdata = pdev->dev.platform_data;
69 dev_err(&pdev->dev, "no platform data\n");
74 dev_err(&pdev->dev, "invalid name or type in platform data\n");
78 vcc = regulator_get_exclusive(&pdev->dev, "vrfkill");
80 dev_err(&pdev->dev, "Cannot get vcc for %s\n", pdata->name);
91 rf_kill = rfkill_alloc(pdata->name, &pdev->dev,
100 dev_dbg(&pdev->dev, "Regulator already enabled\n");
108 dev_err(&pdev->dev, "Cannot register rfkill device\n");
112 platform_set_drvdata(pdev, rfkill_dat
127 rfkill_regulator_remove(struct platform_device *pdev) argument
[all...]
H A Drfkill-gpio.c81 static int rfkill_gpio_probe(struct platform_device *pdev) argument
83 struct rfkill_gpio_platform_data *pdata = pdev->dev.platform_data;
88 rfkill = devm_kzalloc(&pdev->dev, sizeof(*rfkill), GFP_KERNEL);
92 if (ACPI_HANDLE(&pdev->dev)) {
93 ret = rfkill_gpio_acpi_probe(&pdev->dev, rfkill);
103 rfkill->clk = devm_clk_get(&pdev->dev, NULL);
105 gpio = devm_gpiod_get_index(&pdev->dev, "reset", 0);
113 gpio = devm_gpiod_get_index(&pdev->dev, "shutdown", 1);
125 dev_err(&pdev->dev, "invalid platform data\n");
129 rfkill->rfkill_dev = rfkill_alloc(rfkill->name, &pdev
146 rfkill_gpio_remove(struct platform_device *pdev) argument
[all...]
/net/dsa/
H A Ddsa.c439 static int dsa_of_probe(struct platform_device *pdev) argument
441 struct device_node *np = pdev->dev.of_node;
472 pdev->dev.platform_data = pd;
542 pdev->dev.platform_data = NULL;
546 static void dsa_of_remove(struct platform_device *pdev) argument
548 struct dsa_platform_data *pd = pdev->dev.platform_data;
550 if (!pdev->dev.of_node)
557 static inline int dsa_of_probe(struct platform_device *pdev) argument
562 static inline void dsa_of_remove(struct platform_device *pdev) argument
567 static int dsa_probe(struct platform_device *pdev) argument
657 dsa_remove(struct platform_device *pdev) argument
679 dsa_shutdown(struct platform_device *pdev) argument
704 struct platform_device *pdev = to_platform_device(d); local
720 struct platform_device *pdev = to_platform_device(d); local
[all...]
/net/bridge/
H A Dbr_mdb.c270 struct net_device **pdev, struct br_mdb_entry **pentry)
300 *pdev = dev;
269 br_mdb_parse(struct sk_buff *skb, struct nlmsghdr *nlh, struct net_device **pdev, struct br_mdb_entry **pentry) argument
/net/core/
H A Ddev.c2510 struct device *pdev = dev->dev.parent; local
2512 if (!pdev)
2517 if (!pdev->dma_mask || addr + PAGE_SIZE - 1 > *pdev->dma_mask)

Completed in 523 milliseconds