Searched refs:ATM_CELL_PAYLOAD (Results 1 – 12 of 12) sorted by relevance
/linux-2.4.37.9/drivers/usb/ |
D | speedtch.c | 160 #define ATM_CELL_HEADER (ATM_CELL_SIZE - ATM_CELL_PAYLOAD) 161 #define UDSL_NUM_CELLS(x) (((x) + ATM_AAL5_TRAILER + ATM_CELL_PAYLOAD - 1) / ATM_CELL_PAYLOAD) 362 if (sarb->tail + ATM_CELL_PAYLOAD > sarb->end) { in udsl_extract_cells() 368 memcpy (sarb->tail, source + ATM_CELL_HEADER, ATM_CELL_PAYLOAD); in udsl_extract_cells() 369 __skb_put (sarb, ATM_CELL_PAYLOAD); in udsl_extract_cells() 385 pdu_length = UDSL_NUM_CELLS (length) * ATM_CELL_PAYLOAD; in udsl_extract_cells() 436 static const unsigned char zeros [ATM_CELL_PAYLOAD]; 452 ctrl->num_entire = skb->len / ATM_CELL_PAYLOAD; in udsl_groom_skb() 454 zero_padding = ctrl->num_cells * ATM_CELL_PAYLOAD - skb->len - ATM_AAL5_TRAILER; in udsl_groom_skb() 457 ctrl->pdu_padding = zero_padding - (ATM_CELL_PAYLOAD - ATM_AAL5_TRAILER); in udsl_groom_skb() [all …]
|
/linux-2.4.37.9/include/linux/ |
D | atm.h | 30 #define ATM_CELL_PAYLOAD 48 /* ATM payload size */ macro
|
/linux-2.4.37.9/drivers/atm/ |
D | zatm.c | 272 if (max_pdu % ATM_CELL_PAYLOAD) in pool_index() 600 ATM_CELL_PAYLOAD/sizeof(u16)-3]); in poll_rx() 631 if (size && (size > cells*ATM_CELL_PAYLOAD-ATM_AAL5_TRAILER || in poll_rx() 632 size <= (cells-1)*ATM_CELL_PAYLOAD-ATM_AAL5_TRAILER)) { in poll_rx() 685 ATM_CELL_PAYLOAD-1)/ATM_CELL_PAYLOAD; in open_rx_first() 686 zatm_vcc->pool = pool_index(cells*ATM_CELL_PAYLOAD); in open_rx_first()
|
D | horizon.h | 478 #define TX_AAL5_LIMIT (190*ATM_CELL_PAYLOAD-ATM_AAL5_TRAILER) // 9112
|
D | eni.c | 581 size = (descr & MID_RED_COUNT)*(ATM_CELL_PAYLOAD >> 2); in rx_aal5() 589 size = (descr & MID_RED_COUNT)*(ATM_CELL_PAYLOAD >> 2); in rx_aal5() 1079 size = (ATM_CELL_PAYLOAD >> 2)+TX_DESCR_SIZE; in do_tx() 1083 size = skb->len+4*AAL5_TRAILER+ATM_CELL_PAYLOAD-1; in do_tx() 1085 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()
|
D | idt77252.c | 864 tbd->word_1 = SAR_TBD_OAM | ATM_CELL_PAYLOAD | SAR_TBD_EPDU; in queue_skb() 891 ATM_CELL_PAYLOAD; in queue_skb() 894 ATM_CELL_PAYLOAD; in queue_skb() 1098 memcpy(skb_put(sb, ATM_CELL_PAYLOAD), in dequeue_rx() 1099 cell, ATM_CELL_PAYLOAD); in dequeue_rx() 1106 cell += ATM_CELL_PAYLOAD; in dequeue_rx() 1118 skb->len = (stat & SAR_RSQE_CELLCNT) * ATM_CELL_PAYLOAD; in dequeue_rx() 1336 memcpy(skb_put(sb, ATM_CELL_PAYLOAD), &(queue->data[16]), in idt77252_rx_raw() 1337 ATM_CELL_PAYLOAD); in idt77252_rx_raw()
|
D | nicstar.h | 117 #define NS_AAL0_HEADER (ATM_AAL0_SDU - ATM_CELL_PAYLOAD) /* 4 bytes */
|
D | idt77252.h | 424 #define ATM_CELL_PAYLOAD 48 macro
|
D | he.c | 447 unsigned lbuf_bufsize = he_dev->cells_per_lbuf * ATM_CELL_PAYLOAD; in he_init_rx_lbfp0() 478 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() 1286 he_writel(he_dev, he_dev->cells_per_lbuf * ATM_CELL_PAYLOAD, LB_CONFIG); in he_start() 2768 skb_pull(skb, ATM_AAL0_SDU - ATM_CELL_PAYLOAD); in he_send()
|
D | horizon.c | 1712 buffers_required = (skb->len+(ATM_AAL5_TRAILER-1)) / ATM_CELL_PAYLOAD + 3; in hrz_send() 2015 (max_rx_size + ATM_AAL5_TRAILER + ATM_CELL_PAYLOAD - 1) / ATM_CELL_PAYLOAD); in hrz_init()
|
D | nicstar.c | 1828 buflen = ATM_CELL_PAYLOAD; /* i.e., 48 bytes */ in ns_send() 2191 memcpy(sb->tail, cell, ATM_CELL_PAYLOAD); in dequeue_rx() 2192 skb_put(sb, ATM_CELL_PAYLOAD); in dequeue_rx() 2197 cell += ATM_CELL_PAYLOAD; in dequeue_rx()
|
D | fore200e.c | 1769 if ((vcc->qos.aal == ATM_AAL0) && (skb_len % ATM_CELL_PAYLOAD)) { in fore200e_send() 1774 tx_len = ((skb_len / ATM_CELL_PAYLOAD) + 1) * ATM_CELL_PAYLOAD; in fore200e_send()
|