Searched refs:start_port (Results 1 - 8 of 8) sorted by relevance

/drivers/infiniband/core/
H A Dcache.c61 static inline int start_port(struct ib_device *device) function
81 if (port_num < start_port(device) || port_num > end_port(device))
86 cache = device->cache.gid_cache[port_num - start_port(device)];
115 for (p = 0; p <= end_port(device) - start_port(device); ++p) {
119 *port_num = p + start_port(device);
143 if (port_num < start_port(device) || port_num > end_port(device))
148 cache = device->cache.pkey_cache[port_num - start_port(device)];
171 if (port_num < start_port(device) || port_num > end_port(device))
176 cache = device->cache.pkey_cache[port_num - start_port(device)];
200 if (port_num < start_port(devic
[all...]
H A Ddevice.c154 static int start_port(struct ib_device *device) function
235 num_ports = end_port(device) - start_port(device) + 1;
245 ret = ib_query_port(device, port_index + start_port(device),
578 if (port_num < start_port(device) || port_num > end_port(device))
656 if (port_num < start_port(device) || port_num > end_port(device))
679 for (port = start_port(device); port <= end_port(device); ++port) {
680 for (i = 0; i < device->gid_tbl_len[port - start_port(device)]; ++i) {
711 for (i = 0; i < device->pkey_tbl_len[port_num - start_port(device)]; ++i) {
H A Dmulticast.c72 int start_port; member in struct:mcast_device
638 member->group = acquire_group(&dev->port[port_num - dev->start_port],
706 port = &dev->port[port_num - dev->start_port];
782 index = event->element.port_num - dev->start_port;
815 dev->start_port = dev->end_port = 0;
817 dev->start_port = 1;
821 for (i = 0; i <= dev->end_port - dev->start_port; i++) {
822 if (rdma_port_get_link_layer(device, dev->start_port + i) !=
827 port->port_num = dev->start_port + i;
860 for (i = 0; i <= dev->end_port - dev->start_port;
[all...]
H A Dsa_query.c70 int start_port, end_port; member in struct:ib_sa_device
417 &sa_dev->port[event->element.port_num - sa_dev->start_port];
429 sa_dev->start_port].update_task);
486 port = &sa_dev->port[port_num - sa_dev->start_port];
687 port = &sa_dev->port[port_num - sa_dev->start_port];
804 port = &sa_dev->port[port_num - sa_dev->start_port];
901 port = &sa_dev->port[port_num - sa_dev->start_port];
1022 sa_dev->start_port = s;
1084 for (i = 0; i <= sa_dev->end_port - sa_dev->start_port; ++i) {
H A Duser_mad.c100 int start_port, end_port; member in struct:ib_umad_device
1143 umad_dev->start_port = s;
1172 for (i = 0; i <= umad_dev->end_port - umad_dev->start_port; ++i)
/drivers/net/wireless/mwifiex/
H A Dsdio.h189 a->mpa_tx.start_port = port; \
190 if (a->mpa_tx.start_port <= port) \
204 a->mpa_tx.start_port) && (((MAX_PORT - \
205 a->mpa_tx.start_port) + a->curr_wr_port) >= \
213 a->mpa_tx.start_port = 0; \
222 a->mpa_rx.start_port) && (((MAX_PORT - \
223 a->mpa_rx.start_port) + a->curr_rd_port) >= \
237 a->mpa_rx.start_port = port; \
238 if (a->mpa_rx.start_port <= port) \
252 a->mpa_rx.start_port
263 u16 start_port; member in struct:mwifiex_sdio_mpa_tx
274 u16 start_port; member in struct:mwifiex_sdio_mpa_rx
[all...]
H A Dsdio.c1089 card->mpa_rx.start_port, 1))
1398 card->mpa_tx.start_port, card->mpa_tx.ports);
1403 card->mpa_tx.start_port);
1659 card->mpa_tx.start_port = 0;
1666 card->mpa_rx.start_port = 0;
/drivers/ata/
H A Dsata_mv.c1276 int start_port, num_ports, p, start_hc, num_hcs, hc; local
1279 start_hc = start_port = 0;
1284 start_port = port;
1287 DPRINTK("All registers for port(s) %u-%u:\n", start_port,
1288 num_ports > 1 ? num_ports - 1 : start_port);
1304 for (p = start_port; p < start_port + num_ports; p++) {

Completed in 131 milliseconds