Lines Matching refs:hc
898 static inline void __iomem *mv_hc_base(void __iomem *base, unsigned int hc) in mv_hc_base() argument
900 return (base + SATAHC0_REG_BASE + (hc * MV_SATAHC_REG_SZ)); in mv_hc_base()
1295 int start_port, num_ports, p, start_hc, num_hcs, hc; in mv_dump_all_regs() local
1318 for (hc = start_hc; hc < start_hc + num_hcs; hc++) { in mv_dump_all_regs()
1319 hc_base = mv_hc_base(mmio_base, hc); in mv_dump_all_regs()
1320 DPRINTK("HC regs (HC %i):\n", hc); in mv_dump_all_regs()
3186 unsigned int hc) in mv5_reset_one_hc() argument
3188 void __iomem *hc_mmio = mv_hc_base(mmio, hc); in mv5_reset_one_hc()
3206 unsigned int hc, port; in mv5_reset_hc() local
3208 for (hc = 0; hc < n_hc; hc++) { in mv5_reset_hc()
3211 (hc * MV_PORTS_PER_HC) + port); in mv5_reset_hc()
3213 mv5_reset_one_hc(hpriv, mmio, hc); in mv5_reset_hc()
3928 int rc = 0, n_hc, port, hc; in mv_init_host() local
3971 for (hc = 0; hc < n_hc; hc++) { in mv_init_host()
3972 void __iomem *hc_mmio = mv_hc_base(mmio, hc); in mv_init_host()
3975 "(before clear)=0x%08x\n", hc, in mv_init_host()