Lines Matching refs:hc
894 static inline void __iomem *mv_hc_base(void __iomem *base, unsigned int hc) in mv_hc_base() argument
896 return (base + SATAHC0_REG_BASE + (hc * MV_SATAHC_REG_SZ)); in mv_hc_base()
1290 int start_port, num_ports, p, start_hc, num_hcs, hc; in mv_dump_all_regs() local
1313 for (hc = start_hc; hc < start_hc + num_hcs; hc++) { in mv_dump_all_regs()
1314 hc_base = mv_hc_base(mmio_base, hc); in mv_dump_all_regs()
1315 DPRINTK("HC regs (HC %i):\n", hc); in mv_dump_all_regs()
3187 unsigned int hc) in mv5_reset_one_hc() argument
3189 void __iomem *hc_mmio = mv_hc_base(mmio, hc); in mv5_reset_one_hc()
3207 unsigned int hc, port; in mv5_reset_hc() local
3209 for (hc = 0; hc < n_hc; hc++) { in mv5_reset_hc()
3212 (hc * MV_PORTS_PER_HC) + port); in mv5_reset_hc()
3214 mv5_reset_one_hc(hpriv, mmio, hc); in mv5_reset_hc()
3929 int rc = 0, n_hc, port, hc; in mv_init_host() local
3972 for (hc = 0; hc < n_hc; hc++) { in mv_init_host()
3973 void __iomem *hc_mmio = mv_hc_base(mmio, hc); in mv_init_host()
3976 "(before clear)=0x%08x\n", hc, in mv_init_host()