Lines Matching refs:unitid

112 		port->nr, port->hwcfg.unitid);  in saa7164_api_set_vbi_format()
119 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
125 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
135 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
141 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
479 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, SET_CUR, in saa7164_api_audio_mute()
497 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, GET_MIN, in saa7164_api_set_audio_volume()
502 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, GET_MAX, in saa7164_api_set_audio_volume()
507 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, GET_CUR, in saa7164_api_set_audio_volume()
522 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, SET_CUR, in saa7164_api_set_audio_volume()
528 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, SET_CUR, in saa7164_api_set_audio_volume()
533 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, GET_CUR, in saa7164_api_set_audio_volume()
560 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, SET_CUR, in saa7164_api_set_audio_std()
575 ret = saa7164_cmd_send(port->dev, port->tunerunit.unitid, SET_CUR, in saa7164_api_set_audio_std()
596 ret = saa7164_cmd_send(port->dev, port->tunerunit.unitid, SET_CUR, in saa7164_api_set_audio_detection()
661 ret = saa7164_cmd_send(dev, port->ifunit.unitid, GET_LEN, in saa7164_api_set_dif()
668 ret = saa7164_cmd_send(dev, port->ifunit.unitid, SET_CUR, in saa7164_api_set_dif()
788 __func__, port->nr, port->hwcfg.unitid, mode); in saa7164_api_transition_port()
790 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, SET_CUR, in saa7164_api_transition_port()
794 __func__, port->nr, port->hwcfg.unitid, ret); in saa7164_api_transition_port()
1020 vcoutputtermhdr->unitid); in saa7164_api_dump_subdevs()
1143 tunerunithdr->unitid); in saa7164_api_dump_subdevs()
1155 if (tunerunithdr->unitid == tunerunithdr->iunit) { in saa7164_api_dump_subdevs()
1171 psel->unitid); in saa7164_api_dump_subdevs()
1181 pdh->unitid); in saa7164_api_dump_subdevs()
1201 afd->unitid); in saa7164_api_dump_subdevs()
1219 dprintk(DBGLVL_API, " unitid = 0x%x\n", edh->unitid); in saa7164_api_dump_subdevs()
1225 if (edh->iunit == edh->unitid) { in saa7164_api_dump_subdevs()
1241 exthdr->unitid); in saa7164_api_dump_subdevs()
1316 dprintk(DBGLVL_API, " 4.%x\n", hdr->unitid); in saa7164_api_dump_subdevs()
1369 int unitid; in saa7164_api_i2c_read() local
1402 unitid = saa7164_i2caddr_to_unitid(bus, addr); in saa7164_api_i2c_read()
1403 if (unitid < 0) { in saa7164_api_i2c_read()
1410 ret = saa7164_cmd_send(bus->dev, unitid, GET_LEN, in saa7164_api_i2c_read()
1422 ret = saa7164_cmd_send(bus->dev, unitid, GET_CUR, in saa7164_api_i2c_read()
1441 int unitid; in saa7164_api_i2c_write() local
1453 unitid = saa7164_i2caddr_to_unitid(bus, addr); in saa7164_api_i2c_write()
1454 if (unitid < 0) { in saa7164_api_i2c_write()
1469 ret = saa7164_cmd_send(bus->dev, unitid, GET_LEN, in saa7164_api_i2c_write()
1490 ret = saa7164_cmd_send(bus->dev, unitid, SET_CUR, in saa7164_api_i2c_write()
1498 int saa7164_api_modify_gpio(struct saa7164_dev *dev, u8 unitid, in saa7164_api_modify_gpio() argument
1505 __func__, unitid, pin, state); in saa7164_api_modify_gpio()
1513 ret = saa7164_cmd_send(dev, unitid, SET_CUR, in saa7164_api_modify_gpio()
1522 int saa7164_api_set_gpiobit(struct saa7164_dev *dev, u8 unitid, in saa7164_api_set_gpiobit() argument
1525 return saa7164_api_modify_gpio(dev, unitid, pin, 1); in saa7164_api_set_gpiobit()
1528 int saa7164_api_clear_gpiobit(struct saa7164_dev *dev, u8 unitid, in saa7164_api_clear_gpiobit() argument
1531 return saa7164_api_modify_gpio(dev, unitid, pin, 0); in saa7164_api_clear_gpiobit()