Lines Matching defs:rc
114 int rc;
117 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR, req,
120 if (rc < 0)
121 return rc;
129 int rc;
132 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR, req,
135 if (rc < 0)
136 return rc;
143 int rc;
146 rc = tm6000_read_write_usb(dev, USB_DIR_IN | USB_TYPE_VENDOR, req,
149 if (rc < 0)
150 return rc;
157 int rc;
159 rc = tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN, TM6000_GPIO_CLK, 0);
160 if (rc < 0)
161 return rc;
165 rc = tm6000_set_reg(dev, REQ_03_SET_GET_MCU_PIN, TM6000_GPIO_CLK, 1);
168 return rc;
565 int board, rc = 0, i, size;
578 rc = tm6000_set_reg(dev, tab[i].req, tab[i].reg, tab[i].val);
579 if (rc < 0) {
581 "reg %d to value %d\n", rc,
583 return rc;
596 rc = tm6000_cards_setup(dev);
598 return rc;