Searched refs:start_port (Results 1 – 10 of 10) sorted by relevance
/linux-4.1.27/drivers/infiniband/core/ |
D | cache.c | 61 static inline int start_port(struct ib_device *device) in start_port() function 81 if (port_num < start_port(device) || port_num > end_port(device)) in ib_get_cached_gid() 86 cache = device->cache.gid_cache[port_num - start_port(device)]; in ib_get_cached_gid() 115 for (p = 0; p <= end_port(device) - start_port(device); ++p) { in ib_find_cached_gid() 119 *port_num = p + start_port(device); in ib_find_cached_gid() 143 if (port_num < start_port(device) || port_num > end_port(device)) in ib_get_cached_pkey() 148 cache = device->cache.pkey_cache[port_num - start_port(device)]; in ib_get_cached_pkey() 172 if (port_num < start_port(device) || port_num > end_port(device)) in ib_find_cached_pkey() 177 cache = device->cache.pkey_cache[port_num - start_port(device)]; in ib_find_cached_pkey() 212 if (port_num < start_port(device) || port_num > end_port(device)) in ib_find_exact_cached_pkey() [all …]
|
D | device.c | 154 static int start_port(struct ib_device *device) in start_port() function 235 num_ports = end_port(device) - start_port(device) + 1; in read_port_table_lengths() 245 ret = ib_query_port(device, port_index + start_port(device), in read_port_table_lengths() 578 if (port_num < start_port(device) || port_num > end_port(device)) in ib_query_port() 656 if (port_num < start_port(device) || port_num > end_port(device)) in ib_modify_port() 679 for (port = start_port(device); port <= end_port(device); ++port) { in ib_find_gid() 680 for (i = 0; i < device->gid_tbl_len[port - start_port(device)]; ++i) { in ib_find_gid() 712 for (i = 0; i < device->pkey_tbl_len[port_num - start_port(device)]; ++i) { in ib_find_pkey()
|
D | multicast.c | 72 int start_port; member 643 member->group = acquire_group(&dev->port[port_num - dev->start_port], in ib_sa_join_multicast() 711 port = &dev->port[port_num - dev->start_port]; in ib_sa_get_mcmember_rec() 787 index = event->element.port_num - dev->start_port; in mcast_event_handler() 820 dev->start_port = dev->end_port = 0; in mcast_add_one() 822 dev->start_port = 1; in mcast_add_one() 826 for (i = 0; i <= dev->end_port - dev->start_port; i++) { in mcast_add_one() 827 if (rdma_port_get_link_layer(device, dev->start_port + i) != in mcast_add_one() 832 port->port_num = dev->start_port + i; in mcast_add_one() 865 for (i = 0; i <= dev->end_port - dev->start_port; i++) { in mcast_remove_one() [all …]
|
D | sa_query.c | 70 int start_port, end_port; member 451 &sa_dev->port[event->element.port_num - sa_dev->start_port]; in ib_sa_event() 463 sa_dev->start_port].update_task); in ib_sa_event() 520 port = &sa_dev->port[port_num - sa_dev->start_port]; in get_src_path_mask() 739 port = &sa_dev->port[port_num - sa_dev->start_port]; in ib_sa_path_rec_get() 856 port = &sa_dev->port[port_num - sa_dev->start_port]; in ib_sa_service_rec_query() 953 port = &sa_dev->port[port_num - sa_dev->start_port]; in ib_sa_mcmember_rec_query() 1050 port = &sa_dev->port[port_num - sa_dev->start_port]; in ib_sa_guid_info_rec_query() 1173 sa_dev->start_port = s; in ib_sa_add_one() 1235 for (i = 0; i <= sa_dev->end_port - sa_dev->start_port; ++i) { in ib_sa_remove_one()
|
D | user_mad.c | 102 int start_port, end_port; member 1295 umad_dev->start_port = s; in ib_umad_add_one() 1325 for (i = 0; i <= umad_dev->end_port - umad_dev->start_port; ++i) in ib_umad_remove_one()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | sdio.h | 115 a->mpa_tx.start_port = port; \ 116 if (a->mpa_tx.start_port <= port) \ 134 a->mpa_tx.start_port = 0; \ 153 a->mpa_rx.start_port = 0; \ 163 u16 start_port; member 174 u16 start_port; member 527 if (card->curr_rd_port < card->mpa_rx.start_port) { in mp_rx_aggr_port_limit_reached() 533 if (((card->max_ports - card->mpa_rx.start_port) + in mp_rx_aggr_port_limit_reached() 541 if ((card->curr_rd_port - card->mpa_rx.start_port) >= in mp_rx_aggr_port_limit_reached() 553 if (card->curr_wr_port < card->mpa_tx.start_port) { in mp_tx_aggr_port_limit_reached() [all …]
|
D | sdio.c | 1296 (port_count << 8)) + card->mpa_rx.start_port; in mwifiex_sdio_card_to_host_mp_aggr() 1300 card->mpa_rx.start_port; in mwifiex_sdio_card_to_host_mp_aggr() 1693 card->mpa_tx.start_port, card->mpa_tx.ports); in mwifiex_host_to_card_mp_aggr() 1707 (port_count << 8)) + card->mpa_tx.start_port; in mwifiex_host_to_card_mp_aggr() 1711 card->mpa_tx.start_port; in mwifiex_host_to_card_mp_aggr() 1954 card->mpa_tx.start_port = 0; in mwifiex_init_sdio() 1961 card->mpa_rx.start_port = 0; in mwifiex_init_sdio()
|
/linux-4.1.27/arch/cris/arch-v32/kernel/ |
D | debugport.c | 103 static void start_port(struct dbg_port *p) in start_port() function 224 start_port(port); in init_etrax_debug() 230 start_port(kgdb_port); in init_etrax_debug()
|
/linux-4.1.27/arch/cris/arch-v10/kernel/ |
D | debugport.c | 132 start_port(struct dbg_port* p) in start_port() function 395 start_port(0); in console_setup() 553 start_port(port); in init_etrax_debug() 555 start_port(kgdb_port); in init_etrax_debug()
|
/linux-4.1.27/drivers/ata/ |
D | sata_mv.c | 1300 int start_port, num_ports, p, start_hc, num_hcs, hc; in mv_dump_all_regs() local 1303 start_hc = start_port = 0; in mv_dump_all_regs() 1308 start_port = port; in mv_dump_all_regs() 1311 DPRINTK("All registers for port(s) %u-%u:\n", start_port, in mv_dump_all_regs() 1312 num_ports > 1 ? num_ports - 1 : start_port); in mv_dump_all_regs() 1328 for (p = start_port; p < start_port + num_ports; p++) { in mv_dump_all_regs()
|