Lines Matching refs:pdev

54 extern bool pdev_is_ssb_gige_core(struct pci_dev *pdev);
57 static inline struct ssb_gige * pdev_to_ssb_gige(struct pci_dev *pdev) in pdev_to_ssb_gige() argument
59 if (!pdev_is_ssb_gige_core(pdev)) in pdev_to_ssb_gige()
61 return container_of(pdev->bus->ops, struct ssb_gige, pci_ops); in pdev_to_ssb_gige()
65 static inline bool ssb_gige_is_rgmii(struct pci_dev *pdev) in ssb_gige_is_rgmii() argument
67 struct ssb_gige *dev = pdev_to_ssb_gige(pdev); in ssb_gige_is_rgmii()
72 static inline bool ssb_gige_have_roboswitch(struct pci_dev *pdev) in ssb_gige_have_roboswitch() argument
74 struct ssb_gige *dev = pdev_to_ssb_gige(pdev); in ssb_gige_have_roboswitch()
82 static inline bool ssb_gige_one_dma_at_once(struct pci_dev *pdev) in ssb_gige_one_dma_at_once() argument
84 struct ssb_gige *dev = pdev_to_ssb_gige(pdev); in ssb_gige_one_dma_at_once()
92 static inline bool ssb_gige_must_flush_posted_writes(struct pci_dev *pdev) in ssb_gige_must_flush_posted_writes() argument
94 struct ssb_gige *dev = pdev_to_ssb_gige(pdev); in ssb_gige_must_flush_posted_writes()
103 static inline void ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr) in ssb_gige_get_macaddr() argument
111 static inline void ssb_gige_get_macaddr(struct pci_dev *pdev, u8 *macaddr) in ssb_gige_get_macaddr() argument
117 struct pci_dev *pdev);
119 const struct pci_dev *pdev);
137 struct pci_dev *pdev) in ssb_gige_pcibios_plat_dev_init() argument
142 const struct pci_dev *pdev) in ssb_gige_map_irq() argument
154 static inline bool pdev_is_ssb_gige_core(struct pci_dev *pdev) in pdev_is_ssb_gige_core() argument
158 static inline struct ssb_gige * pdev_to_ssb_gige(struct pci_dev *pdev) in pdev_to_ssb_gige() argument
162 static inline bool ssb_gige_is_rgmii(struct pci_dev *pdev) in ssb_gige_is_rgmii() argument
166 static inline bool ssb_gige_have_roboswitch(struct pci_dev *pdev) in ssb_gige_have_roboswitch() argument
170 static inline bool ssb_gige_one_dma_at_once(struct pci_dev *pdev) in ssb_gige_one_dma_at_once() argument
174 static inline bool ssb_gige_must_flush_posted_writes(struct pci_dev *pdev) in ssb_gige_must_flush_posted_writes() argument