Searched refs:ridx (Results 1 - 25 of 28) sorted by relevance

12

/freebsd-11-stable/sys/dev/qlxgb/
H A Dqla_inline.h174 qla_set_hw_rcv_desc(qla_host_t *ha, uint32_t ridx, uint32_t index, argument
179 rcv_desc = (q80_recv_desc_t *)ha->hw.dma_buf.rds_ring[ridx].dma_b;
191 qla_init_hw_rcv_descriptors(qla_host_t *ha, uint32_t ridx) argument
193 if (ridx == RDS_RING_INDEX_NORMAL)
194 bzero((void *)ha->hw.dma_buf.rds_ring[ridx].dma_b,
196 else if (ridx == RDS_RING_INDEX_JUMBO)
197 bzero((void *)ha->hw.dma_buf.rds_ring[ridx].dma_b,
200 QL_ASSERT(0, ("%s: invalid rds index [%d]\n", __func__, ridx));
/freebsd-11-stable/sys/dev/qlxge/
H A Dqls_hw.c1394 qls_alloc_tx_ring_dma(qla_host_t *ha, int ridx) argument
1402 ha->tx_ring[ridx].wq_dma.alignment = 8;
1403 ha->tx_ring[ridx].wq_dma.size =
1406 ret = qls_alloc_dmabuf(ha, &ha->tx_ring[ridx].wq_dma);
1409 device_printf(dev, "%s: [%d] txr failed\n", __func__, ridx);
1412 ha->tx_ring[ridx].flags.wq_dma = 1;
1414 ha->tx_ring[ridx].privb_dma.alignment = 8;
1415 ha->tx_ring[ridx].privb_dma.size = QLA_TX_PRIVATE_BSIZE;
1417 ret = qls_alloc_dmabuf(ha, &ha->tx_ring[ridx].privb_dma);
1420 device_printf(dev, "%s: [%d] oalb failed\n", __func__, ridx);
1562 qls_free_rx_ring_dma(qla_host_t *ha, int ridx) argument
1604 qls_alloc_rx_ring_dma(qla_host_t *ha, int ridx) argument
[all...]
/freebsd-11-stable/sys/dev/urtwn/
H A Dif_urtwn.c2016 uint8_t mode, ridx; local
2030 ridx = rate2ridx(IEEE80211_RV(rs->rs_rates[i]));
2031 if (ridx == URTWN_RIDX_UNKNOWN) /* Unknown rate, skip. */
2033 rates |= 1 << ridx;
2034 if (ridx > maxrate)
2035 maxrate = ridx;
2037 basicrates |= 1 << ridx;
2038 if (ridx > maxbasicrate)
2039 maxbasicrate = ridx;
2049 ridx
2904 uint8_t macid, raid, rate, ridx, type, tid, qos, qsel; local
3137 uint8_t cipher, ridx, type; local
4578 int ridx, chan, group; local
4677 int ridx, chan, group; local
[all...]
/freebsd-11-stable/sys/dev/iwm/
H A Dif_iwm_util.h128 extern uint8_t iwm_ridx2rate(struct ieee80211_rateset *rs, int ridx);
H A Dif_iwm.c3528 int ridx, rate_flags; local
3537 ridx = iwm_tx_rateidx_global_lookup(sc, tp->mgmtrate);
3541 ridx = iwm_tx_rateidx_global_lookup(sc, tp->mcastrate);
3545 ridx = iwm_tx_rateidx_global_lookup(sc, tp->ucastrate);
3549 ridx = iwm_tx_rateidx_global_lookup(sc, tp->mgmtrate);
3560 ridx = in->in_ridx[i];
3568 __func__, i, iwm_rates[ridx].rate);
3570 ridx = iwm_tx_rateidx_global_lookup(sc, tp->mgmtrate);
3577 __func__, type, iwm_rates[ridx].rate);
3579 rinfo = &iwm_rates[ridx];
4194 iwm_ridx2rate(struct ieee80211_rateset *rs, int ridx) argument
4214 int i, ridx, tab = 0; local
[all...]
/freebsd-11-stable/sys/dev/ral/
H A Drt2860.c1468 int i, nsegs, ntxds, pad, rate, ridx, error; local
1511 ridx = ieee80211_legacy_rate_lookup(ic->ic_rt, rate);
1514 mcs = rt2860_rates[ridx].mcs;
1526 if (rt2860_rates[ridx].phy == IEEE80211_T_DS) {
1528 if (ridx != RT2860_RIDX_CCK1 &&
1549 rt2860_rates[ridx].phy == IEEE80211_T_OFDM)))
1560 dur = rt2860_rates[ridx].sp_ack_dur;
1562 dur = rt2860_rates[ridx].lp_ack_dur;
1678 DPRINTFN(4, ("sending frame qid=%d wcid=%d nsegs=%d ridx=%d\n",
1679 qid, txwi->wcid, nsegs, ridx));
1743 int i, nsegs, ntxds, pad, rate, ridx, error; local
3356 int ridx, ant, i; local
3803 int i, qid, ridx, ntries, error; local
4172 int8_t ridx, d; local
4277 int ridx; local
[all...]
H A Drt2860var.h105 uint8_t ridx[IEEE80211_RATE_MAXSIZE]; member in struct:rt2860_node
H A Drt2860reg.h126 #define RT2860_TX_PWR_CFG(ridx) (0x1314 + (ridx) * 4)
/freebsd-11-stable/sys/dev/rtwn/
H A Dif_rtwn.c1094 uint8_t maxrate, maxbasicrate, mode, ridx; local
1102 ridx = rate2ridx(IEEE80211_RV(rs->rs_rates[i]));
1103 if (ridx == RTWN_RIDX_UNKNOWN) /* Unknown rate, skip. */
1105 rates |= 1 << ridx;
1106 if (ridx > maxrate)
1107 maxrate = ridx;
1109 basicrates |= 1 << ridx;
1110 if (ridx > maxbasicrate)
1111 maxbasicrate = ridx;
2577 int ridx, cha local
[all...]
/freebsd-11-stable/sys/dev/usb/wlan/
H A Dif_run.c1736 int ridx, ant, i; local
1887 for (ridx = 0; ridx < 5; ridx++) {
1890 run_srom_read(sc, RT2860_EEPROM_RPWR + ridx * 2, &val);
1892 run_srom_read(sc, RT2860_EEPROM_RPWR + ridx * 2 + 1, &val);
1895 sc->txpow20mhz[ridx] = reg;
1896 sc->txpow40mhz_2ghz[ridx] = b4inc(reg, delta_2ghz);
1897 sc->txpow40mhz_5ghz[ridx] = b4inc(reg, delta_5ghz);
1899 DPRINTF("ridx
1997 uint8_t rate, ridx; local
2629 uint8_t ridx; local
3202 uint8_t ridx = data->ridx; local
3272 uint8_t ridx; local
3429 uint8_t ridx = rn->mgt_ridx; local
3495 int ridx; local
3583 uint8_t ridx; local
4906 uint8_t ridx; local
5956 int ridx; local
[all...]
H A Dif_runvar.h94 uint8_t ridx; member in struct:run_tx_data
100 uint8_t ridx[IEEE80211_RATE_MAXSIZE]; member in struct:run_node
H A Dif_runreg.h124 #define RT2860_TX_PWR_CFG(ridx) (0x1314 + (ridx) * 4)
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_gart.c1095 unsigned ridx = rdev->asic->vm.pt_ring_index; local
1096 struct radeon_ring *ring = &rdev->ring[ridx];
1144 if (vm->fence && vm->fence->ring != ridx) {
1182 if (sem && radeon_fence_need_sync(vm->fence, ridx)) {
1183 radeon_semaphore_sync_rings(rdev, sem, vm->fence->ring, ridx);
1184 radeon_fence_note_sync(vm->fence, ridx);
1197 r = radeon_fence_emit(rdev, &vm->fence, ridx);
H A Dradeon_ring.c790 int ridx = *(int*)node->info_ent->data; local
791 struct radeon_ring *ring = &rdev->ring[ridx];
861 int ridx = *(int*)radeon_debugfs_ring_info_list[i].data; local
864 if (&rdev->ring[ridx] != ring)
H A Dni.c1097 static const int ridx[] = { local
1154 ring = &rdev->ring[ridx[i]];
1170 ring = &rdev->ring[ridx[i]];
1176 ring = &rdev->ring[ridx[i]];
1995 void cayman_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm) argument
1997 struct radeon_ring *ring = &rdev->ring[ridx];
2018 void cayman_dma_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm) argument
2020 struct radeon_ring *ring = &rdev->ring[ridx];
H A Dradeon_asic.h484 void cayman_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm);
494 void cayman_dma_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm);
521 void si_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm);
528 void si_dma_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm);
H A Dradeon_ttm.c228 int r, ridx; local
231 ridx = radeon_copy_ring_index(rdev);
257 if (!rdev->ring[ridx].ready) {
H A Dsi.c3074 void si_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm) argument
3076 struct radeon_ring *ring = &rdev->ring[ridx];
3117 void si_dma_vm_flush(struct radeon_device *rdev, int ridx, struct radeon_vm *vm) argument
3119 struct radeon_ring *ring = &rdev->ring[ridx];
/freebsd-11-stable/sys/dev/txp/
H A Dif_txp.c2325 uint32_t ridx; local
2330 ridx = le32toh(hv->hv_resp_read_idx);
2331 while (ridx != le32toh(hv->hv_resp_write_idx)) {
2332 rsp = (struct txp_rsp_desc *)(((uint8_t *)sc->sc_rspring.base) + ridx);
2354 ridx = le32toh(hv->hv_resp_read_idx);
2398 ridx = le32toh(hv->hv_resp_read_idx);
2410 uint32_t i, ridx; local
2414 ridx = le32toh(hv->hv_resp_read_idx);
2419 ridx += sizeof(struct txp_rsp_desc);
2420 if (ridx
2436 uint32_t widx, ridx, nfree; local
[all...]
/freebsd-11-stable/sys/sparc64/ebus/
H A Debus.c439 int i, isdefault, passthrough, ridx; local
469 &start, &end, &ridx);
470 eri = &sc->sc_rinfo[ridx];
/freebsd-11-stable/usr.sbin/bhyve/
H A Dpci_e82545.c1597 int ridx; local
1736 ridx = (offset - E1000_RAL(0)) >> 2;
1737 e82545_write_ra(sc, ridx, value);
1811 int ridx; local
1933 ridx = (offset - E1000_RAL(0)) >> 2;
1934 retval = e82545_read_ra(sc, ridx);
/freebsd-11-stable/sys/dev/sound/pcm/
H A Dfeeder_rate.c1244 int ridx; local
1250 ridx = Z_RESAMPLER_SINC_POLYPHASE;
1252 ridx = Z_RESAMPLER_IDX(info);
1253 info->z_resample = z_resampler_tab[i].resampler[ridx];
/freebsd-11-stable/sys/dev/iwn/
H A Dif_iwn.c2728 int ridx; local
2780 * to map the ridx -> phy table entry
2784 ridx = ieee80211_legacy_rate_lookup(ic->ic_rt,
2786 if (ridx < IWN_RIDX_OFDM6 &&
5582 int maxchpwr, pwr, ridx, idx; local
5603 for (ridx = 0; ridx <= IWN_RIDX_MAX; ridx++) {
5606 if ((ridx / 8) & 1)
5612 if ((ridx
[all...]
/freebsd-11-stable/sys/dev/otus/
H A Dif_otus.c1384 uint8_t rate, ridx;
1394 for (ridx = 0; ridx <= OTUS_RIDX_MAX; ridx++)
1395 if (otus_rates[ridx].rate == rate)
1397 sc->fixed_ridx = ridx;
/freebsd-11-stable/sys/contrib/octeon-sdk/
H A Dcvmx-pko-defs.h913 uint64_t ridx : 17; /**< PDB ridx */ member in struct:cvmx_pko_mem_debug14::cvmx_pko_mem_debug14_cn30xx
915 uint64_t ridx : 17;

Completed in 308 milliseconds

12