Lines Matching refs:unitid
98 port->nr, port->hwcfg.unitid); in saa7164_api_set_vbi_format()
105 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
111 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
121 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
127 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, in saa7164_api_set_vbi_format()
465 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, SET_CUR, in saa7164_api_audio_mute()
483 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, GET_MIN, in saa7164_api_set_audio_volume()
488 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, GET_MAX, in saa7164_api_set_audio_volume()
493 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, GET_CUR, in saa7164_api_set_audio_volume()
508 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, SET_CUR, in saa7164_api_set_audio_volume()
514 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, SET_CUR, in saa7164_api_set_audio_volume()
519 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, GET_CUR, in saa7164_api_set_audio_volume()
546 ret = saa7164_cmd_send(port->dev, port->audfeat.unitid, SET_CUR, in saa7164_api_set_audio_std()
561 ret = saa7164_cmd_send(port->dev, port->tunerunit.unitid, SET_CUR, in saa7164_api_set_audio_std()
582 ret = saa7164_cmd_send(port->dev, port->tunerunit.unitid, SET_CUR, in saa7164_api_set_audio_detection()
647 ret = saa7164_cmd_send(dev, port->ifunit.unitid, GET_LEN, in saa7164_api_set_dif()
654 ret = saa7164_cmd_send(dev, port->ifunit.unitid, SET_CUR, in saa7164_api_set_dif()
774 __func__, port->nr, port->hwcfg.unitid, mode); in saa7164_api_transition_port()
776 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, SET_CUR, in saa7164_api_transition_port()
780 __func__, port->nr, port->hwcfg.unitid, ret); in saa7164_api_transition_port()
1008 vcoutputtermhdr->unitid); in saa7164_api_dump_subdevs()
1129 tunerunithdr->unitid); in saa7164_api_dump_subdevs()
1141 if (tunerunithdr->unitid == tunerunithdr->iunit) { in saa7164_api_dump_subdevs()
1157 psel->unitid); in saa7164_api_dump_subdevs()
1167 pdh->unitid); in saa7164_api_dump_subdevs()
1187 afd->unitid); in saa7164_api_dump_subdevs()
1205 dprintk(DBGLVL_API, " unitid = 0x%x\n", edh->unitid); in saa7164_api_dump_subdevs()
1211 if (edh->iunit == edh->unitid) { in saa7164_api_dump_subdevs()
1227 exthdr->unitid); in saa7164_api_dump_subdevs()
1302 dprintk(DBGLVL_API, " 4.%x\n", hdr->unitid); in saa7164_api_dump_subdevs()
1356 int unitid; in saa7164_api_i2c_read() local
1376 unitid = saa7164_i2caddr_to_unitid(bus, addr); in saa7164_api_i2c_read()
1377 if (unitid < 0) { in saa7164_api_i2c_read()
1384 ret = saa7164_cmd_send(bus->dev, unitid, GET_LEN, in saa7164_api_i2c_read()
1397 ret = saa7164_cmd_send(bus->dev, unitid, GET_CUR, in saa7164_api_i2c_read()
1417 int unitid; in saa7164_api_i2c_write() local
1430 unitid = saa7164_i2caddr_to_unitid(bus, addr); in saa7164_api_i2c_write()
1431 if (unitid < 0) { in saa7164_api_i2c_write()
1446 ret = saa7164_cmd_send(bus->dev, unitid, GET_LEN, in saa7164_api_i2c_write()
1454 len, unitid); in saa7164_api_i2c_write()
1469 ret = saa7164_cmd_send(bus->dev, unitid, SET_CUR, in saa7164_api_i2c_write()
1477 static int saa7164_api_modify_gpio(struct saa7164_dev *dev, u8 unitid, in saa7164_api_modify_gpio() argument
1484 __func__, unitid, pin, state); in saa7164_api_modify_gpio()
1492 ret = saa7164_cmd_send(dev, unitid, SET_CUR, in saa7164_api_modify_gpio()
1501 int saa7164_api_set_gpiobit(struct saa7164_dev *dev, u8 unitid, in saa7164_api_set_gpiobit() argument
1504 return saa7164_api_modify_gpio(dev, unitid, pin, 1); in saa7164_api_set_gpiobit()
1507 int saa7164_api_clear_gpiobit(struct saa7164_dev *dev, u8 unitid, in saa7164_api_clear_gpiobit() argument
1510 return saa7164_api_modify_gpio(dev, unitid, pin, 0); in saa7164_api_clear_gpiobit()