Searched refs:chan_map (Results 1 – 10 of 10) sorted by relevance
/linux-6.6.21/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | eeprom.c | 206 } 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/ |
D | plx_pci.c | 524 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/ |
D | stm.h | 26 unsigned long chan_map[]; member
|
D | core.c | 163 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/ |
D | t3_hw.c | 3033 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()
|
D | common.h | 395 unsigned int chan_map; /* bitmap of in-use Tx channels */ member
|
/linux-6.6.21/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_dcb.c | 278 struct net_device *dev = adap->port[adap->chan_map[port]]; in cxgb4_dcb_handle_fw_update()
|
D | cxgb4_main.c | 537 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()
|
D | cxgb4_debugfs.c | 1344 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()
|
D | cxgb4.h | 1134 u8 chan_map[NCHAN]; /* channel -> port map */ member
|