Lines Matching refs:hc
903 static inline void __iomem *mv_hc_base(void __iomem *base, unsigned int hc) in mv_hc_base() argument
905 return (base + SATAHC0_REG_BASE + (hc * MV_SATAHC_REG_SZ)); in mv_hc_base()
1300 int start_port, num_ports, p, start_hc, num_hcs, hc; in mv_dump_all_regs() local
1323 for (hc = start_hc; hc < start_hc + num_hcs; hc++) { in mv_dump_all_regs()
1324 hc_base = mv_hc_base(mmio_base, hc); in mv_dump_all_regs()
1325 DPRINTK("HC regs (HC %i):\n", hc); in mv_dump_all_regs()
3198 unsigned int hc) in mv5_reset_one_hc() argument
3200 void __iomem *hc_mmio = mv_hc_base(mmio, hc); in mv5_reset_one_hc()
3218 unsigned int hc, port; in mv5_reset_hc() local
3220 for (hc = 0; hc < n_hc; hc++) { in mv5_reset_hc()
3223 (hc * MV_PORTS_PER_HC) + port); in mv5_reset_hc()
3225 mv5_reset_one_hc(hpriv, mmio, hc); in mv5_reset_hc()
3940 int rc = 0, n_hc, port, hc; in mv_init_host() local
3983 for (hc = 0; hc < n_hc; hc++) { in mv_init_host()
3984 void __iomem *hc_mmio = mv_hc_base(mmio, hc); in mv_init_host()
3987 "(before clear)=0x%08x\n", hc, in mv_init_host()