Searched refs:port_pkeys (Results 1 - 5 of 5) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/infiniband/hw/ipath/
H A Dipath_file_ops.c615 for (i = 0; i < ARRAY_SIZE(pd->port_pkeys); i++) {
616 if (!pd->port_pkeys[i] && pidx == -1)
618 if (pd->port_pkeys[i] == key) {
641 pd->port_pkeys[pidx] = key;
682 pd->port_pkeys[pidx] = dd->ipath_pkeys[i] = key;
778 for (i = 0; i < ARRAY_SIZE(pd->port_pkeys); i++) {
779 if (!pd->port_pkeys[i])
782 pd->port_pkeys[i]);
786 (pd->port_pkeys[i] & 0x7fff))
792 pd->port_pkeys[
[all...]
H A Dipath_mad.c326 memcpy(pkeys, pd->port_pkeys, sizeof(pd->port_pkeys));
708 for (i = 0; i < ARRAY_SIZE(pd->port_pkeys); i++) {
710 u16 okey = pd->port_pkeys[i];
728 pd->port_pkeys[i] = key;
H A Dipath_verbs.c1284 return ARRAY_SIZE(dd->ipath_pd[0]->port_pkeys);
1296 if (index >= ARRAY_SIZE(dd->ipath_pd[0]->port_pkeys))
1299 ret = dd->ipath_pd[0]->port_pkeys[index];
H A Dipath_kernel.h127 u16 port_pkeys[4]; member in struct:ipath_portdata
H A Dipath_init_chip.c228 pd->port_pkeys[0] = IPATH_DEFAULT_P_KEY;

Completed in 66 milliseconds