Lines Matching refs:hc
890 static inline void __iomem *mv_hc_base(void __iomem *base, unsigned int hc) in mv_hc_base() argument
892 return (base + SATAHC0_REG_BASE + (hc * MV_SATAHC_REG_SZ)); in mv_hc_base()
1287 int start_port, num_ports, p, start_hc, num_hcs, hc; in mv_dump_all_regs() local
1310 for (hc = start_hc; hc < start_hc + num_hcs; hc++) { in mv_dump_all_regs()
1311 hc_base = mv_hc_base(mmio_base, hc); in mv_dump_all_regs()
1312 DPRINTK("HC regs (HC %i):\n", hc); in mv_dump_all_regs()
3183 unsigned int hc) in mv5_reset_one_hc() argument
3185 void __iomem *hc_mmio = mv_hc_base(mmio, hc); in mv5_reset_one_hc()
3203 unsigned int hc, port; in mv5_reset_hc() local
3205 for (hc = 0; hc < n_hc; hc++) { in mv5_reset_hc()
3208 (hc * MV_PORTS_PER_HC) + port); in mv5_reset_hc()
3210 mv5_reset_one_hc(hpriv, mmio, hc); in mv5_reset_hc()
3925 int rc = 0, n_hc, port, hc; in mv_init_host() local
3968 for (hc = 0; hc < n_hc; hc++) { in mv_init_host()
3969 void __iomem *hc_mmio = mv_hc_base(mmio, hc); in mv_init_host()
3972 "(before clear)=0x%08x\n", hc, in mv_init_host()