Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/include/uapi/linux/
Datm.h29 #define ATM_CELL_PAYLOAD 48 /* ATM payload size */ macro
/Linux-v5.4/drivers/atm/
Dzatm.c268 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()
Dhorizon.h457 #define TX_AAL5_LIMIT (190*ATM_CELL_PAYLOAD-ATM_AAL5_TRAILER) // 9112
Deni.c580 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()
Didt77252.c859 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()
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()
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()
Didt77252.h422 #define ATM_CELL_PAYLOAD 48 macro
Dnicstar.c1682 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()
Dhorizon.c1628 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()
Dfore200e.c1515 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()