Searched refs:ATM_CELL_PAYLOAD (Results 1 – 12 of 12) sorted by relevance
/Linux-v5.4/drivers/usb/atm/ |
D | usbatm.c | 94 #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-v5.4/include/uapi/linux/ |
D | atm.h | 29 #define ATM_CELL_PAYLOAD 48 /* ATM payload size */ macro
|
/Linux-v5.4/drivers/atm/ |
D | zatm.c | 268 if (max_pdu % ATM_CELL_PAYLOAD) in pool_index() 416 ATM_CELL_PAYLOAD/sizeof(u16)-3]); in poll_rx() 449 if (size && (size > cells*ATM_CELL_PAYLOAD-ATM_AAL5_TRAILER || in poll_rx() 450 size <= (cells-1)*ATM_CELL_PAYLOAD-ATM_AAL5_TRAILER)) { in poll_rx() 503 ATM_CELL_PAYLOAD); in open_rx_first() 504 zatm_vcc->pool = pool_index(cells*ATM_CELL_PAYLOAD); in open_rx_first()
|
D | horizon.h | 457 #define TX_AAL5_LIMIT (190*ATM_CELL_PAYLOAD-ATM_AAL5_TRAILER) // 9112
|
D | eni.c | 580 size = (descr & MID_RED_COUNT)*(ATM_CELL_PAYLOAD >> 2); in rx_aal5() 588 size = (descr & MID_RED_COUNT)*(ATM_CELL_PAYLOAD >> 2); in rx_aal5() 1078 size = (ATM_CELL_PAYLOAD >> 2)+TX_DESCR_SIZE; in do_tx() 1082 size = skb->len+4*AAL5_TRAILER+ATM_CELL_PAYLOAD-1; in do_tx() 1084 size = ((size-(size % ATM_CELL_PAYLOAD)) >> 2)+TX_DESCR_SIZE; in do_tx() 1156 (size/(ATM_CELL_PAYLOAD/4)),tx->send+tx->tx_pos*4); in do_tx()
|
D | idt77252.c | 859 tbd->word_1 = SAR_TBD_OAM | ATM_CELL_PAYLOAD | SAR_TBD_EPDU; in queue_skb() 886 ATM_CELL_PAYLOAD; in queue_skb() 889 ATM_CELL_PAYLOAD; in queue_skb() 1093 skb_put_data(sb, cell, ATM_CELL_PAYLOAD); in dequeue_rx() 1100 cell += ATM_CELL_PAYLOAD; in dequeue_rx() 1112 skb->len = (stat & SAR_RSQE_CELLCNT) * ATM_CELL_PAYLOAD; in dequeue_rx() 1323 skb_put_data(sb, &(queue->data[16]), ATM_CELL_PAYLOAD); in idt77252_rx_raw()
|
D | nicstar.h | 114 #define NS_AAL0_HEADER (ATM_AAL0_SDU - ATM_CELL_PAYLOAD) /* 4 bytes */
|
D | he.c | 449 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() 1242 he_writel(he_dev, he_dev->cells_per_lbuf * ATM_CELL_PAYLOAD, LB_CONFIG); in he_start() 2550 skb_pull(skb, ATM_AAL0_SDU - ATM_CELL_PAYLOAD); in he_send()
|
D | idt77252.h | 422 #define ATM_CELL_PAYLOAD 48 macro
|
D | nicstar.c | 1682 buflen = ATM_CELL_PAYLOAD; /* i.e., 48 bytes */ in ns_send() 2046 memcpy(skb_tail_pointer(sb), cell, ATM_CELL_PAYLOAD); in dequeue_rx() 2047 skb_put(sb, ATM_CELL_PAYLOAD); in dequeue_rx() 2052 cell += ATM_CELL_PAYLOAD; in dequeue_rx()
|
D | horizon.c | 1628 buffers_required = (skb->len+(ATM_AAL5_TRAILER-1)) / ATM_CELL_PAYLOAD + 3; in hrz_send() 1932 DIV_ROUND_UP(max_rx_size + ATM_AAL5_TRAILER, ATM_CELL_PAYLOAD)); in hrz_init()
|
D | fore200e.c | 1515 if ((vcc->qos.aal == ATM_AAL0) && (skb_len % ATM_CELL_PAYLOAD)) { in fore200e_send() 1520 tx_len = ((skb_len / ATM_CELL_PAYLOAD) + 1) * ATM_CELL_PAYLOAD; in fore200e_send()
|