Lines Matching refs:status_and_length
222 desc->status_and_length = le32_to_cpu(desc->status_and_length); in emc_read_tx_desc()
233 le_desc.status_and_length = cpu_to_le32(desc->status_and_length); in emc_write_tx_desc()
252 desc->status_and_length = le32_to_cpu(desc->status_and_length); in emc_read_rx_desc()
263 le_desc.status_and_length = cpu_to_le32(desc->status_and_length); in emc_write_rx_desc()
364 tx_desc.status_and_length &= 0xffff; in emc_try_send_next_packet()
374 length = TX_DESC_PKT_LEN(tx_desc.status_and_length); in emc_try_send_next_packet()
402 tx_desc.status_and_length |= TX_DESC_STATUS_TXCP; in emc_try_send_next_packet()
407 tx_desc.status_and_length |= TX_DESC_STATUS_TXINTR; in emc_try_send_next_packet()
562 if (!(rx_desc.status_and_length & RX_DESC_STATUS_OWNER_MASK)) { in emc_receive()
576 rx_desc.status_and_length &= ~RX_DESC_STATUS_OWNER_MASK; in emc_receive()
597 rx_desc.status_and_length = len; in emc_receive()
599 rx_desc.status_and_length += 4; in emc_receive()
601 rx_desc.status_and_length |= RX_DESC_STATUS_RXGD; in emc_receive()
605 rx_desc.status_and_length |= RX_DESC_STATUS_RXINTR; in emc_receive()
608 rx_desc.status_and_length |= RX_DESC_STATUS_PTLE; in emc_receive()