Home
last modified time | relevance | path

Searched refs:pdev (Results 176 - 200 of 13881) sorted by relevance

12345678910>>...556

/kernel/linux/linux-6.6/drivers/spi/
H A Dspi-dw-pci.c82 static int dw_spi_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) in dw_spi_pci_probe() argument
89 ret = pcim_enable_device(pdev); in dw_spi_pci_probe()
93 dws = devm_kzalloc(&pdev->dev, sizeof(*dws), GFP_KERNEL); in dw_spi_pci_probe()
98 dws->paddr = pci_resource_start(pdev, pci_bar); in dw_spi_pci_probe()
99 pci_set_master(pdev); in dw_spi_pci_probe()
101 ret = pcim_iomap_regions(pdev, 1 << pci_bar, pci_name(pdev)); in dw_spi_pci_probe()
105 ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES); in dw_spi_pci_probe()
109 dws->regs = pcim_iomap_table(pdev)[pci_bar]; in dw_spi_pci_probe()
110 dws->irq = pci_irq_vector(pdev, in dw_spi_pci_probe()
153 dw_spi_pci_remove(struct pci_dev *pdev) dw_spi_pci_remove() argument
[all...]
/kernel/linux/linux-6.6/drivers/bus/
H A Dimx-weim.c87 static int imx_weim_gpr_setup(struct platform_device *pdev) in imx_weim_gpr_setup() argument
89 struct device_node *np = pdev->dev.of_node; in imx_weim_gpr_setup()
106 dev_dbg(&pdev->dev, "failed to find weim-cs-gpr\n"); in imx_weim_gpr_setup()
132 dev_err(&pdev->dev, "Invalid 'ranges' configuration\n"); in imx_weim_gpr_setup()
203 static int weim_parse_dt(struct platform_device *pdev) in weim_parse_dt() argument
206 &pdev->dev); in weim_parse_dt()
215 ret = imx_weim_gpr_setup(pdev); in weim_parse_dt()
220 priv = dev_get_drvdata(&pdev->dev); in weim_parse_dt()
223 if (of_property_read_bool(pdev->dev.of_node, "fsl,burst-clk-enable")) { in weim_parse_dt()
228 if (of_property_read_bool(pdev in weim_parse_dt()
264 weim_probe(struct platform_device *pdev) weim_probe() argument
309 struct platform_device *pdev; of_weim_notify() local
[all...]
/kernel/linux/linux-5.10/include/linux/
H A Dvgaarb.h58 * @pdev: pci device of the VGA card
69 extern void vga_set_legacy_decoding(struct pci_dev *pdev,
72 static inline void vga_set_legacy_decoding(struct pci_dev *pdev, in vga_set_legacy_decoding() argument
77 extern int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible);
79 static inline int vga_get(struct pci_dev *pdev, unsigned int rsrc, int interruptible) { return 0; } in vga_get() argument
84 * @pdev: pci device of the VGA card or NULL for the system default
91 static inline int vga_get_interruptible(struct pci_dev *pdev, in vga_get_interruptible() argument
94 return vga_get(pdev, rsrc, 1); in vga_get_interruptible()
99 * @pdev: pci device of the VGA card or NULL for the system default
106 static inline int vga_get_uninterruptible(struct pci_dev *pdev, in vga_get_uninterruptible() argument
125 vga_set_default_device(struct pci_dev *pdev) vga_set_default_device() argument
126 vga_remove_vgacon(struct pci_dev *pdev) vga_remove_vgacon() argument
146 vga_client_register(struct pci_dev *pdev, void *cookie, void (*irq_set_state)(void *cookie, bool state), unsigned int (*set_vga_decode)(void *cookie, bool state)) vga_client_register() argument
[all...]
/kernel/linux/linux-6.6/drivers/ufs/host/
H A Dtc-dwc-g210-pci.c38 * @pdev: pointer to PCI handle
40 static void tc_dwc_g210_pci_remove(struct pci_dev *pdev) in tc_dwc_g210_pci_remove() argument
42 struct ufs_hba *hba = pci_get_drvdata(pdev); in tc_dwc_g210_pci_remove()
44 pm_runtime_forbid(&pdev->dev); in tc_dwc_g210_pci_remove()
45 pm_runtime_get_noresume(&pdev->dev); in tc_dwc_g210_pci_remove()
51 * @pdev: pointer to PCI device handle
57 tc_dwc_g210_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) in tc_dwc_g210_pci_probe() argument
71 dev_err(&pdev->dev, "test chip version not specified\n"); in tc_dwc_g210_pci_probe()
75 err = pcim_enable_device(pdev); in tc_dwc_g210_pci_probe()
77 dev_err(&pdev in tc_dwc_g210_pci_probe()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac-intel.c32 int (*setup)(struct pci_dev *pdev, struct plat_stmmacenet_data *plat);
35 static int stmmac_pci_find_phy_addr(struct pci_dev *pdev, in stmmac_pci_find_phy_addr() argument
41 int func = PCI_FUNC(pdev->devfn); in stmmac_pci_find_phy_addr()
233 static int intel_mgbe_common_data(struct pci_dev *pdev, in intel_mgbe_common_data() argument
288 plat->axi = devm_kzalloc(&pdev->dev, sizeof(*plat->axi), in intel_mgbe_common_data()
305 sprintf(clk_name, "%s-%s", "stmmac", pci_name(pdev)); in intel_mgbe_common_data()
307 plat->stmmac_clk = clk_register_fixed_rate(&pdev->dev, in intel_mgbe_common_data()
312 dev_warn(&pdev->dev, "Fail to register stmmac-clk\n"); in intel_mgbe_common_data()
339 static int ehl_common_data(struct pci_dev *pdev, in ehl_common_data() argument
346 return intel_mgbe_common_data(pdev, pla in ehl_common_data()
349 ehl_sgmii_data(struct pci_dev *pdev, struct plat_stmmacenet_data *plat) ehl_sgmii_data() argument
365 ehl_rgmii_data(struct pci_dev *pdev, struct plat_stmmacenet_data *plat) ehl_rgmii_data() argument
378 ehl_pse0_common_data(struct pci_dev *pdev, struct plat_stmmacenet_data *plat) ehl_pse0_common_data() argument
386 ehl_pse0_rgmii1g_data(struct pci_dev *pdev, struct plat_stmmacenet_data *plat) ehl_pse0_rgmii1g_data() argument
397 ehl_pse0_sgmii1g_data(struct pci_dev *pdev, struct plat_stmmacenet_data *plat) ehl_pse0_sgmii1g_data() argument
410 ehl_pse1_common_data(struct pci_dev *pdev, struct plat_stmmacenet_data *plat) ehl_pse1_common_data() argument
418 ehl_pse1_rgmii1g_data(struct pci_dev *pdev, struct plat_stmmacenet_data *plat) ehl_pse1_rgmii1g_data() argument
429 ehl_pse1_sgmii1g_data(struct pci_dev *pdev, struct plat_stmmacenet_data *plat) ehl_pse1_sgmii1g_data() argument
442 tgl_common_data(struct pci_dev *pdev, struct plat_stmmacenet_data *plat) tgl_common_data() argument
452 tgl_sgmii_data(struct pci_dev *pdev, struct plat_stmmacenet_data *plat) tgl_sgmii_data() argument
529 quark_default_data(struct pci_dev *pdev, struct plat_stmmacenet_data *plat) quark_default_data() argument
581 intel_eth_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) intel_eth_pci_probe() argument
663 intel_eth_pci_remove(struct pci_dev *pdev) intel_eth_pci_remove() argument
682 struct pci_dev *pdev = to_pci_dev(dev); intel_eth_pci_suspend() local
700 struct pci_dev *pdev = to_pci_dev(dev); intel_eth_pci_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/
H A Dnfp_main.c215 err = pci_sriov_set_totalvfs(pf->pdev, pf->limit_vfs); in nfp_pcie_sriov_read_nfd_limit()
221 static int nfp_pcie_sriov_enable(struct pci_dev *pdev, int num_vfs) in nfp_pcie_sriov_enable() argument
224 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_enable()
233 err = pci_enable_sriov(pdev, num_vfs); in nfp_pcie_sriov_enable()
235 dev_warn(&pdev->dev, "Failed to enable PCI SR-IOV: %d\n", err); in nfp_pcie_sriov_enable()
243 dev_warn(&pdev->dev, in nfp_pcie_sriov_enable()
251 dev_dbg(&pdev->dev, "Created %d VFs.\n", pf->num_vfs); in nfp_pcie_sriov_enable()
258 pci_disable_sriov(pdev); in nfp_pcie_sriov_enable()
264 static int nfp_pcie_sriov_disable(struct pci_dev *pdev) in nfp_pcie_sriov_disable() argument
267 struct nfp_pf *pf = pci_get_drvdata(pdev); in nfp_pcie_sriov_disable()
293 nfp_pcie_sriov_configure(struct pci_dev *pdev, int num_vfs) nfp_pcie_sriov_configure() argument
346 nfp_net_fw_request(struct pci_dev *pdev, struct nfp_pf *pf, const char *name) nfp_net_fw_request() argument
368 nfp_net_fw_find(struct pci_dev *pdev, struct nfp_pf *pf) nfp_net_fw_find() argument
432 nfp_get_fw_policy_value(struct pci_dev *pdev, struct nfp_nsp *nsp, const char *key, const char *default_val, int max_val, int *value) nfp_get_fw_policy_value() argument
467 nfp_fw_load(struct pci_dev *pdev, struct nfp_pf *pf, struct nfp_nsp *nsp) nfp_fw_load() argument
573 nfp_nsp_init_ports(struct pci_dev *pdev, struct nfp_pf *pf, struct nfp_nsp *nsp) nfp_nsp_init_ports() argument
598 nfp_nsp_init(struct pci_dev *pdev, struct nfp_pf *pf) nfp_nsp_init() argument
680 nfp_pci_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id) nfp_pci_probe() argument
818 __nfp_pci_shutdown(struct pci_dev *pdev, bool unload_fw) __nfp_pci_shutdown() argument
851 nfp_pci_remove(struct pci_dev *pdev) nfp_pci_remove() argument
856 nfp_pci_shutdown(struct pci_dev *pdev) nfp_pci_shutdown() argument
[all...]
/kernel/linux/linux-6.6/drivers/bus/mhi/host/
H A Dpci_generic.c701 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); in mhi_pci_status_cb() local
707 dev_warn(&pdev->dev, "firmware crashed (%u)\n", cb); in mhi_pci_status_cb()
708 pm_runtime_forbid(&pdev->dev); in mhi_pci_status_cb()
711 pm_runtime_allow(&pdev->dev); in mhi_pci_status_cb()
735 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); in mhi_pci_is_alive() local
738 if (pci_read_config_word(pdev, PCI_VENDOR_ID, &vendor)) in mhi_pci_is_alive()
750 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); in mhi_pci_claim() local
753 err = pci_assign_resource(pdev, bar_num); in mhi_pci_claim()
757 err = pcim_enable_device(pdev); in mhi_pci_claim()
759 dev_err(&pdev in mhi_pci_claim()
785 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); mhi_pci_get_irqs() local
848 struct pci_dev *pdev = to_pci_dev(mhi_cntrl->cntrl_dev); mhi_pci_recovery_work() local
909 mhi_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) mhi_pci_probe() argument
1006 mhi_pci_remove(struct pci_dev *pdev) mhi_pci_remove() argument
1026 mhi_pci_shutdown(struct pci_dev *pdev) mhi_pci_shutdown() argument
1032 mhi_pci_reset_prepare(struct pci_dev *pdev) mhi_pci_reset_prepare() argument
1054 mhi_pci_reset_done(struct pci_dev *pdev) mhi_pci_reset_done() argument
1087 mhi_pci_error_detected(struct pci_dev *pdev, pci_channel_state_t state) mhi_pci_error_detected() argument
1112 mhi_pci_slot_reset(struct pci_dev *pdev) mhi_pci_slot_reset() argument
1122 mhi_pci_io_resume(struct pci_dev *pdev) mhi_pci_io_resume() argument
1141 struct pci_dev *pdev = to_pci_dev(dev); mhi_pci_runtime_suspend() local
1173 struct pci_dev *pdev = to_pci_dev(dev); mhi_pci_runtime_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wil6210/
H A Dpcie_bus.c145 int irq = wil->pdev->irq; in wil_disable_irq()
156 int irq = wil->pdev->irq; in wil_enable_irq()
182 struct pci_dev *pdev = wil->pdev; in wil_if_pcie_enable() local
184 /* on platforms with buggy ACPI, pdev->msi_enabled may be set to in wil_if_pcie_enable()
188 int msi_only = pdev->msi_enabled; in wil_if_pcie_enable()
192 pci_set_master(pdev); in wil_if_pcie_enable()
209 pci_alloc_irq_vectors(pdev, n_msi, n_msi, PCI_IRQ_MSI) < n_msi) { in wil_if_pcie_enable()
214 if (n_msi == 1 && pci_enable_msi(pdev)) { in wil_if_pcie_enable()
227 rc = wil6210_init_irq(wil, pdev in wil_if_pcie_enable()
252 struct pci_dev *pdev = wil->pdev; wil_if_pcie_disable() local
295 wil_pcie_probe(struct pci_dev *pdev, const struct pci_device_id *id) wil_pcie_probe() argument
463 wil_pcie_remove(struct pci_dev *pdev) wil_pcie_remove() argument
499 struct pci_dev *pdev = to_pci_dev(dev); wil6210_suspend() local
534 struct pci_dev *pdev = to_pci_dev(dev); wil6210_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/aquantia/atlantic/
H A Daq_pci_func.c98 static int aq_pci_probe_get_hw_by_id(struct pci_dev *pdev, in aq_pci_probe_get_hw_by_id() argument
104 if (pdev->vendor != PCI_VENDOR_ID_AQUANTIA) in aq_pci_probe_get_hw_by_id()
108 if (hw_atl_boards[i].devid == pdev->device && in aq_pci_probe_get_hw_by_id()
110 hw_atl_boards[i].revision == pdev->revision)) { in aq_pci_probe_get_hw_by_id()
123 static int aq_pci_func_init(struct pci_dev *pdev) in aq_pci_func_init() argument
127 err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); in aq_pci_func_init()
129 err = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); in aq_pci_func_init()
135 err = pci_request_regions(pdev, AQ_CFG_DRV_NAME "_mmio"); in aq_pci_func_init()
139 pci_set_master(pdev); in aq_pci_func_init()
151 struct pci_dev *pdev in aq_pci_func_alloc_irq() local
174 struct pci_dev *pdev = self->pdev; aq_pci_func_free_irqs() local
211 aq_pci_probe(struct pci_dev *pdev, const struct pci_device_id *pci_id) aq_pci_probe() argument
344 aq_pci_remove(struct pci_dev *pdev) aq_pci_remove() argument
368 aq_pci_shutdown(struct pci_dev *pdev) aq_pci_shutdown() argument
406 struct pci_dev *pdev = to_pci_dev(dev); atl_resume_common() local
[all...]
/kernel/linux/linux-6.6/drivers/net/wireless/ath/wil6210/
H A Dpcie_bus.c145 int irq = wil->pdev->irq; in wil_disable_irq()
156 int irq = wil->pdev->irq; in wil_enable_irq()
182 struct pci_dev *pdev = wil->pdev; in wil_if_pcie_enable() local
184 /* on platforms with buggy ACPI, pdev->msi_enabled may be set to in wil_if_pcie_enable()
188 int msi_only = pdev->msi_enabled; in wil_if_pcie_enable()
192 pci_set_master(pdev); in wil_if_pcie_enable()
209 pci_alloc_irq_vectors(pdev, n_msi, n_msi, PCI_IRQ_MSI) < n_msi) { in wil_if_pcie_enable()
214 if (n_msi == 1 && pci_enable_msi(pdev)) { in wil_if_pcie_enable()
227 rc = wil6210_init_irq(wil, pdev in wil_if_pcie_enable()
252 struct pci_dev *pdev = wil->pdev; wil_if_pcie_disable() local
295 wil_pcie_probe(struct pci_dev *pdev, const struct pci_device_id *id) wil_pcie_probe() argument
463 wil_pcie_remove(struct pci_dev *pdev) wil_pcie_remove() argument
501 struct pci_dev *pdev = to_pci_dev(dev); wil6210_suspend() local
536 struct pci_dev *pdev = to_pci_dev(dev); wil6210_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/mmc/host/
H A Dsdhci-pci-gli.c549 struct pci_dev *pdev; in gl9750_hw_setting() local
552 pdev = slot->chip->pdev; in gl9750_hw_setting()
564 pci_read_config_dword(pdev, PCI_GLI_9750_PM_CTRL, &value); in gl9750_hw_setting()
566 pci_write_config_dword(pdev, PCI_GLI_9750_PM_CTRL, value); in gl9750_hw_setting()
568 pci_write_config_dword(pdev, PCI_GLI_9750_PM_CTRL, value); in gl9750_hw_setting()
571 pci_read_config_dword(pdev, PCI_GLI_9750_CORRERR_MASK, &value); in gl9750_hw_setting()
573 pci_write_config_dword(pdev, PCI_GLI_9750_CORRERR_MASK, value); in gl9750_hw_setting()
582 ret = pci_alloc_irq_vectors(slot->chip->pdev, 1, 1, in gli_pcie_enable_msi()
590 slot->host->irq = pci_irq_vector(slot->chip->pdev, in gli_pcie_enable_msi()
593 gl9755_wt_on(struct pci_dev *pdev) gl9755_wt_on() argument
610 gl9755_wt_off(struct pci_dev *pdev) gl9755_wt_off() argument
627 gl9755_disable_ssc_pll(struct pci_dev *pdev) gl9755_disable_ssc_pll() argument
638 gl9755_set_pll(struct pci_dev *pdev, u8 dir, u16 ldiv, u8 pdiv) gl9755_set_pll() argument
657 gl9755_ssc_enable(struct pci_dev *pdev) gl9755_ssc_enable() argument
670 gl9755_set_ssc(struct pci_dev *pdev, u8 enable, u8 step, u16 ppm) gl9755_set_ssc() argument
689 gl9755_set_ssc_pll_205mhz(struct pci_dev *pdev) gl9755_set_ssc_pll_205mhz() argument
698 gl9755_set_ssc_pll_100mhz(struct pci_dev *pdev) gl9755_set_ssc_pll_100mhz() argument
707 gl9755_set_ssc_pll_50mhz(struct pci_dev *pdev) gl9755_set_ssc_pll_50mhz() argument
720 struct pci_dev *pdev; sdhci_gl9755_set_clock() local
747 struct pci_dev *pdev = slot->chip->pdev; gl9755_hw_setting() local
792 gl9767_vhs_read(struct pci_dev *pdev) gl9767_vhs_read() argument
809 gl9767_vhs_write(struct pci_dev *pdev) gl9767_vhs_write() argument
826 gl9767_ssc_enable(struct pci_dev *pdev) gl9767_ssc_enable() argument
841 gl9767_set_ssc(struct pci_dev *pdev, u8 enable, u8 step, u16 ppm) gl9767_set_ssc() argument
862 gl9767_set_pll(struct pci_dev *pdev, u8 dir, u16 ldiv, u8 pdiv) gl9767_set_pll() argument
883 gl9767_set_ssc_pll_205mhz(struct pci_dev *pdev) gl9767_set_ssc_pll_205mhz() argument
892 gl9767_disable_ssc_pll(struct pci_dev *pdev) gl9767_disable_ssc_pll() argument
909 struct pci_dev *pdev; sdhci_gl9767_set_clock() local
954 struct pci_dev *pdev = slot->chip->pdev; gl9767_hw_setting() local
996 struct pci_dev *pdev; gl9767_init_sd_express() local
1195 struct pci_dev *pdev = slot->chip->pdev; gl9763e_set_low_power_negotiation() local
1338 struct pci_dev *pdev = slot->chip->pdev; gli_set_gl9763e() local
1487 struct pci_dev *pdev = slot->chip->pdev; gli_probe_slot_gl9763e() local
[all...]
/kernel/linux/linux-5.10/drivers/ata/
H A Dpata_pcmcia.c155 static int pcmcia_check_one_config(struct pcmcia_device *pdev, void *priv_data) in pcmcia_check_one_config() argument
159 if ((pdev->resource[0]->flags & IO_DATA_PATH_WIDTH) in pcmcia_check_one_config()
161 pdev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in pcmcia_check_one_config()
162 pdev->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; in pcmcia_check_one_config()
164 pdev->resource[1]->flags &= ~IO_DATA_PATH_WIDTH; in pcmcia_check_one_config()
165 pdev->resource[1]->flags |= IO_DATA_PATH_WIDTH_8; in pcmcia_check_one_config()
167 if (pdev->resource[1]->end) { in pcmcia_check_one_config()
168 pdev->resource[0]->end = 8; in pcmcia_check_one_config()
169 pdev->resource[1]->end = (*is_kme) ? 2 : 1; in pcmcia_check_one_config()
171 if (pdev in pcmcia_check_one_config()
186 pcmcia_init_one(struct pcmcia_device *pdev) pcmcia_init_one() argument
288 pcmcia_remove_one(struct pcmcia_device *pdev) pcmcia_remove_one() argument
[all...]
/kernel/linux/linux-6.6/drivers/ata/
H A Dpata_pcmcia.c155 static int pcmcia_check_one_config(struct pcmcia_device *pdev, void *priv_data) in pcmcia_check_one_config() argument
159 if ((pdev->resource[0]->flags & IO_DATA_PATH_WIDTH) in pcmcia_check_one_config()
161 pdev->resource[0]->flags &= ~IO_DATA_PATH_WIDTH; in pcmcia_check_one_config()
162 pdev->resource[0]->flags |= IO_DATA_PATH_WIDTH_AUTO; in pcmcia_check_one_config()
164 pdev->resource[1]->flags &= ~IO_DATA_PATH_WIDTH; in pcmcia_check_one_config()
165 pdev->resource[1]->flags |= IO_DATA_PATH_WIDTH_8; in pcmcia_check_one_config()
167 if (pdev->resource[1]->end) { in pcmcia_check_one_config()
168 pdev->resource[0]->end = 8; in pcmcia_check_one_config()
169 pdev->resource[1]->end = (*is_kme) ? 2 : 1; in pcmcia_check_one_config()
171 if (pdev in pcmcia_check_one_config()
186 pcmcia_init_one(struct pcmcia_device *pdev) pcmcia_init_one() argument
288 pcmcia_remove_one(struct pcmcia_device *pdev) pcmcia_remove_one() argument
[all...]
H A Dpata_cs5520.c63 struct pci_dev *pdev = to_pci_dev(ap->host->dev); in cs5520_set_timings() local
69 pci_write_config_byte(pdev, 0x62 + ap->port_no, in cs5520_set_timings()
74 pci_write_config_byte(pdev, 0x64 + 4*ap->port_no + slave, in cs5520_set_timings()
78 pci_write_config_byte(pdev, 0x66 + 4*ap->port_no + slave, in cs5520_set_timings()
110 static int cs5520_init_one(struct pci_dev *pdev, const struct pci_device_id *id) in cs5520_init_one() argument
126 rc = pcim_enable_device(pdev); in cs5520_init_one()
131 pci_read_config_byte(pdev, 0x60, &pcicfg); in cs5520_init_one()
144 dev_warn(&pdev->dev, "DMA mode disabled. Enabling.\n"); in cs5520_init_one()
145 pci_write_config_byte(pdev, 0x60, pcicfg | 0x40); in cs5520_init_one()
150 host = ata_host_alloc_pinfo(&pdev in cs5520_init_one()
230 cs5520_reinit_one(struct pci_dev *pdev) cs5520_reinit_one() argument
259 cs5520_pci_device_suspend(struct pci_dev *pdev, pm_message_t mesg) cs5520_pci_device_suspend() argument
[all...]
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx2/
H A Dotx2_cptvf_main.c40 num_vec = pci_msix_vec_count(cptvf->pdev); in cptvf_register_interrupts()
45 ret = pci_alloc_irq_vectors(cptvf->pdev, num_vec, num_vec, in cptvf_register_interrupts()
48 dev_err(&cptvf->pdev->dev, in cptvf_register_interrupts()
52 irq = pci_irq_vector(cptvf->pdev, OTX2_CPT_VF_INT_VEC_E_MBOX); in cptvf_register_interrupts()
54 ret = devm_request_irq(&cptvf->pdev->dev, irq, in cptvf_register_interrupts()
62 ret = otx2_cpt_send_ready_msg(&cptvf->pfvf_mbox, cptvf->pdev); in cptvf_register_interrupts()
64 dev_warn(&cptvf->pdev->dev, in cptvf_register_interrupts()
74 struct pci_dev *pdev = cptvf->pdev; in cptvf_pfvf_mbox_init() local
91 offset = pci_resource_start(pdev, PCI_MBOX_BAR_NU in cptvf_pfvf_mbox_init()
334 otx2_cptvf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) otx2_cptvf_probe() argument
403 otx2_cptvf_remove(struct pci_dev *pdev) otx2_cptvf_remove() argument
[all...]
/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Dsamsung-keypad.c64 struct platform_device *pdev; member
152 pm_runtime_get_sync(&keypad->pdev->dev); in samsung_keypad_irq()
168 pm_runtime_put(&keypad->pdev->dev); in samsung_keypad_irq()
177 pm_runtime_get_sync(&keypad->pdev->dev); in samsung_keypad_start()
192 pm_runtime_put(&keypad->pdev->dev); in samsung_keypad_start()
199 pm_runtime_get_sync(&keypad->pdev->dev); in samsung_keypad_stop()
222 pm_runtime_put(&keypad->pdev->dev); in samsung_keypad_stop()
315 static int samsung_keypad_probe(struct platform_device *pdev) in samsung_keypad_probe() argument
326 pdata = dev_get_platdata(&pdev->dev); in samsung_keypad_probe()
328 pdata = samsung_keypad_parse_dt(&pdev in samsung_keypad_probe()
449 samsung_keypad_remove(struct platform_device *pdev) samsung_keypad_remove() argument
465 struct platform_device *pdev = to_platform_device(dev); samsung_keypad_runtime_suspend() local
489 struct platform_device *pdev = to_platform_device(dev); samsung_keypad_runtime_resume() local
534 struct platform_device *pdev = to_platform_device(dev); samsung_keypad_suspend() local
552 struct platform_device *pdev = to_platform_device(dev); samsung_keypad_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Dsamsung-keypad.c64 struct platform_device *pdev; member
151 pm_runtime_get_sync(&keypad->pdev->dev); in samsung_keypad_irq()
167 pm_runtime_put(&keypad->pdev->dev); in samsung_keypad_irq()
176 pm_runtime_get_sync(&keypad->pdev->dev); in samsung_keypad_start()
191 pm_runtime_put(&keypad->pdev->dev); in samsung_keypad_start()
198 pm_runtime_get_sync(&keypad->pdev->dev); in samsung_keypad_stop()
221 pm_runtime_put(&keypad->pdev->dev); in samsung_keypad_stop()
313 static int samsung_keypad_probe(struct platform_device *pdev) in samsung_keypad_probe() argument
324 pdata = dev_get_platdata(&pdev->dev); in samsung_keypad_probe()
326 pdata = samsung_keypad_parse_dt(&pdev in samsung_keypad_probe()
447 samsung_keypad_remove(struct platform_device *pdev) samsung_keypad_remove() argument
462 struct platform_device *pdev = to_platform_device(dev); samsung_keypad_runtime_suspend() local
486 struct platform_device *pdev = to_platform_device(dev); samsung_keypad_runtime_resume() local
529 struct platform_device *pdev = to_platform_device(dev); samsung_keypad_suspend() local
547 struct platform_device *pdev = to_platform_device(dev); samsung_keypad_resume() local
[all...]
/kernel/linux/linux-5.10/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_main.c30 struct pci_dev *pdev = cptvf->pdev; in init_worker_threads() local
39 dev_dbg(&pdev->dev, "Creating VQ worker threads (%d)\n", in init_worker_threads()
55 struct pci_dev *pdev = cptvf->pdev; in cleanup_worker_threads() local
64 dev_dbg(&pdev->dev, "Cleaning VQ worker threads (%u)\n", in cleanup_worker_threads()
130 struct pci_dev *pdev = cptvf->pdev; in init_pending_queues() local
138 dev_err(&pdev->dev, "Failed to setup pending queues (%u)\n", in init_pending_queues()
147 struct pci_dev *pdev in cleanup_pending_queues() local
162 struct pci_dev *pdev = cptvf->pdev; free_command_queues() local
193 struct pci_dev *pdev = cptvf->pdev; alloc_command_queues() local
267 struct pci_dev *pdev = cptvf->pdev; init_command_queues() local
282 struct pci_dev *pdev = cptvf->pdev; cleanup_command_queues() local
301 struct pci_dev *pdev = cptvf->pdev; cptvf_sw_init() local
499 struct pci_dev *pdev = cptvf->pdev; cptvf_misc_intr_handler() local
573 struct pci_dev *pdev = cptvf->pdev; cptvf_done_intr_handler() local
599 struct pci_dev *pdev = cptvf->pdev; cptvf_set_irq_affinity() local
783 otx_cptvf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) otx_cptvf_probe() argument
938 otx_cptvf_remove(struct pci_dev *pdev) otx_cptvf_remove() argument
[all...]
/kernel/linux/linux-5.10/drivers/gpu/drm/ast/
H A Dast_drv.c92 static void ast_kick_out_firmware_fb(struct pci_dev *pdev) in ast_kick_out_firmware_fb() argument
101 ap->ranges[0].base = pci_resource_start(pdev, 0); in ast_kick_out_firmware_fb()
102 ap->ranges[0].size = pci_resource_len(pdev, 0); in ast_kick_out_firmware_fb()
105 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in ast_kick_out_firmware_fb()
111 static int ast_pci_probe(struct pci_dev *pdev, const struct pci_device_id *ent) in ast_pci_probe() argument
117 ast_kick_out_firmware_fb(pdev); in ast_pci_probe()
119 ret = pcim_enable_device(pdev); in ast_pci_probe()
123 ast = ast_device_create(&ast_driver, pdev, ent->driver_data); in ast_pci_probe()
137 static void ast_pci_remove(struct pci_dev *pdev) in ast_pci_remove() argument
139 struct drm_device *dev = pci_get_drvdata(pdev); in ast_pci_remove()
178 struct pci_dev *pdev = to_pci_dev(dev); ast_pm_suspend() local
193 struct pci_dev *pdev = to_pci_dev(dev); ast_pm_resume() local
200 struct pci_dev *pdev = to_pci_dev(dev); ast_pm_freeze() local
207 struct pci_dev *pdev = to_pci_dev(dev); ast_pm_thaw() local
214 struct pci_dev *pdev = to_pci_dev(dev); ast_pm_poweroff() local
[all...]
/kernel/linux/linux-6.6/drivers/misc/vmw_vmci/
H A Dvmci_guest.c258 static int vmci_check_host_caps(struct pci_dev *pdev) in vmci_check_host_caps() argument
268 dev_err(&pdev->dev, "%s: Insufficient memory\n", __func__); in vmci_check_host_caps()
285 dev_dbg(&pdev->dev, "%s: Host capability check: %s\n", in vmci_check_host_caps()
574 static int vmci_guest_probe_device(struct pci_dev *pdev, in vmci_guest_probe_device() argument
587 dev_dbg(&pdev->dev, "Probing for vmci/PCI guest device\n"); in vmci_guest_probe_device()
589 error = pcim_enable_device(pdev); in vmci_guest_probe_device()
591 dev_err(&pdev->dev, in vmci_guest_probe_device()
602 if (pci_resource_len(pdev, 1) == VMCI_WITH_MMIO_ACCESS_BAR_SIZE) { in vmci_guest_probe_device()
603 dev_info(&pdev->dev, "MMIO register access is available\n"); in vmci_guest_probe_device()
604 mmio_base = pci_iomap_range(pdev, in vmci_guest_probe_device()
900 vmci_guest_remove_device(struct pci_dev *pdev) vmci_guest_remove_device() argument
[all...]
/kernel/linux/linux-6.6/drivers/scsi/isci/
H A Dinit.c240 sas_phys = devm_kcalloc(&isci_host->pdev->dev, in isci_register_sas_ha()
246 sas_ports = devm_kcalloc(&isci_host->pdev->dev, in isci_register_sas_ha()
283 static int isci_pci_init(struct pci_dev *pdev) in isci_pci_init() argument
288 err = pcim_enable_device(pdev); in isci_pci_init()
290 dev_err(&pdev->dev, in isci_pci_init()
292 pci_name(pdev)); in isci_pci_init()
299 err = pcim_iomap_regions(pdev, bar_mask, DRV_NAME); in isci_pci_init()
303 iomap = pcim_iomap_table(pdev); in isci_pci_init()
307 pci_set_master(pdev); in isci_pci_init()
309 err = dma_set_mask_and_coherent(&pdev in isci_pci_init()
315 num_controllers(struct pci_dev *pdev) num_controllers() argument
331 isci_setup_interrupts(struct pci_dev *pdev) isci_setup_interrupts() argument
494 isci_host_alloc(struct pci_dev *pdev, int id) isci_host_alloc() argument
607 isci_pci_probe(struct pci_dev *pdev, const struct pci_device_id *id) isci_pci_probe() argument
693 isci_pci_remove(struct pci_dev *pdev) isci_pci_remove() argument
708 struct pci_dev *pdev = to_pci_dev(dev); isci_suspend() local
722 struct pci_dev *pdev = to_pci_dev(dev); isci_resume() local
[all...]
/kernel/linux/linux-6.6/drivers/crypto/marvell/octeontx/
H A Dotx_cptvf_main.c30 struct pci_dev *pdev = cptvf->pdev; in init_worker_threads() local
39 dev_dbg(&pdev->dev, "Creating VQ worker threads (%d)\n", in init_worker_threads()
55 struct pci_dev *pdev = cptvf->pdev; in cleanup_worker_threads() local
64 dev_dbg(&pdev->dev, "Cleaning VQ worker threads (%u)\n", in cleanup_worker_threads()
128 struct pci_dev *pdev = cptvf->pdev; in init_pending_queues() local
136 dev_err(&pdev->dev, "Failed to setup pending queues (%u)\n", in init_pending_queues()
145 struct pci_dev *pdev in cleanup_pending_queues() local
160 struct pci_dev *pdev = cptvf->pdev; free_command_queues() local
191 struct pci_dev *pdev = cptvf->pdev; alloc_command_queues() local
264 struct pci_dev *pdev = cptvf->pdev; init_command_queues() local
279 struct pci_dev *pdev = cptvf->pdev; cleanup_command_queues() local
298 struct pci_dev *pdev = cptvf->pdev; cptvf_sw_init() local
496 struct pci_dev *pdev = cptvf->pdev; cptvf_misc_intr_handler() local
570 struct pci_dev *pdev = cptvf->pdev; cptvf_done_intr_handler() local
596 struct pci_dev *pdev = cptvf->pdev; cptvf_set_irq_affinity() local
780 otx_cptvf_probe(struct pci_dev *pdev, const struct pci_device_id *ent) otx_cptvf_probe() argument
929 otx_cptvf_remove(struct pci_dev *pdev) otx_cptvf_remove() argument
[all...]
/kernel/linux/linux-5.10/drivers/net/can/softing/
H A Dsofting_cs.c20 static int softingcs_reset(struct platform_device *pdev, int v);
21 static int softingcs_enable_irq(struct platform_device *pdev, int v);
165 static int softingcs_reset(struct platform_device *pdev, int v) in softingcs_reset() argument
167 struct pcmcia_device *pcmcia = to_pcmcia_dev(pdev->dev.parent); in softingcs_reset()
169 dev_dbg(&pdev->dev, "pcmcia config [2] %02x\n", v ? 0 : 0x20); in softingcs_reset()
173 static int softingcs_enable_irq(struct platform_device *pdev, int v) in softingcs_enable_irq() argument
175 struct pcmcia_device *pcmcia = to_pcmcia_dev(pdev->dev.parent); in softingcs_enable_irq()
177 dev_dbg(&pdev->dev, "pcmcia config [0] %02x\n", v ? 0x60 : 0); in softingcs_enable_irq()
207 struct platform_device *pdev = pcmcia->priv; in softingcs_remove() local
210 platform_device_unregister(pdev); in softingcs_remove()
221 struct platform_device *pdev = to_platform_device(dev); softingcs_pdev_release() local
228 struct platform_device *pdev; softingcs_probe() local
232 struct platform_device pdev; softingcs_probe() member
[all...]
/kernel/linux/linux-5.10/drivers/i2c/busses/
H A Di2c-designware-platdrv.c135 static int dw_i2c_of_configure(struct platform_device *pdev) in dw_i2c_of_configure() argument
137 struct dw_i2c_dev *dev = platform_get_drvdata(pdev); in dw_i2c_of_configure()
141 dev->ext = devm_platform_ioremap_resource(pdev, 1); in dw_i2c_of_configure()
165 static inline int dw_i2c_of_configure(struct platform_device *pdev) in dw_i2c_of_configure() argument
181 struct platform_device *pdev = to_platform_device(dev->dev); in dw_i2c_plat_request_regs() local
189 dev->base = devm_platform_ioremap_resource(pdev, 0); in dw_i2c_plat_request_regs()
208 static int dw_i2c_plat_probe(struct platform_device *pdev) in dw_i2c_plat_probe() argument
210 struct dw_i2c_platform_data *pdata = dev_get_platdata(&pdev->dev); in dw_i2c_plat_probe()
216 irq = platform_get_irq(pdev, 0); in dw_i2c_plat_probe()
220 dev = devm_kzalloc(&pdev in dw_i2c_plat_probe()
335 dw_i2c_plat_remove(struct platform_device *pdev) dw_i2c_plat_remove() argument
[all...]
/kernel/linux/linux-6.6/drivers/net/can/softing/
H A Dsofting_cs.c20 static int softingcs_reset(struct platform_device *pdev, int v);
21 static int softingcs_enable_irq(struct platform_device *pdev, int v);
165 static int softingcs_reset(struct platform_device *pdev, int v) in softingcs_reset() argument
167 struct pcmcia_device *pcmcia = to_pcmcia_dev(pdev->dev.parent); in softingcs_reset()
169 dev_dbg(&pdev->dev, "pcmcia config [2] %02x\n", v ? 0 : 0x20); in softingcs_reset()
173 static int softingcs_enable_irq(struct platform_device *pdev, int v) in softingcs_enable_irq() argument
175 struct pcmcia_device *pcmcia = to_pcmcia_dev(pdev->dev.parent); in softingcs_enable_irq()
177 dev_dbg(&pdev->dev, "pcmcia config [0] %02x\n", v ? 0x60 : 0); in softingcs_enable_irq()
207 struct platform_device *pdev = pcmcia->priv; in softingcs_remove() local
210 platform_device_unregister(pdev); in softingcs_remove()
221 struct platform_device *pdev = to_platform_device(dev); softingcs_pdev_release() local
228 struct platform_device *pdev; softingcs_probe() local
232 struct platform_device pdev; softingcs_probe() member
[all...]

Completed in 16 milliseconds

12345678910>>...556