Home
last modified time | relevance | path

Searched refs:fibsize (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/scsi/aacraid/
Dcomminit.c59 const unsigned long fibsize = dev->max_fib_size; in aac_alloc_comm() local
84 size = fibsize + aac_init_size + commsize + commalign + in aac_alloc_comm()
100 dev->host_rrq = (u32 *)(base + fibsize); in aac_alloc_comm()
101 dev->host_rrq_pa = phys + fibsize; in aac_alloc_comm()
105 dev->init = (union aac_init *)(base + fibsize + host_rrq_size); in aac_alloc_comm()
106 dev->init_pa = phys + fibsize + host_rrq_size; in aac_alloc_comm()
159 init->r7.adapter_fibs_size = cpu_to_le32(fibsize); in aac_alloc_comm()
226 base = base + fibsize + host_rrq_size + aac_init_size; in aac_alloc_comm()
227 phys = (dma_addr_t)((ulong)phys + fibsize + host_rrq_size + in aac_alloc_comm()
Dcommctrl.c489 u32 fibsize = 0; in aac_send_raw_srb() local
520 if(copy_from_user(&fibsize, &user_srb->count,sizeof(u32))){ in aac_send_raw_srb()
526 if ((fibsize < (sizeof(struct user_aac_srb) - sizeof(struct user_sgentry))) || in aac_send_raw_srb()
527 (fibsize > (dev->max_fib_size - sizeof(struct aac_fibhdr)))) { in aac_send_raw_srb()
532 user_srbcmd = memdup_user(user_srb, fibsize); in aac_send_raw_srb()
569 if ((actual_fibsize != fibsize) && (actual_fibsize64 != fibsize)) { in aac_send_raw_srb()
576 sizeof(struct sgentry64), fibsize)); in aac_send_raw_srb()
656 sg_count[i] = (actual_fibsize64 == fibsize) ? in aac_send_raw_srb()
673 if (actual_fibsize64 == fibsize) { in aac_send_raw_srb()
716 if (actual_fibsize64 == fibsize) { in aac_send_raw_srb()
[all …]
Daachba.c1218 u16 fibsize, command; in aac_read_raw_io() local
1239 fibsize = sizeof(struct aac_raw_io2) + in aac_read_raw_io()
1256 fibsize = sizeof(struct aac_raw_io) + in aac_read_raw_io()
1260 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); in aac_read_raw_io()
1266 fibsize, in aac_read_raw_io()
1275 u16 fibsize; in aac_read_block64() local
1291 fibsize = sizeof(struct aac_read64) + in aac_read_block64()
1294 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_read_block64()
1301 fibsize, in aac_read_block64()
1310 u16 fibsize; in aac_read_block() local
[all …]
Dsrc.c487 u32 fibsize; in aac_src_deliver_message() local
552 fibsize = (fib->hbacmd_size + 127) / 128 - 1; in aac_src_deliver_message()
553 if (fibsize > 31) in aac_src_deliver_message()
554 fibsize = 31; in aac_src_deliver_message()
555 address |= fibsize; in aac_src_deliver_message()
569 fibsize = (le16_to_cpu(fib->hw_fib_va->header.Size) in aac_src_deliver_message()
580 fibsize = (sizeof(struct aac_fib_xporthdr) + in aac_src_deliver_message()
595 if (fibsize > 31) in aac_src_deliver_message()
596 fibsize = 31; in aac_src_deliver_message()
597 address |= fibsize; in aac_src_deliver_message()