Lines Matching refs:mctlr
4502 struct bttv *mctlr; in kodicom4400r_muxsel() local
4505 mctlr = master[btv->c.nr]; in kodicom4400r_muxsel()
4506 if (mctlr == NULL) { /* ignore if master not yet detected */ in kodicom4400r_muxsel()
4509 yaddr = (btv->c.nr - mctlr->c.nr + 1) & 3; /* the '&' is for safety */ in kodicom4400r_muxsel()
4513 if (mctlr->sw_status[yaddr] != xaddr) in kodicom4400r_muxsel()
4516 kodicom4400r_write(mctlr, mctlr->sw_status[yaddr], yaddr, 0); in kodicom4400r_muxsel()
4517 mctlr->sw_status[yaddr] = xaddr; in kodicom4400r_muxsel()
4518 kodicom4400r_write(mctlr, xaddr, yaddr, 1); in kodicom4400r_muxsel()
4813 struct bttv *mctlr; in gv800s_muxsel() local
4820 mctlr = master[btv->c.nr]; in gv800s_muxsel()
4821 if (mctlr == NULL) { in gv800s_muxsel()
4825 yaddr = (btv->c.nr - mctlr->c.nr) & 3; in gv800s_muxsel()
4829 if (mctlr->sw_status[yaddr] != xaddr) { in gv800s_muxsel()
4831 gv800s_write(mctlr, mctlr->sw_status[yaddr], yaddr, 0); in gv800s_muxsel()
4832 mctlr->sw_status[yaddr] = xaddr; in gv800s_muxsel()
4833 gv800s_write(mctlr, xaddr, yaddr, 1); in gv800s_muxsel()