Searched refs:max_fib_size (Results 1 – 5 of 5) sorted by relevance
59 const unsigned long fibsize = dev->max_fib_size; in aac_alloc_comm()145 if (dev->max_fib_size != sizeof(struct hw_fib)) in aac_alloc_comm()186 init->r7.max_fib_size = cpu_to_le32(dev->max_fib_size); in aac_alloc_comm()523 dev->max_fib_size = sizeof(struct hw_fib); in aac_init_adapter()524 dev->sg_tablesize = host->sg_tablesize = (dev->max_fib_size in aac_init_adapter()609 dev->max_fib_size = status[1] & 0xFFE0; in aac_init_adapter()
80 if (size > dev->max_fib_size) { in ioctl_send_fib()100 memset(((char *)kfib) + dev->max_fib_size, 0, size - dev->max_fib_size); in ioctl_send_fib()101 memcpy(kfib, hw_fib, dev->max_fib_size); in ioctl_send_fib()527 (fibsize > (dev->max_fib_size - sizeof(struct aac_fibhdr)))) { in aac_send_raw_srb()
51 if (dev->max_fib_size > AAC_MAX_NATIVE_SIZE) in fib_map_alloc()54 dev->max_cmd_size = dev->max_fib_size; in fib_map_alloc()55 if (dev->max_fib_size < AAC_MAX_NATIVE_SIZE) { in fib_map_alloc()58 dev->max_cmd_size = dev->max_fib_size; in fib_map_alloc()92 fib_size = dev->max_fib_size + sizeof(struct aac_fib_xporthdr); in aac_fib_map_free()181 cpu_to_le16(dev->max_fib_size); /* ?? max_cmd_size */ in aac_fib_setup()319 hw_fib->header.Size = cpu_to_le16(fibptr->dev->max_fib_size); in aac_fib_init()322 hw_fib->header.SenderSize = cpu_to_le16(fibptr->dev->max_fib_size); in aac_fib_init()
1272 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); in aac_read_raw_io()1306 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_read_block64()1341 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_read_block()1406 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); in aac_write_raw_io()1440 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_write_block64()1477 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_write_block()1597 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_scsi_64()1628 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_scsi_32()2267 dev->scsi_host_ptr->sg_tablesize = (dev->max_fib_size - in aac_get_adapter_info()2278 (dev->max_fib_size - in aac_get_adapter_info()
851 __le32 max_fib_size; /* largest FIB to adapter */ member1539 unsigned int max_fib_size; member2442 u32 max_fib_size; member