Lines Matching refs:MPTSAS_NUM_PORTS
253 "*l*l*l*s16*b*b*w", MPTSAS_NUM_PORTS); in mptsas_config_manufacturing_7()
406 *dev_handle = d ? i + 1 + MPTSAS_NUM_PORTS : 0; in mptsas_phy_get_device()
416 repl(MPTSAS_NUM_PORTS, "*s16"), in mptsas_config_sas_io_unit_0()
417 MPTSAS_NUM_PORTS); in mptsas_config_sas_io_unit_0()
420 size_t ofs = size - MPTSAS_NUM_PORTS * MPTSAS_CONFIG_SAS_IO_UNIT_0_SIZE; in mptsas_config_sas_io_unit_0()
423 for (i = 0; i < MPTSAS_NUM_PORTS; i++) { in mptsas_config_sas_io_unit_0()
452 repl(MPTSAS_NUM_PORTS, "*s12"), in mptsas_config_sas_io_unit_1()
453 MPTSAS_NUM_PORTS); in mptsas_config_sas_io_unit_1()
456 size_t ofs = size - MPTSAS_NUM_PORTS * MPTSAS_CONFIG_SAS_IO_UNIT_1_SIZE; in mptsas_config_sas_io_unit_1()
459 for (i = 0; i < MPTSAS_NUM_PORTS; i++) { in mptsas_config_sas_io_unit_1()
502 if (i >= MPTSAS_NUM_PORTS) { in mptsas_phy_addr_get()
564 handle = MPTSAS_NUM_PORTS + 1; in mptsas_device_addr_get()
568 i = handle - 1 - MPTSAS_NUM_PORTS; in mptsas_device_addr_get()
569 } while (i < MPTSAS_NUM_PORTS && !scsi_device_find(&s->bus, 0, i, 0)); in mptsas_device_addr_get()
579 i = handle - 1 - MPTSAS_NUM_PORTS; in mptsas_device_addr_get()
585 if (i >= MPTSAS_NUM_PORTS) { in mptsas_device_addr_get()