Lines Matching refs:initiator
783 int pdc_get_initiator(struct hardware_path *hwpath, struct pdc_initiator *initiator) in pdc_get_initiator() argument
800 initiator->host_id = pdc_result[0]; in pdc_get_initiator()
802 initiator->host_id = -1; in pdc_get_initiator()
810 case 1: initiator->factor = 50; break; in pdc_get_initiator()
811 case 2: initiator->factor = 25; break; in pdc_get_initiator()
812 case 5: initiator->factor = 12; break; in pdc_get_initiator()
813 case 25: initiator->factor = 10; break; in pdc_get_initiator()
814 case 20: initiator->factor = 12; break; in pdc_get_initiator()
815 case 40: initiator->factor = 10; break; in pdc_get_initiator()
816 default: initiator->factor = -1; break; in pdc_get_initiator()
820 initiator->width = pdc_result[4]; in pdc_get_initiator()
821 initiator->mode = pdc_result[5]; in pdc_get_initiator()
823 initiator->width = -1; in pdc_get_initiator()
824 initiator->mode = -1; in pdc_get_initiator()