Lines Matching defs:data

122  *		adapter "consumes" the receive buffers by DMAing incoming packet data,
128 * sk_buff, copies the data, then reposts the buffer. To reduce CPU
141 * The fragment contains the entire packet from FC to end of data.
153 * bytes available before the skb->data field on the outgoing transmit
160 * hard_header_len, it ensures that the data portion of the packet for
163 * or DMAing directly from the FC byte which starts at skb->data. Should
166 * NOTE: To maintain the alignment on the data portion of the packet,
176 * 3 NULL bytes before FC to ensure that data is
187 * single fragment which includes PRH->end of data.
329 * data - for dfx_port_write_long, this is a value to write;
361 * advantage of strict data type checking.
364 static inline void dfx_writel(DFX_board_t *bp, int offset, u32 data)
366 writel(data, bp->base.mem + offset);
370 static inline void dfx_outl(DFX_board_t *bp, int offset, u32 data)
372 outl(data, bp->base.port + offset);
375 static void dfx_port_write_long(DFX_board_t *bp, int offset, u32 data)
380 dfx_writel(bp, offset, data);
382 dfx_outl(bp, offset, data);
386 static inline void dfx_readl(DFX_board_t *bp, int offset, u32 *data)
389 *data = readl(bp->base.mem + offset);
392 static inline void dfx_inl(DFX_board_t *bp, int offset, u32 *data)
394 *data = inl(bp->base.port + offset);
397 static void dfx_port_read_long(DFX_board_t *bp, int offset, u32 *data)
402 dfx_readl(bp, offset, data);
404 dfx_inl(bp, offset, data);
948 u32 host_data; /* LW data returned from port control call */
1050 u32 data; /* host data register value */
1096 &data) != DFX_K_SUCCESS) {
1101 le32 = cpu_to_le32(data);
1105 &data) != DFX_K_SUCCESS) {
1110 le32 = cpu_to_le32(data);
1324 * Note: We also set the literal and data swapping requirements
1708 * the data, but before acknowledging the interrupt. If this state change
2710 * Host data register value in host_data if ptr is not NULL
2715 * data_a - port data A register value
2716 * data_b - port data B register value
2717 * host_data - ptr to host data register value
2934 unsigned long x = (unsigned long)skb->data;
3019 newskb->data,
3100 struct sk_buff *skb = NULL; /* pointer to a sk_buff to hold incoming packet data */
3113 p_buff = (char *) (((struct sk_buff *)bp->p_rcv_buff_va[entry])->data);
3154 newskb->data,
3204 skb_reserve(skb,3); /* adjust data field so that it points to FC byte */
3251 * (skb->data) can be converted to a physical address
3276 * frame control byte including the last byte of data,
3351 skb->data[0] = DFX_PRH0_BYTE; /* these byte values are defined */
3352 skb->data[1] = DFX_PRH1_BYTE; /* in the Motorola FDDI MAC chip */
3353 skb->data[2] = DFX_PRH2_BYTE; /* specification */
3355 dma_addr = dma_map_single(bp->bus_dev, skb->data, skb->len,
3364 /* Get the current producer and the next free xmt data descriptor */
3388 * buffer from the PRH, not skb->data.
3392 * at skb->data.
3396 * data, inclusive.
3402 * skb->data.
3442 * data, we'll need to modify this code to save the current