Searched defs:start_port (Results 1 - 7 of 7) sorted by relevance
/drivers/infiniband/core/ |
H A D | cache.c | 61 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)]; 172 if (port_num < start_port(device) || port_num > end_port(device)) 177 cache = device->cache.pkey_cache[port_num - start_port(device)]; 212 if (port_num < start_port(devic [all...] |
H A D | device.c | 154 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) { 712 for (i = 0; i < device->pkey_tbl_len[port_num - start_port(device)]; ++i) {
|
H A D | multicast.c | 72 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 D | sa_query.c | 70 int start_port, end_port; member in struct:ib_sa_device 451 &sa_dev->port[event->element.port_num - sa_dev->start_port]; 463 sa_dev->start_port].update_task); 520 port = &sa_dev->port[port_num - sa_dev->start_port]; 739 port = &sa_dev->port[port_num - sa_dev->start_port]; 856 port = &sa_dev->port[port_num - sa_dev->start_port]; 953 port = &sa_dev->port[port_num - sa_dev->start_port]; 1050 port = &sa_dev->port[port_num - sa_dev->start_port]; 1173 sa_dev->start_port = s; 1235 for (i = 0; i <= sa_dev->end_port - sa_dev->start_port; [all...] |
H A D | user_mad.c | 102 int start_port, end_port; member in struct:ib_umad_device 1295 umad_dev->start_port = s; 1325 for (i = 0; i <= umad_dev->end_port - umad_dev->start_port; ++i)
|
/drivers/net/wireless/mwifiex/ |
H A D | sdio.h | 109 a->mpa_tx.start_port = port; \ 110 if (a->mpa_tx.start_port <= port) \ 128 a->mpa_tx.start_port = 0; \ 147 a->mpa_rx.start_port = 0; \ 157 u16 start_port; member in struct:mwifiex_sdio_mpa_tx 168 u16 start_port; member in struct:mwifiex_sdio_mpa_rx 469 if (card->curr_rd_port < card->mpa_rx.start_port) { 475 if (((card->max_ports - card->mpa_rx.start_port) + 483 if ((card->curr_rd_port - card->mpa_rx.start_port) >= 495 if (card->curr_wr_port < card->mpa_tx.start_port) { [all...] |
/drivers/ata/ |
H A D | sata_mv.c | 1295 int start_port, num_ports, p, start_hc, num_hcs, hc; local 1298 start_hc = start_port = 0; 1303 start_port = port; 1306 DPRINTK("All registers for port(s) %u-%u:\n", start_port, 1307 num_ports > 1 ? num_ports - 1 : start_port); 1323 for (p = start_port; p < start_port + num_ports; p++) {
|
Completed in 151 milliseconds