• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/

Lines Matching refs:dd

590 int ipath_enable_wc(struct ipath_devdata *dd);
591 void ipath_disable_wc(struct ipath_devdata *dd);
606 int ipath_user_add(struct ipath_devdata *dd);
607 void ipath_user_remove(struct ipath_devdata *dd);
609 struct sk_buff *ipath_alloc_skb(struct ipath_devdata *dd, gfp_t);
642 int ipath_set_rx_pol_inv(struct ipath_devdata *dd, u8 new_pol_inv);
708 void ipath_free_data(struct ipath_portdata *dd);
778 * @dd: device
786 static inline u32 ipath_read_ureg32(const struct ipath_devdata *dd,
789 if (!dd->ipath_kregbase || !(dd->ipath_flags & IPATH_PRESENT))
793 (dd->ipath_uregbase +
794 (char __iomem *)dd->ipath_kregbase +
795 dd->ipath_palign * port));
800 * @dd: device
807 static inline void ipath_write_ureg(const struct ipath_devdata *dd,
811 (dd->ipath_uregbase + (char __iomem *) dd->ipath_kregbase +
812 dd->ipath_palign * port);
813 if (dd->ipath_kregbase)
817 static inline u32 ipath_read_kreg32(const struct ipath_devdata *dd,
820 if (!dd->ipath_kregbase || !(dd->ipath_flags & IPATH_PRESENT))
822 return readl((u32 __iomem *) & dd->ipath_kregbase[regno]);
825 static inline u64 ipath_read_kreg64(const struct ipath_devdata *dd,
828 if (!dd->ipath_kregbase || !(dd->ipath_flags & IPATH_PRESENT))
831 return readq(&dd->ipath_kregbase[regno]);
834 static inline void ipath_write_kreg(const struct ipath_devdata *dd,
837 if (dd->ipath_kregbase)
838 writeq(value, &dd->ipath_kregbase[regno]);
841 static inline u64 ipath_read_creg(const struct ipath_devdata *dd,
844 if (!dd->ipath_kregbase || !(dd->ipath_flags & IPATH_PRESENT))
848 (dd->ipath_cregbase +
849 (char __iomem *)dd->ipath_kregbase));
852 static inline u32 ipath_read_creg32(const struct ipath_devdata *dd,
855 if (!dd->ipath_kregbase || !(dd->ipath_flags & IPATH_PRESENT))
858 (dd->ipath_cregbase +
859 (char __iomem *)dd->ipath_kregbase));
914 #define ipath_dev_err(dd,fmt,...) \
916 const struct ipath_devdata *__dd = (dd); \