Lines Matching defs:tg
1592 ami_drv_pt(struct ami_softc *sc, u_int8_t ch, u_int8_t tg, u_int8_t *cmd,
1615 pt->apt_target = tg;
1654 ami_drv_inq(struct ami_softc *sc, u_int8_t ch, u_int8_t tg, u_int8_t page,
1674 error = ami_drv_pt(sc, ch, tg, cdb, 6, sizeof *inq, inqbuf);
1685 ami_drv_readcap(struct ami_softc *sc, u_int8_t ch, u_int8_t tg, daddr_t *sz)
1698 error = ami_drv_pt(sc, ch, tg, cdb, 10, sizeof(*rcd), rcd);
1709 error = ami_drv_pt(sc, ch, tg, cdb, 16, sizeof(*rcd16), rcd16);
1836 int ch, tg;
1853 tg = i & 0x0f;
1854 if (ami_drv_inq(sc, ch, tg, 0, inqbuf)) {
1914 tg = i & 0x0f;
1915 if (!ami_drv_inq(sc, ch, tg, 0, inqbuf)) {
1981 u_int8_t ch, tg;
1999 tg = i & 0x0f;
2000 if (ami_drv_inq(sc, ch, tg, 0, inqbuf))
2009 if (!ami_drv_inq(sc, ch, tg, 0x80, vpdbuf)) {
2017 error = ami_drv_readcap(sc, ch, tg, &sz);
2023 bd->bd_target = tg;
2036 ch, tg, p->apd[i].adp_type, inqbuf->device);
2175 u_int16_t ch, tg;
2235 tg = p->ald[i].asp[s].adv[t].add_target & 0x0f;
2238 bd->bd_target = tg;
2249 if (!ami_drv_inq(sc, ch, tg, 0, inqbuf)) {
2257 if (!ami_drv_inq(sc, ch, tg, 0x80, vpdbuf)) {