Searched refs:pdev (Results 551 - 575 of 7498) sorted by relevance

<<21222324252627282930>>

/linux-master/drivers/mfd/
H A Dmfd-core.c55 struct platform_device *pdev)
61 parent = ACPI_COMPANION(pdev->dev.parent);
90 ACPI_COMPANION_SET(&pdev->dev, adev ?: parent);
94 struct platform_device *pdev)
99 static int mfd_match_of_node_to_dev(struct platform_device *pdev, argument
130 of_entry->dev = &pdev->dev;
134 pdev->dev.of_node = np;
135 pdev->dev.fwnode = &np->fwnode;
146 struct platform_device *pdev; local
159 pdev
54 mfd_acpi_add_device(const struct mfd_cell *cell, struct platform_device *pdev) argument
93 mfd_acpi_add_device(const struct mfd_cell *cell, struct platform_device *pdev) argument
346 struct platform_device *pdev; local
[all...]
/linux-master/drivers/gpu/drm/msm/hdmi/
H A Dhdmi.c88 struct platform_device *pdev = hdmi->pdev; local
92 phy_node = of_parse_phandle(pdev->dev.of_node, "phys", 0);
94 DRM_DEV_ERROR(&pdev->dev, "cannot find phy device\n");
102 return dev_err_probe(&pdev->dev, -EPROBE_DEFER, "phy driver is not ready\n");
107 return dev_err_probe(&pdev->dev, -EPROBE_DEFER, "phy driver is not ready\n");
121 struct platform_device *pdev = hdmi->pdev; local
133 DRM_DEV_ERROR(&pdev->dev, "failed to get i2c: %d\n", ret);
140 dev_warn(&pdev
396 msm_hdmi_dev_probe(struct platform_device *pdev) argument
542 msm_hdmi_dev_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/net/ethernet/huawei/hinic/
H A Dhinic_port.c41 struct pci_dev *pdev = hwif->pdev; local
61 dev_err(&pdev->dev, "Failed to change MAC, err: %d, status: 0x%x, out size: 0x%x\n",
67 dev_warn(&pdev->dev, "PF has already set VF mac, ignore %s operation\n",
74 dev_warn(&pdev->dev, "MAC is repeated, ignore set operation\n");
120 struct pci_dev *pdev = hwif->pdev; local
129 dev_err(&pdev->dev, "Failed to get mac, err: %d, status: 0x%x, out size: 0x%x\n",
151 struct pci_dev *pdev = hwif->pdev; local
242 struct pci_dev *pdev = hwif->pdev; local
273 struct pci_dev *pdev = hwif->pdev; local
307 struct pci_dev *pdev = hwif->pdev; local
338 struct pci_dev *pdev = hwif->pdev; local
369 struct pci_dev *pdev = hwif->pdev; local
395 struct pci_dev *pdev; local
424 struct pci_dev *pdev; local
454 struct pci_dev *pdev = hwif->pdev; local
485 struct pci_dev *pdev = hwif->pdev; local
512 struct pci_dev *pdev = hwif->pdev; local
539 struct pci_dev *pdev = hwif->pdev; local
605 struct pci_dev *pdev; local
674 struct pci_dev *pdev = hwif->pdev; local
706 struct pci_dev *pdev; local
765 struct pci_dev *pdev; local
805 struct pci_dev *pdev = hwif->pdev; local
833 struct pci_dev *pdev; local
865 struct pci_dev *pdev = hwif->pdev; local
892 struct pci_dev *pdev; local
922 struct pci_dev *pdev = hwif->pdev; local
950 struct pci_dev *pdev = hwif->pdev; local
976 struct pci_dev *pdev = hwif->pdev; local
1003 struct pci_dev *pdev = hwif->pdev; local
1032 struct pci_dev *pdev = hwif->pdev; local
1067 struct pci_dev *pdev; local
[all...]
H A Dhinic_hw_io.c110 struct pci_dev *pdev = hwif->pdev; local
119 dev_err(&pdev->dev, "Failed to allocate cmdq buf\n");
141 dev_err(&pdev->dev, "Failed to set SQ ctxts\n");
154 struct pci_dev *pdev = hwif->pdev; local
163 dev_err(&pdev->dev, "Failed to allocate cmdq buf\n");
185 dev_err(&pdev->dev, "Failed to set RQ ctxts\n");
213 struct pci_dev *pdev = hwif->pdev; local
277 struct pci_dev *pdev = hwif->pdev; local
377 struct pci_dev *pdev = hwif->pdev; local
471 struct pci_dev *pdev = hwif->pdev; local
532 struct pci_dev *pdev = hwif->pdev; local
[all...]
/linux-master/drivers/ata/
H A Dahci.c85 static int ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent);
88 static void ahci_intel_pcs_quirk(struct pci_dev *pdev, struct ahci_host_priv *hpriv);
93 static void ahci_mcp89_apple_enable(struct pci_dev *pdev);
94 static bool is_mcp89_apple(struct pci_dev *pdev);
749 static void ahci_pci_save_initial_config(struct pci_dev *pdev, argument
752 if (pdev->vendor == PCI_VENDOR_ID_JMICRON && pdev->device == 0x2361) {
753 dev_info(&pdev->dev, "JMB361 has only one port\n");
763 if (pdev->device == 0x6121)
767 dev_info(&pdev
780 struct pci_dev *pdev = to_pci_dev(host->dev); local
800 struct pci_dev *pdev = to_pci_dev(host->dev); local
925 struct pci_dev *pdev = to_pci_dev(host->dev); local
978 struct pci_dev *pdev = to_pci_dev(dev); local
987 struct pci_dev *pdev = to_pci_dev(dev); local
1001 struct pci_dev *pdev = to_pci_dev(dev); local
1018 struct pci_dev *pdev = to_pci_dev(dev); local
1042 ahci_configure_dma_masks(struct pci_dev *pdev, struct ahci_host_priv *hpriv) argument
1074 struct pci_dev *pdev = to_pci_dev(host->dev); local
1122 struct pci_dev *pdev = to_pci_dev(host->dev); local
1140 ahci_mcp89_apple_enable(struct pci_dev *pdev) argument
1170 is_mcp89_apple(struct pci_dev *pdev) argument
1179 ahci_sb600_enable_64bit(struct pci_dev *pdev) argument
1281 ahci_broken_system_poweroff(struct pci_dev *pdev) argument
1316 ahci_broken_suspend(struct pci_dev *pdev) argument
1400 ahci_broken_lpm(struct pci_dev *pdev) argument
1453 ahci_broken_online(struct pci_dev *pdev) argument
1562 acer_sa5_271_workaround(struct ahci_host_priv *hpriv, struct pci_dev *pdev) argument
1621 ahci_remap_check(struct pci_dev *pdev, int bar, struct ahci_host_priv *hpriv) argument
1668 ahci_init_msi(struct pci_dev *pdev, unsigned int n_ports, struct ahci_host_priv *hpriv) argument
1764 ahci_intel_pcs_quirk(struct pci_dev *pdev, struct ahci_host_priv *hpriv) argument
1798 ahci_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) argument
2053 ahci_shutdown_one(struct pci_dev *pdev) argument
2058 ahci_remove_one(struct pci_dev *pdev) argument
[all...]
H A Dpata_hpt3x3.c39 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
43 pci_read_config_dword(pdev, 0x44, &r1);
44 pci_read_config_dword(pdev, 0x48, &r2);
50 pci_write_config_dword(pdev, 0x44, r1);
51 pci_write_config_dword(pdev, 0x48, r2);
69 struct pci_dev *pdev = to_pci_dev(ap->host->dev); local
74 pci_read_config_dword(pdev, 0x44, &r1);
75 pci_read_config_dword(pdev, 0x48, &r2);
86 pci_write_config_dword(pdev, 0x44, r1);
87 pci_write_config_dword(pdev,
185 hpt3x3_init_one(struct pci_dev *pdev, const struct pci_device_id *id) argument
[all...]
/linux-master/drivers/gpio/
H A Dgpio-amd8111.c71 struct pci_dev *pdev; member in struct:amd_gpio
83 dev_dbg(&agp->pdev->dev, "Requested gpio %d, data %x\n", offset, agp->orig[offset]);
92 dev_dbg(&agp->pdev->dev, "Freed gpio %d, data %x\n", offset, agp->orig[offset]);
109 dev_dbg(&agp->pdev->dev, "Setting gpio %d, value %d, reg=%02x\n", offset, !!value, temp);
119 dev_dbg(&agp->pdev->dev, "Getting gpio %d, reg=%02x\n", offset, temp);
136 dev_dbg(&agp->pdev->dev, "Dirout gpio %d, value %d, reg=%02x\n", offset, !!value, temp);
153 dev_dbg(&agp->pdev->dev, "Dirin gpio %d, reg=%02x\n", offset, temp);
176 struct pci_dev *pdev = NULL; local
188 for_each_pci_dev(pdev) {
189 ent = pci_match_id(pci_tbl, pdev);
[all...]
/linux-master/drivers/edac/
H A Dr82600_edac.c140 struct pci_dev *pdev; local
142 pdev = to_pci_dev(mci->pdev);
143 pci_read_config_dword(pdev, R82600_EAP, &info->eapr);
147 pci_write_bits32(pdev, R82600_EAP,
153 pci_write_bits32(pdev, R82600_EAP,
216 static void r82600_init_csrows(struct mem_ctl_info *mci, struct pci_dev *pdev, argument
235 pci_read_config_byte(pdev, R82600_DRBA + index, &drbar);
268 static int r82600_probe1(struct pci_dev *pdev, int dev_idx) argument
279 pci_read_config_byte(pdev, R82600_DRAM
359 r82600_init_one(struct pci_dev *pdev, const struct pci_device_id *ent) argument
368 r82600_remove_one(struct pci_dev *pdev) argument
[all...]
/linux-master/drivers/clk/hisilicon/
H A Dcrg-hi3516cv300.c130 struct platform_device *pdev)
135 clk_data = hisi_clk_alloc(pdev, HI3516CV300_CRG_NR_CLKS);
154 ret = of_clk_add_provider(pdev->dev.of_node,
173 static void hi3516cv300_clk_unregister(struct platform_device *pdev) argument
175 struct hisi_crg_dev *crg = platform_get_drvdata(pdev);
177 of_clk_del_provider(pdev->dev.of_node);
204 struct platform_device *pdev)
209 clk_data = hisi_clk_alloc(pdev, HI3516CV300_SYSCTRL_NR_CLKS);
219 ret = of_clk_add_provider(pdev->dev.of_node,
232 static void hi3516cv300_sysctrl_clk_unregister(struct platform_device *pdev) argument
129 hi3516cv300_clk_register( struct platform_device *pdev) argument
203 hi3516cv300_sysctrl_clk_register( struct platform_device *pdev) argument
261 hi3516cv300_crg_probe(struct platform_device *pdev) argument
287 hi3516cv300_crg_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/spi/
H A Dspi-dw-bt1.c45 typedef int (*dw_spi_bt1_init_cb)(struct platform_device *pdev,
165 static int dw_spi_bt1_std_init(struct platform_device *pdev, argument
170 dws->irq = platform_get_irq(pdev, 0);
190 static int dw_spi_bt1_sys_init(struct platform_device *pdev, argument
203 dwsbt1->mux = devm_mux_control_get(&pdev->dev, NULL);
216 mem = platform_get_resource(pdev, IORESOURCE_MEM, 1);
218 dwsbt1->map = devm_ioremap_resource(&pdev->dev, mem);
252 static int dw_spi_bt1_probe(struct platform_device *pdev) argument
260 dwsbt1 = devm_kzalloc(&pdev->dev, sizeof(struct dw_spi_bt1), GFP_KERNEL);
266 dws->regs = devm_platform_get_and_ioremap_resource(pdev,
300 dw_spi_bt1_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-visconti.c142 static int visconti_eth_init_hw(struct platform_device *pdev, struct plat_stmmacenet_data *plat_dat) argument
161 dev_err(&pdev->dev, "Unsupported phy-mode (%d)\n", plat_dat->phy_interface);
182 static int visconti_eth_clock_probe(struct platform_device *pdev, argument
188 dwmac->phy_ref_clk = devm_clk_get(&pdev->dev, "phy_ref_clk");
190 return dev_err_probe(&pdev->dev, PTR_ERR(dwmac->phy_ref_clk),
195 dev_err(&pdev->dev, "failed to enable phy_ref clock: %d\n", err);
202 static void visconti_eth_clock_remove(struct platform_device *pdev) argument
204 struct visconti_eth *dwmac = get_stmmac_bsp_priv(&pdev->dev);
205 struct net_device *ndev = platform_get_drvdata(pdev);
212 static int visconti_eth_dwmac_probe(struct platform_device *pdev) argument
257 visconti_eth_dwmac_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/net/wireless/ath/ath5k/
H A Dahb.c39 struct platform_device *pdev = to_platform_device(ah->dev); local
40 struct ar231x_board_config *bcfg = dev_get_platdata(&pdev->dev);
56 struct platform_device *pdev = to_platform_device(ah->dev); local
57 struct ar231x_board_config *bcfg = dev_get_platdata(&pdev->dev);
64 struct platform_device *pdev = to_platform_device(ah->dev); local
65 struct ar231x_board_config *bcfg = dev_get_platdata(&pdev->dev);
85 static int ath_ahb_probe(struct platform_device *pdev) argument
87 struct ar231x_board_config *bcfg = dev_get_platdata(&pdev->dev);
96 if (!dev_get_platdata(&pdev->dev)) {
97 dev_err(&pdev
188 ath_ahb_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/irqchip/
H A Dirq-mbigen.c59 * @pdev: pointer to the platform device structure of mbigen chip.
63 struct platform_device *pdev; member in struct:mbigen_device
235 static int mbigen_of_create_domain(struct platform_device *pdev, argument
244 for_each_child_of_node(pdev->dev.of_node, np) {
256 dev_err(&pdev->dev, "No num-pins property\n");
284 static int mbigen_acpi_create_domain(struct platform_device *pdev, argument
314 ret = device_property_read_u32(&pdev->dev, "num-pins", &num_pins);
318 domain = platform_msi_create_device_domain(&pdev->dev, num_pins,
328 static inline int mbigen_acpi_create_domain(struct platform_device *pdev, argument
335 static int mbigen_device_probe(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/bus/mhi/host/
H A Dpci_generic.c731 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); local
737 dev_warn(&pdev->dev, "firmware crashed (%u)\n", cb);
738 pm_runtime_forbid(&pdev->dev);
741 pm_runtime_allow(&pdev->dev);
765 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); local
768 if (pci_read_config_word(pdev, PCI_VENDOR_ID, &vendor))
780 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); local
783 err = pci_assign_resource(pdev, bar_num);
787 err = pcim_enable_device(pdev);
789 dev_err(&pdev
815 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); local
878 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); local
973 mhi_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) argument
1073 mhi_pci_remove(struct pci_dev *pdev) argument
1093 mhi_pci_shutdown(struct pci_dev *pdev) argument
1099 mhi_pci_reset_prepare(struct pci_dev *pdev) argument
1121 mhi_pci_reset_done(struct pci_dev *pdev) argument
1154 mhi_pci_error_detected(struct pci_dev *pdev, pci_channel_state_t state) argument
1179 mhi_pci_slot_reset(struct pci_dev *pdev) argument
1189 mhi_pci_io_resume(struct pci_dev *pdev) argument
1208 struct pci_dev *pdev = to_pci_dev(dev); local
1240 struct pci_dev *pdev = to_pci_dev(dev); local
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-designware-platdrv.c136 static int dw_i2c_of_configure(struct platform_device *pdev) argument
138 struct dw_i2c_dev *dev = platform_get_drvdata(pdev);
142 dev->ext = devm_platform_ioremap_resource(pdev, 1);
166 static inline int dw_i2c_of_configure(struct platform_device *pdev) argument
191 struct platform_device *pdev = to_platform_device(dev->dev); local
202 dev->base = devm_platform_ioremap_resource(pdev, 0);
277 static int dw_i2c_plat_probe(struct platform_device *pdev) argument
284 irq = platform_get_irq(pdev, 0);
288 dev = devm_kzalloc(&pdev->dev, sizeof(struct dw_i2c_dev), GFP_KERNEL);
292 dev->flags = (uintptr_t)device_get_match_data(&pdev
403 dw_i2c_plat_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/net/can/sja1000/
H A Dkvaser_pci.c196 static int kvaser_pci_add_chan(struct pci_dev *pdev, int channel, argument
214 board->pci_dev = pdev;
252 dev->irq = pdev->irq;
254 dev_info(&pdev->dev, "reg_base=%p conf_addr=%p irq=%d\n",
257 SET_NETDEV_DEV(dev, &pdev->dev);
263 dev_err(&pdev->dev, "Registering device failed (err=%d)\n",
278 static int kvaser_pci_init_one(struct pci_dev *pdev, argument
291 dev_info(&pdev->dev, "initializing device %04x:%04x\n",
292 pdev->vendor, pdev
367 kvaser_pci_remove_one(struct pci_dev *pdev) argument
[all...]
/linux-master/drivers/usb/musb/
H A Dux500.c189 ux500_of_probe(struct platform_device *pdev, struct device_node *np) argument
195 pdata = devm_kzalloc(&pdev->dev, sizeof(*pdata), GFP_KERNEL);
201 dev_err(&pdev->dev, "No 'dr_mode' property found\n");
217 static int ux500_probe(struct platform_device *pdev) argument
219 struct musb_hdrc_platform_data *pdata = dev_get_platdata(&pdev->dev);
220 struct device_node *np = pdev->dev.of_node;
228 pdata = ux500_of_probe(pdev, np);
232 pdev->dev.platform_data = pdata;
234 dev_err(&pdev->dev, "no pdata or device tree found\n");
239 glue = devm_kzalloc(&pdev
306 ux500_remove(struct platform_device *pdev) argument
[all...]
/linux-master/sound/soc/tegra/
H A Dtegra20_ac97.c301 static int tegra20_ac97_platform_probe(struct platform_device *pdev) argument
308 ac97 = devm_kzalloc(&pdev->dev, sizeof(struct tegra20_ac97),
314 dev_set_drvdata(&pdev->dev, ac97);
316 ac97->reset = devm_reset_control_get_exclusive(&pdev->dev, "ac97");
318 dev_err(&pdev->dev, "Can't retrieve ac97 reset\n");
323 ac97->clk_ac97 = devm_clk_get(&pdev->dev, NULL);
325 dev_err(&pdev->dev, "Can't retrieve ac97 clock\n");
330 regs = devm_platform_get_and_ioremap_resource(pdev, 0, &mem);
336 ac97->regmap = devm_regmap_init_mmio(&pdev->dev, regs,
339 dev_err(&pdev
428 tegra20_ac97_platform_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/net/wireless/ath/wil6210/
H A Dpcie_bus.c145 int irq = wil->pdev->irq;
156 int irq = wil->pdev->irq;
182 struct pci_dev *pdev = wil->pdev; local
184 /* on platforms with buggy ACPI, pdev->msi_enabled may be set to
188 int msi_only = pdev->msi_enabled;
192 pci_set_master(pdev);
209 pci_alloc_irq_vectors(pdev, n_msi, n_msi, PCI_IRQ_MSI) < n_msi) {
214 if (n_msi == 1 && pci_enable_msi(pdev)) {
227 rc = wil6210_init_irq(wil, pdev
252 struct pci_dev *pdev = wil->pdev; local
295 wil_pcie_probe(struct pci_dev *pdev, const struct pci_device_id *id) argument
463 wil_pcie_remove(struct pci_dev *pdev) argument
501 struct pci_dev *pdev = to_pci_dev(dev); local
536 struct pci_dev *pdev = to_pci_dev(dev); local
[all...]
/linux-master/drivers/iio/adc/
H A Dlpc18xx_adc.c129 static int lpc18xx_adc_probe(struct platform_device *pdev) argument
137 indio_dev = devm_iio_device_alloc(&pdev->dev, sizeof(*adc));
142 adc->dev = &pdev->dev;
145 adc->base = devm_platform_ioremap_resource(pdev, 0);
149 adc->clk = devm_clk_get_enabled(&pdev->dev, NULL);
151 return dev_err_probe(&pdev->dev, PTR_ERR(adc->clk),
154 adc->vref = devm_regulator_get(&pdev->dev, "vref");
156 return dev_err_probe(&pdev->dev, PTR_ERR(adc->vref),
159 indio_dev->name = dev_name(&pdev->dev);
167 dev_err(&pdev
[all...]
/linux-master/drivers/mmc/host/
H A Ddw_mmc-pltfm.c30 int dw_mci_pltfm_register(struct platform_device *pdev, argument
36 host = devm_kzalloc(&pdev->dev, sizeof(struct dw_mci), GFP_KERNEL);
40 host->irq = platform_get_irq(pdev, 0);
45 host->dev = &pdev->dev;
47 host->pdata = pdev->dev.platform_data;
49 host->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &regs);
56 platform_set_drvdata(pdev, host);
111 static int dw_mci_pltfm_probe(struct platform_device *pdev) argument
116 if (pdev->dev.of_node) {
117 match = of_match_node(dw_mci_pltfm_match, pdev
124 dw_mci_pltfm_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/usb/gadget/udc/
H A Drzv2m_usb3drd.c61 static void rzv2m_usb3drd_remove(struct platform_device *pdev) argument
63 struct rzv2m_usb3drd *usb3 = platform_get_drvdata(pdev);
67 pm_runtime_disable(&pdev->dev);
71 static int rzv2m_usb3drd_probe(struct platform_device *pdev) argument
76 usb3 = devm_kzalloc(&pdev->dev, sizeof(*usb3), GFP_KERNEL);
80 usb3->dev = &pdev->dev;
82 usb3->drd_irq = platform_get_irq_byname(pdev, "drd");
86 usb3->reg = devm_platform_ioremap_resource(pdev, 0);
90 platform_set_drvdata(pdev, usb3);
92 usb3->drd_rstc = devm_reset_control_get_exclusive(&pdev
[all...]
/linux-master/drivers/usb/host/
H A Duhci-platform.c67 static int uhci_hcd_platform_probe(struct platform_device *pdev) argument
69 struct device_node *np = pdev->dev.of_node;
83 ret = dma_coerce_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
87 hcd = usb_create_hcd(&uhci_platform_hc_driver, &pdev->dev,
88 pdev->name);
94 hcd->regs = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
110 dev_info(&pdev->dev,
118 dev_info(&pdev->dev,
124 uhci->clk = devm_clk_get(&pdev->dev, NULL);
131 dev_err(&pdev
154 uhci_hcd_platform_remove(struct platform_device *pdev) argument
[all...]
/linux-master/drivers/dma/dw/
H A Drzn1-dmamux.c44 struct platform_device *pdev = of_find_device_by_node(ofdma->of_node); local
45 struct rzn1_dmamux_data *dmamux = platform_get_drvdata(pdev);
64 dev_err(&pdev->dev, "Invalid DMA request line: %u\n", chan);
71 dev_err(&pdev->dev, "Invalid MUX request line: %u\n", map->req_idx);
79 dev_err(&pdev->dev, "Can't get DMA master\n");
84 dev_dbg(&pdev->dev, "Mapping DMAMUX request %u to DMAC%u request %u\n",
114 static int rzn1_dmamux_probe(struct platform_device *pdev) argument
116 struct device_node *mux_node = pdev->dev.of_node;
121 dmamux = devm_kzalloc(&pdev->dev, sizeof(*dmamux), GFP_KERNEL);
127 return dev_err_probe(&pdev
[all...]
/linux-master/drivers/input/serio/
H A Dams_delta_serio.c108 static int ams_delta_serio_init(struct platform_device *pdev) argument
114 priv = devm_kzalloc(&pdev->dev, sizeof(*priv), GFP_KERNEL);
118 priv->fiq_buffer = pdev->dev.platform_data;
122 priv->vcc = devm_regulator_get(&pdev->dev, "vcc");
125 dev_err(&pdev->dev, "regulator request failed (%d)\n", err);
142 irq = platform_get_irq(pdev, 0);
146 err = devm_request_irq(&pdev->dev, irq, ams_delta_serio_interrupt,
149 dev_err(&pdev->dev, "IRQ request failed (%d)\n", err);
163 strscpy(serio->phys, dev_name(&pdev->dev), sizeof(serio->phys));
164 serio->dev.parent = &pdev
176 ams_delta_serio_exit(struct platform_device *pdev) argument
[all...]

Completed in 266 milliseconds

<<21222324252627282930>>