Searched refs:chan_map (Results 1 – 9 of 9) sorted by relevance
/Linux-v4.19/drivers/net/can/sja1000/ |
D | plx_pci.c | 509 struct plx_pci_channel_map *chan_map = in plx_pci_reset_marathon_pcie() local 511 addr = pci_iomap(pdev, chan_map->bar, chan_map->size); in plx_pci_reset_marathon_pcie() 514 "space %d (BAR%d)\n", i, chan_map->bar); in plx_pci_reset_marathon_pcie() 518 reset_addr = addr + chan_map->offset + in plx_pci_reset_marathon_pcie()
|
/Linux-v4.19/drivers/hwtracing/stm/ |
D | stm.h | 29 unsigned long chan_map[0]; member
|
D | core.c | 204 bitmap_allocate_region(&master->chan_map[0], output->channel, in stm_output_claim() 218 bitmap_release_region(&master->chan_map[0], output->channel, in stm_output_disclaim() 273 pos = find_free_channels(master->chan_map, *cstart, cend, in stm_find_master_chan()
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb3/ |
D | t3_hw.c | 3097 static void chan_init_hw(struct adapter *adap, unsigned int chan_map) in chan_init_hw() argument 3101 if (chan_map != 3) { /* one channel */ in chan_init_hw() 3105 (chan_map == 1 ? F_TPTXPORT0EN | F_PORT0ACTIVE : in chan_init_hw() 3108 chan_map == 1 ? 0xffffffff : 0); in chan_init_hw() 3422 chan_init_hw(adapter, adapter->params.chan_map); in t3_init_hw() 3665 adapter->params.chan_map = (!!ai->nports0) | (!!ai->nports1 << 1); in t3_prep_adapter() 3696 p->nchan = adapter->params.chan_map == 3 ? 2 : 1; in t3_prep_adapter()
|
D | common.h | 395 unsigned int chan_map; /* bitmap of in-use Tx channels */ member
|
/Linux-v4.19/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_main.c | 481 struct net_device *dev = adap->port[adap->chan_map[port]]; in dcb_rpl() 555 dev = q->adap->port[q->adap->chan_map[port]]; in fwevtq_handler() 5519 memset(adapter->chan_map, 0xff, sizeof(adapter->chan_map)); in init_one() 5817 adapter->chan_map[pi->tx_chan] = i; in init_one()
|
D | cxgb4_dcb.c | 263 struct net_device *dev = adap->port[adap->chan_map[port]]; in cxgb4_dcb_handle_fw_update()
|
D | cxgb4_debugfs.c | 1359 i = adap->chan_map[tp.port & 3]; in mps_trc_show() 1540 if (adap->chan_map[tp.port & 3] >= MAX_NPORTS) in mps_trc_write() 1548 if (adap->chan_map[tp.port] >= MAX_NPORTS) in mps_trc_write()
|
D | cxgb4.h | 921 u8 chan_map[NCHAN]; /* channel -> port map */ member
|