Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt76x0/
Deeprom.c206 } chan_map[] = { in mt76x0_get_power_info() local
232 for (i = 0; i < ARRAY_SIZE(chan_map); i++) { in mt76x0_get_power_info()
233 if (chan->hw_value <= chan_map[i].chan) { in mt76x0_get_power_info()
234 idx = (chan->hw_value == chan_map[i].chan); in mt76x0_get_power_info()
235 offset = chan_map[i].offset; in mt76x0_get_power_info()
239 if (i == ARRAY_SIZE(chan_map)) in mt76x0_get_power_info()
240 offset = chan_map[0].offset; in mt76x0_get_power_info()
/linux-6.6.21/drivers/net/can/sja1000/
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-6.6.21/drivers/hwtracing/stm/
Dstm.h26 unsigned long chan_map[]; member
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-6.6.21/drivers/net/ethernet/chelsio/cxgb3/
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()
3634 p->nchan = adapter->params.chan_map == 3 ? 2 : 1; in t3_prep_adapter()
Dcommon.h395 unsigned int chan_map; /* bitmap of in-use Tx channels */ member
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/
Dcxgb4_dcb.c278 struct net_device *dev = adap->port[adap->chan_map[port]]; in cxgb4_dcb_handle_fw_update()
Dcxgb4_main.c537 struct net_device *dev = adap->port[adap->chan_map[port]]; in dcb_rpl()
611 dev = q->adap->port[q->adap->chan_map[port]]; in fwevtq_handler()
6700 memset(adapter->chan_map, 0xff, sizeof(adapter->chan_map)); in init_one()
7040 adapter->chan_map[pi->tx_chan] = i; in init_one()
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()
Dcxgb4.h1134 u8 chan_map[NCHAN]; /* channel -> port map */ member