Searched refs:port_pkeys (Results 1 – 5 of 5) sorted by relevance
642 for (i = 0; i < ARRAY_SIZE(pd->port_pkeys); i++) { in ipath_set_part_key()643 if (!pd->port_pkeys[i] && pidx == -1) in ipath_set_part_key()645 if (pd->port_pkeys[i] == key) { in ipath_set_part_key()668 pd->port_pkeys[pidx] = key; in ipath_set_part_key()709 pd->port_pkeys[pidx] = dd->ipath_pkeys[i] = key; in ipath_set_part_key()806 for (i = 0; i < ARRAY_SIZE(pd->port_pkeys); i++) { in ipath_clean_part_key()807 if (!pd->port_pkeys[i]) in ipath_clean_part_key()810 pd->port_pkeys[i]); in ipath_clean_part_key()814 (pd->port_pkeys[i] & 0x7fff)) in ipath_clean_part_key()820 pd->port_pkeys[i], j); in ipath_clean_part_key()[all …]
355 memcpy(pkeys, pd->port_pkeys, sizeof(pd->port_pkeys)); in get_pkeys()738 for (i = 0; i < ARRAY_SIZE(pd->port_pkeys); i++) { in set_pkeys()740 u16 okey = pd->port_pkeys[i]; in set_pkeys()758 pd->port_pkeys[i] = key; in set_pkeys()
1853 return ARRAY_SIZE(dd->ipath_pd[0]->port_pkeys); in ipath_get_npkeys()1866 if (index >= ARRAY_SIZE(dd->ipath_pd[0]->port_pkeys)) in ipath_get_pkey()1869 ret = dd->ipath_pd[0]->port_pkeys[index]; in ipath_get_pkey()
220 pd->port_pkeys[0] = IPATH_DEFAULT_P_KEY; in create_portdata0()
167 u16 port_pkeys[4]; member