Home
last modified time | relevance | path

Searched refs:txlen (Results 1 – 6 of 6) sorted by relevance

/rk3399_rockchip-uboot/drivers/usb/musb/
H A Dmusb_hcd.c314 u32 txlen = 0; in ctrlreq_out_data_phase() local
320 while (txlen < len) { in ctrlreq_out_data_phase()
322 nextlen = ((len-txlen) > maxpktsize) ? maxpktsize : (len-txlen); in ctrlreq_out_data_phase()
325 write_fifo(MUSB_CONTROL_EP, txlen, &txbuff[txlen]); in ctrlreq_out_data_phase()
339 txlen += nextlen; in ctrlreq_out_data_phase()
340 dev->act_len = txlen; in ctrlreq_out_data_phase()
862 u32 txlen = 0; in submit_bulk_msg() local
912 while (txlen < len) { in submit_bulk_msg()
913 nextlen = ((len-txlen) < dev->epmaxpacketout[ep]) ? in submit_bulk_msg()
914 (len-txlen) : dev->epmaxpacketout[ep]; in submit_bulk_msg()
[all …]
/rk3399_rockchip-uboot/drivers/usb/host/
H A Ddwc2.c539 int txlen, struct devrequest *cmd) in dwc_otg_submit_rh_msg_in_status() argument
598 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_status()
606 void *buffer, int txlen, in dwc_otg_submit_rh_msg_in_descriptor() argument
620 len = min3(txlen, (int)sizeof(root_hub_dev_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
624 len = min3(txlen, (int)sizeof(root_hub_config_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
630 len = min3(txlen, (int)sizeof(root_hub_str_index0), in dwc_otg_submit_rh_msg_in_descriptor()
635 len = min3(txlen, (int)sizeof(root_hub_str_index1), in dwc_otg_submit_rh_msg_in_descriptor()
673 len = min3(txlen, (int)data[0], (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
681 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_descriptor()
689 void *buffer, int txlen, in dwc_otg_submit_rh_msg_in_configuration() argument
[all …]
/rk3399_rockchip-uboot/drivers/spi/
H A Dcadence_qspi_apb.c477 const u8 *cmdbuf, unsigned int txlen, const u8 *txbuf) in cadence_qspi_apb_command_write() argument
484 if (!cmdlen || cmdlen > 5 || txlen > 8 || cmdbuf == NULL) { in cadence_qspi_apb_command_write()
486 cmdlen, txlen); in cadence_qspi_apb_command_write()
505 if (txlen) { in cadence_qspi_apb_command_write()
508 reg |= ((txlen - 1) & CQSPI_REG_CMDCTRL_WR_BYTES_MASK) in cadence_qspi_apb_command_write()
511 wr_len = txlen > 4 ? 4 : txlen; in cadence_qspi_apb_command_write()
516 if (txlen > 4) { in cadence_qspi_apb_command_write()
518 wr_len = txlen - wr_len; in cadence_qspi_apb_command_write()
H A Dcadence_qspi.h57 unsigned int txlen, const u8 *txbuf);
66 unsigned int txlen, const u8 *txbuf);
/rk3399_rockchip-uboot/drivers/net/
H A Dcs8900.h47 CS8900_REG txlen; member
H A Dcs8900.c212 REG_WRITE(length, &priv->regs->txlen); in cs8900_send()