Searched refs:sg_offset (Results 1 - 6 of 6) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/message/i2o/
H A Di2o_config.c536 u32 sg_offset = 0; local
596 sg_offset = (msg->u.head[0] >> 4) & 0x0f;
599 if (sg_offset) {
602 if (sg_offset * 4 >= size) {
608 sg_offset);
610 (size - sg_offset * 4) / sizeof(struct sg_simple_element);
669 if (sg_offset) {
692 (size - sg_offset * 4) / sizeof(struct sg_simple_element);
695 sg = (struct sg_simple_element *)(msg + sg_offset);
778 u32 sg_offset local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/usb/storage/
H A Ddatafab.c101 unsigned int sg_idx = 0, sg_offset = 0; local
158 &sg_idx, &sg_offset, TO_XFER_BUF);
184 unsigned int sg_idx = 0, sg_offset = 0; local
220 &sg_idx, &sg_offset, FROM_XFER_BUF);
H A Djumpshot.c122 unsigned int sg_idx = 0, sg_offset = 0; local
173 &sg_idx, &sg_offset, TO_XFER_BUF);
198 unsigned int sg_idx = 0, sg_offset = 0; local
228 &sg_idx, &sg_offset, FROM_XFER_BUF);
H A Dshuttle_usbat.c999 unsigned int sg_idx = 0, sg_offset = 0; local
1053 &sg_idx, &sg_offset, TO_XFER_BUF);
1089 unsigned int sg_idx = 0, sg_offset = 0; local
1128 &sg_idx, &sg_offset, FROM_XFER_BUF);
1169 unsigned int sg_offset = 0; local
1227 sg_offset = 0; /* the scatter/gather list */
1261 &sg_segment, &sg_offset, TO_XFER_BUF);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/aic7xxx/
H A Daic79xx_inline.h362 dma_addr_t sg_offset; local
365 sg_offset = sg_busaddr - (scb->sg_list_busaddr - ahd_sg_size(ahd));
366 return ((uint8_t *)scb->sg_list + sg_offset);
372 dma_addr_t sg_offset; local
375 sg_offset = ((uint8_t *)sg - (uint8_t *)scb->sg_list)
378 return (scb->sg_list_busaddr + sg_offset);
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/scsi/
H A Ddpt_i2o.c1636 u32 sg_offset = 0; local
1672 sg_offset = (msg[0]>>4)&0xf;
1676 if(sg_offset) {
1678 struct sg_simple_element *sg = (struct sg_simple_element*) (msg+sg_offset);
1679 sg_count = (size - sg_offset*4) / sizeof(struct sg_simple_element);
1739 if(sg_offset) {
1760 sg_count = (size - sg_offset*4) / sizeof(struct sg_simple_element);
1763 sg = (struct sg_simple_element*)(msg + sg_offset);

Completed in 101 milliseconds