Home
last modified time | relevance | path

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

/external/u-boot/drivers/usb/musb/
Dmusb_hcd.c313 u32 txlen = 0; in ctrlreq_out_data_phase() local
319 while (txlen < len) { in ctrlreq_out_data_phase()
321 nextlen = ((len-txlen) > maxpktsize) ? maxpktsize : (len-txlen); in ctrlreq_out_data_phase()
324 write_fifo(MUSB_CONTROL_EP, txlen, &txbuff[txlen]); in ctrlreq_out_data_phase()
338 txlen += nextlen; in ctrlreq_out_data_phase()
339 dev->act_len = txlen; in ctrlreq_out_data_phase()
861 u32 txlen = 0; in submit_bulk_msg() local
911 while (txlen < len) { in submit_bulk_msg()
912 nextlen = ((len-txlen) < dev->epmaxpacketout[ep]) ? in submit_bulk_msg()
913 (len-txlen) : dev->epmaxpacketout[ep]; in submit_bulk_msg()
[all …]
/external/u-boot/drivers/usb/host/
Ddwc2.c521 int txlen, struct devrequest *cmd) in dwc_otg_submit_rh_msg_in_status() argument
580 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_status()
588 void *buffer, int txlen, in dwc_otg_submit_rh_msg_in_descriptor() argument
602 len = min3(txlen, (int)sizeof(root_hub_dev_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
606 len = min3(txlen, (int)sizeof(root_hub_config_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
612 len = min3(txlen, (int)sizeof(root_hub_str_index0), in dwc_otg_submit_rh_msg_in_descriptor()
617 len = min3(txlen, (int)sizeof(root_hub_str_index1), in dwc_otg_submit_rh_msg_in_descriptor()
655 len = min3(txlen, (int)data[0], (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor()
663 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_descriptor()
671 void *buffer, int txlen, in dwc_otg_submit_rh_msg_in_configuration() argument
[all …]
/external/u-boot/drivers/spi/
Dcadence_qspi_apb.c478 const u8 *cmdbuf, unsigned int txlen, const u8 *txbuf) in cadence_qspi_apb_command_write() argument
485 if (!cmdlen || cmdlen > 5 || txlen > 8 || cmdbuf == NULL) { in cadence_qspi_apb_command_write()
487 cmdlen, txlen); in cadence_qspi_apb_command_write()
506 if (txlen) { in cadence_qspi_apb_command_write()
509 reg |= ((txlen - 1) & CQSPI_REG_CMDCTRL_WR_BYTES_MASK) in cadence_qspi_apb_command_write()
512 wr_len = txlen > 4 ? 4 : txlen; in cadence_qspi_apb_command_write()
517 if (txlen > 4) { in cadence_qspi_apb_command_write()
519 wr_len = txlen - wr_len; in cadence_qspi_apb_command_write()
Dcadence_qspi.h56 unsigned int txlen, const u8 *txbuf);
65 unsigned int txlen, const u8 *txbuf);
/external/u-boot/drivers/net/
Dcs8900.h46 CS8900_REG txlen; member
Dcs8900.c211 REG_WRITE(length, &priv->regs->txlen); in cs8900_send()