Lines Matching refs:initiator
851 int pdc_get_initiator(struct hardware_path *hwpath, struct pdc_initiator *initiator) in pdc_get_initiator() argument
868 initiator->host_id = pdc_result[0]; in pdc_get_initiator()
870 initiator->host_id = -1; in pdc_get_initiator()
878 case 1: initiator->factor = 50; break; in pdc_get_initiator()
879 case 2: initiator->factor = 25; break; in pdc_get_initiator()
880 case 5: initiator->factor = 12; break; in pdc_get_initiator()
881 case 25: initiator->factor = 10; break; in pdc_get_initiator()
882 case 20: initiator->factor = 12; break; in pdc_get_initiator()
883 case 40: initiator->factor = 10; break; in pdc_get_initiator()
884 default: initiator->factor = -1; break; in pdc_get_initiator()
888 initiator->width = pdc_result[4]; in pdc_get_initiator()
889 initiator->mode = pdc_result[5]; in pdc_get_initiator()
891 initiator->width = -1; in pdc_get_initiator()
892 initiator->mode = -1; in pdc_get_initiator()