Home
last modified time | relevance | path

Searched refs:spi_wr8 (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/usb/gadget/udc/
Dmax3420_udc.c266 static void spi_wr8(struct max3420_udc *udc, u8 reg, u8 val) in spi_wr8() function
340 spi_wr8(udc, MAX3420_REG_CLRTOGS, epdis); in spi_max3420_enable()
341 spi_wr8(udc, MAX3420_REG_EPIEN, epien); in spi_max3420_enable()
372 spi_wr8(udc, MAX3420_REG_CLRTOGS, clrtogs); in spi_max3420_stall()
374 spi_wr8(udc, MAX3420_REG_EPSTALLS, epstalls | ACKSTAT); in spi_max3420_stall()
396 spi_wr8(udc, MAX3420_REG_USBCTL, usbctl); in spi_max3420_rwkup()
403 spi_wr8(udc, MAX3420_REG_USBCTL, usbctl); in spi_max3420_rwkup()
421 spi_wr8(udc, MAX3420_REG_CPUCTL, 0); in __max3420_stop()
429 spi_wr8(udc, MAX3420_REG_USBCTL, val); in __max3420_stop()
442 spi_wr8(udc, MAX3420_REG_PINCTL, FDUPSPI); in __max3420_start()
[all …]
/linux-6.12.1/drivers/usb/host/
Dmax3421-hcd.c367 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()
[all …]