Searched refs:txlen (Results 1 – 9 of 9) sorted by relevance
| /openbmc/u-boot/drivers/usb/musb/ |
| H A D | musb_hcd.c | 313 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 …]
|
| /openbmc/qemu/hw/i2c/ |
| H A D | omap_i2c.c | 50 int txlen; member 82 s->txlen = 0; in omap_i2c_fifo_run() 84 while (ack && s->txlen) in omap_i2c_fifo_run() 86 (s->fifo >> ((-- s->txlen) << 3)) & in omap_i2c_fifo_run() 96 while (ack && s->count_cur && s->txlen) { in omap_i2c_fifo_run() 98 (s->fifo >> ((-- s->txlen) << 3)) & in omap_i2c_fifo_run() 125 s->txlen = 0; in omap_i2c_fifo_run() 149 s->txlen = 0; in omap_i2c_reset() 304 if (s->txlen > 2) { in omap_i2c_write() 309 s->txlen += 2; in omap_i2c_write() [all …]
|
| /openbmc/u-boot/drivers/usb/host/ |
| H A D | dwc2.c | 524 int txlen, struct devrequest *cmd) in dwc_otg_submit_rh_msg_in_status() argument 583 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_status() 591 void *buffer, int txlen, in dwc_otg_submit_rh_msg_in_descriptor() argument 605 len = min3(txlen, (int)sizeof(root_hub_dev_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor() 609 len = min3(txlen, (int)sizeof(root_hub_config_des), (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor() 615 len = min3(txlen, (int)sizeof(root_hub_str_index0), in dwc_otg_submit_rh_msg_in_descriptor() 620 len = min3(txlen, (int)sizeof(root_hub_str_index1), in dwc_otg_submit_rh_msg_in_descriptor() 658 len = min3(txlen, (int)data[0], (int)wLength); in dwc_otg_submit_rh_msg_in_descriptor() 666 dev->act_len = min(len, txlen); in dwc_otg_submit_rh_msg_in_descriptor() 674 void *buffer, int txlen, in dwc_otg_submit_rh_msg_in_configuration() argument [all …]
|
| /openbmc/u-boot/drivers/spi/ |
| H A D | cadence_qspi_apb.c | 478 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()
|
| H A D | cadence_qspi.h | 56 unsigned int txlen, const u8 *txbuf); 65 unsigned int txlen, const u8 *txbuf);
|
| H A D | mtk_qspi.c | 59 u32 txlen; /* dout buffer length - op code length */ member 95 int len = 1 + priv->txlen + priv->rxlen; in mtk_qspi_tx_rx() 111 for (i = 0; i < priv->txlen; i++, idx--) in mtk_qspi_tx_rx() 236 priv->txlen = bytes - 1; in mtk_qspi_transfer() 260 if (priv->txlen >= 3) { in mtk_qspi_transfer()
|
| /openbmc/qemu/hw/dma/ |
| H A D | xilinx_axidma.c | 294 uint32_t txlen; in stream_process_mem2s() local 316 txlen = s->desc.control & SDESC_CTRL_LEN_MASK; in stream_process_mem2s() 320 while (txlen) { in stream_process_mem2s() 323 len = txlen > sizeof s->txbuf ? sizeof s->txbuf : txlen; in stream_process_mem2s() 327 stream_push(tx_data_dev, s->txbuf, len, eop && len == txlen); in stream_process_mem2s() 328 txlen -= len; in stream_process_mem2s() 337 s->desc.status = txlen | SDESC_STATUS_COMPLETE; in stream_process_mem2s()
|
| /openbmc/u-boot/drivers/net/ |
| H A D | cs8900.h | 46 CS8900_REG txlen; member
|
| H A D | cs8900.c | 211 REG_WRITE(length, &priv->regs->txlen); in cs8900_send()
|