Lines Matching refs:pcan_write_reg
219 static void pcan_write_reg(struct pcan_pccard *card, int port, u8 v) in pcan_write_reg() function
268 pcan_write_reg(card, PCC_SPI_IR, PCC_EEP_WREN); in pcan_write_eeprom()
276 pcan_write_reg(card, PCC_SPI_IR, PCC_EEP_RDSR); in pcan_write_eeprom()
294 pcan_write_reg(card, PCC_SPI_ADR, addr & 0xff); in pcan_write_eeprom()
295 pcan_write_reg(card, PCC_SPI_DOR, v); in pcan_write_eeprom()
301 pcan_write_reg(card, PCC_SPI_IR, PCC_EEP_WRITE(addr)); in pcan_write_eeprom()
309 pcan_write_reg(card, PCC_SPI_IR, PCC_EEP_RDSR); in pcan_write_eeprom()
327 pcan_write_reg(card, PCC_SPI_IR, PCC_EEP_WRDI); in pcan_write_eeprom()
355 pcan_write_reg(card, PCC_CCR, ccr); in pcan_set_leds()
412 pcan_write_reg(card, PCC_CCR, ccr); in pcan_led_timer()
521 pcan_write_reg(card, PCC_CCR, ccr); in pcan_add_channels()
527 pcan_write_reg(card, PCC_CCR, ccr); in pcan_add_channels()
588 pcan_write_reg(card, PCC_CCR, ccr); in pcan_add_channels()