Lines Matching refs:spi_wr8
367 spi_wr8(struct usb_hcd *hcd, unsigned int reg, u8 val) in spi_wr8() function
474 spi_wr8(hcd, MAX3421_REG_MODE, max3421_hcd->mode); in max3421_set_speed()
494 spi_wr8(hcd, MAX3421_REG_HCTL, hctl); in max3421_set_address()
501 spi_wr8(hcd, MAX3421_REG_PERADDR, dev->devnum); in max3421_set_address()
536 spi_wr8(hcd, MAX3421_REG_SNDBC, 0); in max3421_transfer_out()
537 spi_wr8(hcd, MAX3421_REG_SNDFIFO, ((u8 *) src)[0]); in max3421_transfer_out()
538 spi_wr8(hcd, MAX3421_REG_SNDBC, max3421_hcd->curr_len); in max3421_transfer_out()
560 spi_wr8(hcd, MAX3421_REG_SNDBC, max3421_hcd->curr_len); in max3421_transfer_out()
610 spi_wr8(hcd, MAX3421_REG_HXFR, cmd); in max3421_next_transfer()
840 spi_wr8(hcd, MAX3421_REG_HIRQ, BIT(MAX3421_HI_RCVDAV_BIT)); in max3421_recv_data_available()
889 spi_wr8(hcd, MAX3421_REG_HCTL, in max3421_handle_error()
926 spi_wr8(hcd, MAX3421_REG_SNDBC, 0); in max3421_handle_error()
1109 spi_wr8(hcd, MAX3421_REG_MODE, max3421_hcd->mode); in max3421_detect_conn()
1201 spi_wr8(hcd, MAX3421_REG_HIRQ, in max3421_handle_irqs()
1284 spi_wr8(hcd, MAX3421_REG_USBCTL, BIT(MAX3421_USBCTL_CHIPRES_BIT)); in max3421_reset_hcd()
1286 spi_wr8(hcd, MAX3421_REG_USBCTL, 0); in max3421_reset_hcd()
1308 spi_wr8(hcd, MAX3421_REG_MODE, max3421_hcd->mode); in max3421_reset_hcd()
1312 spi_wr8(hcd, MAX3421_REG_HCTL, BIT(MAX3421_HCTL_FRMRST_BIT)); in max3421_reset_hcd()
1315 spi_wr8(hcd, MAX3421_REG_HCTL, BIT(MAX3421_HCTL_SAMPLEBUS_BIT)); in max3421_reset_hcd()
1322 spi_wr8(hcd, MAX3421_REG_HIEN, max3421_hcd->hien); in max3421_reset_hcd()
1325 spi_wr8(hcd, MAX3421_REG_CPUCTL, BIT(MAX3421_CPUCTL_IE_BIT)); in max3421_reset_hcd()
1373 spi_wr8(hcd, MAX3421_REG_PINCTL, in max3421_spi_thread()
1395 spi_wr8(hcd, MAX3421_REG_HIEN, max3421_hcd->hien); in max3421_spi_thread()
1418 spi_wr8(hcd, MAX3421_REG_HCTL, in max3421_spi_thread()
1434 spi_wr8(hcd, MAX3421_REG_IOPINS1 + i, val); in max3421_spi_thread()