Home
last modified time | relevance | path

Searched refs:max_fib_size (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/drivers/scsi/aacraid/
H A Dcomminit.c59 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()
H A Dcommctrl.c80 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()
H A Dcommsup.c51 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()
H A Daachba.c1273 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); in aac_read_raw_io()
1307 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_read_block64()
1342 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_read_block()
1407 BUG_ON(fibsize > (fib->dev->max_fib_size - sizeof(struct aac_fibhdr))); in aac_write_raw_io()
1441 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_write_block64()
1478 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_write_block()
1598 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_scsi_64()
1629 BUG_ON (fibsize > (fib->dev->max_fib_size - in aac_scsi_32()
2268 dev->scsi_host_ptr->sg_tablesize = (dev->max_fib_size - in aac_get_adapter_info()
2279 (dev->max_fib_size - in aac_get_adapter_info()
H A Daacraid.h851 __le32 max_fib_size; /* largest FIB to adapter */ member
1539 unsigned int max_fib_size; member
2442 u32 max_fib_size; member