Home
last modified time | relevance | path

Searched refs:chan_map (Results 1 – 10 of 10) sorted by relevance

/linux/drivers/net/wireless/mediatek/mt76/mt76x0/
A Deeprom.c218 } chan_map[] = { in mt76x0_get_power_info() local
244 for (i = 0; i < ARRAY_SIZE(chan_map); i++) { in mt76x0_get_power_info()
245 if (chan->hw_value <= chan_map[i].chan) { in mt76x0_get_power_info()
246 idx = (chan->hw_value == chan_map[i].chan); in mt76x0_get_power_info()
247 offset = chan_map[i].offset; in mt76x0_get_power_info()
251 if (i == ARRAY_SIZE(chan_map)) in mt76x0_get_power_info()
252 offset = chan_map[0].offset; in mt76x0_get_power_info()
/linux/drivers/net/can/sja1000/
A Dplx_pci.c524 struct plx_pci_channel_map *chan_map = in plx_pci_reset_marathon_pcie() local
526 addr = pci_iomap(pdev, chan_map->bar, chan_map->size); in plx_pci_reset_marathon_pcie()
529 "space %d (BAR%d)\n", i, chan_map->bar); in plx_pci_reset_marathon_pcie()
533 reset_addr = addr + chan_map->offset + in plx_pci_reset_marathon_pcie()
/linux/drivers/hwtracing/stm/
A Dstm.h26 unsigned long chan_map[]; member
A Dcore.c163 master = kzalloc(struct_size(master, chan_map, in stp_master_alloc()
196 bitmap_allocate_region(&master->chan_map[0], output->channel, in stm_output_claim()
210 bitmap_release_region(&master->chan_map[0], output->channel, in stm_output_disclaim()
268 pos = find_free_channels(master->chan_map, *cstart, cend, in stm_find_master_chan()
/linux/drivers/net/ethernet/chelsio/cxgb3/
A Dt3_hw.c3033 static void chan_init_hw(struct adapter *adap, unsigned int chan_map) in chan_init_hw() argument
3037 if (chan_map != 3) { /* one channel */ in chan_init_hw()
3041 (chan_map == 1 ? F_TPTXPORT0EN | F_PORT0ACTIVE : in chan_init_hw()
3044 chan_map == 1 ? 0xffffffff : 0); in chan_init_hw()
3358 chan_init_hw(adapter, adapter->params.chan_map); in t3_init_hw()
3601 adapter->params.chan_map = (!!ai->nports0) | (!!ai->nports1 << 1); in t3_prep_adapter()
3632 p->nchan = adapter->params.chan_map == 3 ? 2 : 1; in t3_prep_adapter()
A Dcommon.h395 unsigned int chan_map; /* bitmap of in-use Tx channels */ member
/linux/drivers/net/ethernet/chelsio/cxgb4/
A Dcxgb4_main.c538 struct net_device *dev = adap->port[adap->chan_map[port]]; in dcb_rpl()
612 dev = q->adap->port[q->adap->chan_map[port]]; in fwevtq_handler()
6712 memset(adapter->chan_map, 0xff, sizeof(adapter->chan_map)); in init_one()
7054 adapter->chan_map[pi->tx_chan] = i; in init_one()
A Dcxgb4_dcb.c278 struct net_device *dev = adap->port[adap->chan_map[port]]; in cxgb4_dcb_handle_fw_update()
A Dcxgb4_debugfs.c1344 i = adap->chan_map[tp.port & 3]; in mps_trc_show()
1525 if (adap->chan_map[tp.port & 3] >= MAX_NPORTS) in mps_trc_write()
1533 if (adap->chan_map[tp.port] >= MAX_NPORTS) in mps_trc_write()
A Dcxgb4.h1136 u8 chan_map[NCHAN]; /* channel -> port map */ member

Completed in 58 milliseconds