Home
last modified time | relevance | path

Searched refs:tx_slot (Results 1 – 12 of 12) sorted by relevance

/drivers/rapidio/devices/
Dtsi721.c1169 u32 tx_slot; in tsi721_add_outb_message() local
1175 tx_slot = priv->omsg_ring[mbox].tx_slot; in tsi721_add_outb_message()
1178 memcpy(priv->omsg_ring[mbox].omq_base[tx_slot], buffer, len); in tsi721_add_outb_message()
1185 desc[tx_slot].type_id = cpu_to_le32((DTYPE4 << 29) | rdev->destid); in tsi721_add_outb_message()
1186 if (tx_slot % 4 == 0) in tsi721_add_outb_message()
1187 desc[tx_slot].type_id |= cpu_to_le32(TSI721_OMD_IOF); in tsi721_add_outb_message()
1189 desc[tx_slot].msg_info = in tsi721_add_outb_message()
1192 desc[tx_slot].bufptr_lo = in tsi721_add_outb_message()
1193 cpu_to_le32((u64)priv->omsg_ring[mbox].omq_phys[tx_slot] & in tsi721_add_outb_message()
1195 desc[tx_slot].bufptr_hi = in tsi721_add_outb_message()
[all …]
Dtsi721.h673 u32 tx_slot; member
/drivers/net/ethernet/apple/
Dmacmace.c68 int tx_slot, tx_sloti, tx_count; member
158 mp->tx_slot = mp->tx_sloti = 0; in mace_txdma_reset()
476 psc_write_long(PSC_ENETWR_ADDR + mp->tx_slot, (u32) mp->tx_ring_phys); in mace_xmit_start()
477 psc_write_long(PSC_ENETWR_LEN + mp->tx_slot, skb->len); in mace_xmit_start()
478 psc_write_word(PSC_ENETWR_CMD + mp->tx_slot, 0x9800); in mace_xmit_start()
480 mp->tx_slot ^= 0x10; in mace_xmit_start()
/drivers/net/
Drionet.c58 int tx_slot; member
154 rnet->tx_skb[rnet->tx_slot] = skb; in rionet_queue_tx_msg()
162 ++rnet->tx_slot; in rionet_queue_tx_msg()
163 rnet->tx_slot &= (RIONET_TX_RING_SIZE - 1); in rionet_queue_tx_msg()
330 rnet->tx_slot = 0; in rionet_open()
/drivers/net/wireless/ath/ath9k/
Dhtc_drv_beacon.c300 int padpos, padsize, ret, tx_slot; in ath9k_htc_send_buffered() local
322 tx_slot = ath9k_htc_tx_get_slot(priv); in ath9k_htc_send_buffered()
323 if (tx_slot < 0) { in ath9k_htc_send_buffered()
329 ret = ath9k_htc_tx_start(priv, skb, tx_slot, true); in ath9k_htc_send_buffered()
331 ath9k_htc_tx_clear_slot(priv, tx_slot); in ath9k_htc_send_buffered()
Dhtc_drv_txrx.c84 slot = find_first_zero_bit(priv->tx.tx_slot, MAX_TX_BUF_NUM); in ath9k_htc_tx_get_slot()
89 __set_bit(slot, priv->tx.tx_slot); in ath9k_htc_tx_get_slot()
98 __clear_bit(slot, priv->tx.tx_slot); in ath9k_htc_tx_clear_slot()
Dhtc.h294 DECLARE_BITMAP(tx_slot, MAX_TX_BUF_NUM);
Dhtc_drv_debug.c378 priv->tx.tx_slot, MAX_TX_BUF_NUM); in read_file_slot()
384 bitmap_weight(priv->tx.tx_slot, MAX_TX_BUF_NUM)); in read_file_slot()
/drivers/net/ethernet/ibm/emac/
Dcore.c721 dev->tx_cnt = dev->tx_slot = dev->ack_slot = 0; in emac_full_tx_reset()
1168 dev->tx_cnt = dev->tx_slot = dev->ack_slot = dev->rx_slot = 0; in emac_open()
1382 slot = dev->tx_slot++; in emac_start_xmit()
1383 if (dev->tx_slot == NUM_TX_BUFF) { in emac_start_xmit()
1384 dev->tx_slot = 0; in emac_start_xmit()
1455 slot = dev->tx_slot; in emac_start_xmit_sg()
1482 DBG2(dev, "xmit_sg(%u) %d - %d" NL, skb->len, dev->tx_slot, slot); in emac_start_xmit_sg()
1488 if (dev->tx_slot == NUM_TX_BUFF - 1) in emac_start_xmit_sg()
1491 dev->tx_desc[dev->tx_slot].ctrl = ctrl; in emac_start_xmit_sg()
1492 dev->tx_slot = (slot + 1) % NUM_TX_BUFF; in emac_start_xmit_sg()
[all …]
Dcore.h250 int tx_slot; member
Ddebug.c37 p->tx_cnt, p->tx_slot, p->ack_slot); in emac_desc_dump()
/drivers/isdn/hardware/mISDN/
Dhfcpci.c1256 u_char rx_slot = 0, tx_slot = 0, pcm_mode; in mode_hfcpci() local
1271 tx_slot = (bc >> 16) & 0xff; in mode_hfcpci()
1400 tx_slot = 0; in mode_hfcpci()
1404 tx_slot |= 0xC0; in mode_hfcpci()
1407 tx_slot |= 0x80; in mode_hfcpci()
1414 __func__, tx_slot); in mode_hfcpci()
1417 Write_hfc(hc, HFCPCI_B2_SSL, tx_slot); in mode_hfcpci()
1423 __func__, tx_slot); in mode_hfcpci()
1426 Write_hfc(hc, HFCPCI_B1_SSL, tx_slot); in mode_hfcpci()