Searched refs:fibsize (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/scsi/aacraid/ |
| H A D | comminit.c | 59 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()
|
| H A D | commctrl.c | 489 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)) || 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() 571 "Raw SRB command calculated fibsize=%lu;%lu " in aac_send_raw_srb() 573 "issued fibsize=%d\n", in aac_send_raw_srb() 576 sizeof(struct sgentry64), fibsize)); in aac_send_raw_srb() [all...] |
| H A D | aachba.c | 1231 u16 fibsize, command; in aac_read_raw_io() local 1252 fibsize = struct_size(readcmd2, sge, in aac_read_raw_io() 1269 fibsize = sizeof(struct aac_raw_io) + in aac_read_raw_io() 1273 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); in aac_read_raw_io() 1279 fibsize, in aac_read_raw_io() 1288 u16 fibsize; in aac_read_block64() local 1304 fibsize = sizeof(struct aac_read64) + in aac_read_block64() 1307 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_read_block64() 1314 fibsize, in aac_read_block64() 1323 u16 fibsize; in aac_read_block() local [all …]
|
| H A D | src.c | 487 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()
|