Lines Matching defs:unitid
31 ret = saa7164_cmd_send(port->dev, port->hwcfg.unitid, SET_CUR,
183 dprintk(DBGLVL_API, " unitid = 0x%x\n",
184 vcoutputtermhdr->unitid);
288 dprintk(DBGLVL_API, " unitid = 0x%x\n",
289 tunerunithdr->unitid);
316 dprintk(DBGLVL_API, " unitid = 0x%x\n",
317 exthdr->unitid);
381 dprintk(DBGLVL_API, " 4.%x\n", hdr->unitid);
434 int unitid;
467 unitid = saa7164_i2caddr_to_unitid(bus, addr);
468 if (unitid < 0) {
470 "%s() error, cannot translate regaddr 0x%x to unitid\n",
475 ret = saa7164_cmd_send(bus->dev, unitid, GET_LEN,
487 ret = saa7164_cmd_send(bus->dev, unitid, GET_CUR,
506 int unitid;
518 unitid = saa7164_i2caddr_to_unitid(bus, addr);
519 if (unitid < 0) {
521 "%s() error, cannot translate regaddr 0x%x to unitid\n",
534 ret = saa7164_cmd_send(bus->dev, unitid, GET_LEN,
555 ret = saa7164_cmd_send(bus->dev, unitid, SET_CUR,
564 int saa7164_api_modify_gpio(struct saa7164_dev *dev, u8 unitid,
571 __func__, unitid, pin, state);
579 ret = saa7164_cmd_send(dev, unitid, SET_CUR,
588 int saa7164_api_set_gpiobit(struct saa7164_dev *dev, u8 unitid,
591 return saa7164_api_modify_gpio(dev, unitid, pin, 1);
594 int saa7164_api_clear_gpiobit(struct saa7164_dev *dev, u8 unitid,
597 return saa7164_api_modify_gpio(dev, unitid, pin, 0);