Home
last modified time | relevance | path

Searched refs:ATM_CELL_PAYLOAD (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/usb/atm/
Dusbatm.c94 #define ATM_CELL_HEADER (ATM_CELL_SIZE - ATM_CELL_PAYLOAD)
179 length += ATM_CELL_PAYLOAD - 1 + ATM_AAL5_TRAILER; in usbatm_pdu_length()
180 return length - length % ATM_CELL_PAYLOAD; in usbatm_pdu_length()
325 if (sarb->tail + ATM_CELL_PAYLOAD > sarb->end) { in usbatm_extract_one_cell()
332 memcpy(skb_tail_pointer(sarb), source + ATM_CELL_HEADER, ATM_CELL_PAYLOAD); in usbatm_extract_one_cell()
333 __skb_put(sarb, ATM_CELL_PAYLOAD); in usbatm_extract_one_cell()
465 unsigned int data_len = min_t(unsigned int, skb->len, ATM_CELL_PAYLOAD); in usbatm_write_cells()
466 unsigned int left = ATM_CELL_PAYLOAD - data_len; in usbatm_write_cells()
/linux-6.12.1/include/uapi/linux/
Datm.h29 #define ATM_CELL_PAYLOAD 48 /* ATM payload size */ macro
/linux-6.12.1/drivers/atm/
Deni.c574 size = (descr & MID_RED_COUNT)*(ATM_CELL_PAYLOAD >> 2); in rx_aal5()
582 size = (descr & MID_RED_COUNT)*(ATM_CELL_PAYLOAD >> 2); in rx_aal5()
1073 size = (ATM_CELL_PAYLOAD >> 2)+TX_DESCR_SIZE; in do_tx()
1077 size = skb->len+4*AAL5_TRAILER+ATM_CELL_PAYLOAD-1; in do_tx()
1079 size = ((size-(size % ATM_CELL_PAYLOAD)) >> 2)+TX_DESCR_SIZE; in do_tx()
1154 (size/(ATM_CELL_PAYLOAD/4)),tx->send+tx->tx_pos*4); in do_tx()
Didt77252.c862 tbd->word_1 = SAR_TBD_OAM | ATM_CELL_PAYLOAD | SAR_TBD_EPDU; in queue_skb()
888 ATM_CELL_PAYLOAD; in queue_skb()
891 ATM_CELL_PAYLOAD; in queue_skb()
1094 skb_put_data(sb, cell, ATM_CELL_PAYLOAD); in dequeue_rx()
1101 cell += ATM_CELL_PAYLOAD; in dequeue_rx()
1113 skb->len = (stat & SAR_RSQE_CELLCNT) * ATM_CELL_PAYLOAD; in dequeue_rx()
1325 skb_put_data(sb, &(queue->data[16]), ATM_CELL_PAYLOAD); in idt77252_rx_raw()
Dnicstar.h114 #define NS_AAL0_HEADER (ATM_AAL0_SDU - ATM_CELL_PAYLOAD) /* 4 bytes */
Dhe.c449 unsigned lbuf_bufsize = he_dev->cells_per_lbuf * ATM_CELL_PAYLOAD; in he_init_rx_lbfp0()
479 unsigned lbuf_bufsize = he_dev->cells_per_lbuf * ATM_CELL_PAYLOAD; in he_init_rx_lbfp1()
509 unsigned lbuf_bufsize = he_dev->cells_per_lbuf * ATM_CELL_PAYLOAD; in he_init_tx_lbfp()
1239 he_writel(he_dev, he_dev->cells_per_lbuf * ATM_CELL_PAYLOAD, LB_CONFIG); in he_start()
2547 skb_pull(skb, ATM_AAL0_SDU - ATM_CELL_PAYLOAD); in he_send()
Didt77252.h422 #define ATM_CELL_PAYLOAD 48 macro
Dnicstar.c1681 buflen = ATM_CELL_PAYLOAD; /* i.e., 48 bytes */ in _ns_send()
2057 memcpy(skb_tail_pointer(sb), cell, ATM_CELL_PAYLOAD); in dequeue_rx()
2058 skb_put(sb, ATM_CELL_PAYLOAD); in dequeue_rx()
2063 cell += ATM_CELL_PAYLOAD; in dequeue_rx()
Dfore200e.c1521 if ((vcc->qos.aal == ATM_AAL0) && (skb_len % ATM_CELL_PAYLOAD)) { in fore200e_send()
1526 tx_len = ((skb_len / ATM_CELL_PAYLOAD) + 1) * ATM_CELL_PAYLOAD; in fore200e_send()