Home
last modified time | relevance | path

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

/openbmc/linux/drivers/scsi/qla4xxx/
H A Dql4_iocb.c134 static uint16_t qla4xxx_calc_request_entries(uint16_t dsds) in qla4xxx_calc_request_entries() argument
139 if (dsds > COMMAND_SEG) { in qla4xxx_calc_request_entries()
140 iocbs += (dsds - COMMAND_SEG) / CONTINUE_SEG; in qla4xxx_calc_request_entries()
141 if ((dsds - COMMAND_SEG) % CONTINUE_SEG) in qla4xxx_calc_request_entries()
/openbmc/linux/drivers/scsi/qla2xxx/
H A Dqla_inline.h18 qla24xx_calc_iocbs(scsi_qla_host_t *vha, uint16_t dsds) in qla24xx_calc_iocbs() argument
23 if (dsds > 1) { in qla24xx_calc_iocbs()
24 iocbs += (dsds - 1) / 5; in qla24xx_calc_iocbs()
25 if ((dsds - 1) % 5) in qla24xx_calc_iocbs()
H A Dqla_iocb.c52 qla2x00_calc_iocbs_32(uint16_t dsds) in qla2x00_calc_iocbs_32() argument
57 if (dsds > 3) { in qla2x00_calc_iocbs_32()
58 iocbs += (dsds - 3) / 7; in qla2x00_calc_iocbs_32()
59 if ((dsds - 3) % 7) in qla2x00_calc_iocbs_32()
74 qla2x00_calc_iocbs_64(uint16_t dsds) in qla2x00_calc_iocbs_64() argument
79 if (dsds > 2) { in qla2x00_calc_iocbs_64()
80 iocbs += (dsds - 2) / 5; in qla2x00_calc_iocbs_64()
81 if ((dsds - 2) % 5) in qla2x00_calc_iocbs_64()
679 qla24xx_calc_dsd_lists(uint16_t dsds) in qla24xx_calc_dsd_lists() argument
683 dsd_lists = (dsds/QLA_DSDS_PER_IOCB); in qla24xx_calc_dsd_lists()
[all …]
H A Dqla_bsg.c447 qla24xx_calc_ct_iocbs(uint16_t dsds) in qla24xx_calc_ct_iocbs() argument
452 if (dsds > 2) { in qla24xx_calc_ct_iocbs()
453 iocbs += (dsds - 2) / 5; in qla24xx_calc_ct_iocbs()
454 if ((dsds - 2) % 5) in qla24xx_calc_ct_iocbs()