Home
last modified time | relevance | path

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

/linux/drivers/usb/atm/
A 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/include/uapi/linux/
A Datm.h29 #define ATM_CELL_PAYLOAD 48 /* ATM payload size */ macro
/linux/drivers/atm/
A 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()
A 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()
1152 (size/(ATM_CELL_PAYLOAD/4)),tx->send+tx->tx_pos*4); in do_tx()
A Dhorizon.h457 #define TX_AAL5_LIMIT (190*ATM_CELL_PAYLOAD-ATM_AAL5_TRAILER) // 9112
A 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()
1324 skb_put_data(sb, &(queue->data[16]), ATM_CELL_PAYLOAD); in idt77252_rx_raw()
A 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()
A Dnicstar.h114 #define NS_AAL0_HEADER (ATM_AAL0_SDU - ATM_CELL_PAYLOAD) /* 4 bytes */
A Didt77252.h422 #define ATM_CELL_PAYLOAD 48 macro
A Dnicstar.c1686 buflen = ATM_CELL_PAYLOAD; /* i.e., 48 bytes */ in _ns_send()
2062 memcpy(skb_tail_pointer(sb), cell, ATM_CELL_PAYLOAD); in dequeue_rx()
2063 skb_put(sb, ATM_CELL_PAYLOAD); in dequeue_rx()
2068 cell += ATM_CELL_PAYLOAD; in dequeue_rx()
A Dfore200e.c1524 if ((vcc->qos.aal == ATM_AAL0) && (skb_len % ATM_CELL_PAYLOAD)) { in fore200e_send()
1529 tx_len = ((skb_len / ATM_CELL_PAYLOAD) + 1) * ATM_CELL_PAYLOAD; in fore200e_send()
A 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()

Completed in 50 milliseconds