Searched refs:tx_offset (Results 1 – 3 of 3) sorted by relevance
288 uint32_t tx_offset; in usb_set_txfifo() local290 tx_offset = usb_regs->gr->GRFLEN; in usb_set_txfifo()293 usb_regs->gr->DIEP0TFLEN_HNPTFLEN = ((uint32_t)size << 16) | tx_offset; in usb_set_txfifo()295 tx_offset += (usb_regs->gr->DIEP0TFLEN_HNPTFLEN) >> 16; in usb_set_txfifo()298 tx_offset += (usb_regs->gr->DIEPTFLEN[i] >> 16); in usb_set_txfifo()302 usb_regs->gr->DIEPTFLEN[fifo - 1U] = ((uint32_t)size << 16) | tx_offset; in usb_set_txfifo()
437 rt_uint32_t is_last, tx_offset = 0, remain, pdu_length; in sam7xether_write_frame() local439 while(tx_offset < length) in sam7xether_write_frame()453 remain = length - tx_offset; in sam7xether_write_frame()457 rt_memcpy(buf_ptr, &ptr[tx_offset], pdu_length ); in sam7xether_write_frame()458 tx_offset += pdu_length; in sam7xether_write_frame()461 if((eof == RT_TRUE) && ( tx_offset >= length )) is_last = TxDESC_STATUS_LAST_BUF; in sam7xether_write_frame()
885 unsigned char tx_offset = 0; in ac108_codec_set_fmt() local925 tx_offset = 1; in ac108_codec_set_fmt()930 tx_offset = 0; in ac108_codec_set_fmt()935 tx_offset = 0; in ac108_codec_set_fmt()940 tx_offset = 1; in ac108_codec_set_fmt()945 tx_offset = 0; in ac108_codec_set_fmt()955 i2s_mode<<MODE_SEL | tx_offset<<TX2_OFFSET | tx_offset << TX1_OFFSET); in ac108_codec_set_fmt()
Completed in 11 milliseconds