Searched refs:idx (Results 1 - 25 of 158) sorted by last modified time

1234567

/haiku/src/add-ons/kernel/drivers/network/ether/rtl8125/dev/pci/
H A Dif_rge.c524 rge_encap(struct rge_queues *q, struct mbuf *m, int idx) argument
547 txq = &q->q_tx.rge_txq[idx];
578 cur = idx;
604 d = &q->q_tx.rge_tx_list[idx];
683 int free, idx, used; local
692 idx = q->q_tx.rge_txq_prodidx;
694 if (free <= idx)
696 free -= idx;
708 used = rge_encap(q, m, idx);
722 idx
1203 int idx; local
1247 rge_discard_rxbuf(struct rge_queues *q, int idx) argument
1440 int cons, idx, prod; local
[all...]
/haiku/src/add-ons/kernel/drivers/audio/sb16/
H A Dsb16_multi_audio.c108 create_group_control(multi_mix_control* multi, int32 idx, int32 parent, int32 string, const char* name) argument
110 multi->id = SB16_MULTI_CONTROL_FIRSTID + idx;
/haiku/src/add-ons/kernel/drivers/audio/null/
H A Dnull_multi.c149 create_group_control(multi_mix_control* multi, int32 idx, int32 parent, int32 string, argument
152 multi->id = MULTI_AUDIO_BASE_ID + idx;
/haiku/src/add-ons/kernel/drivers/network/wlan/idualwifi7260/dev/pci/
H A Dif_iwm.c874 int idx, i; local
880 idx = le32toh(api->api_index);
881 if (idx >= howmany(IWM_NUM_UCODE_TLV_API, 32)) {
888 setbit(sc->sc_ucode_api, i + (32 * idx));
895 int idx, i; local
901 idx = le32toh(capa->api_index);
902 if (idx >= howmany(IWM_NUM_UCODE_TLV_CAPA, 32)) {
908 setbit(sc->sc_enabled_capa, i + (32 * idx));
2448 int err, idx, scd_bug; local
2465 idx
4565 iwm_rx_addbuf(struct iwm_softc *sc, int size, int idx) argument
5709 iwm_txq_advance(struct iwm_softc *sc, struct iwm_tx_ring *ring, int idx) argument
5752 uint8_t idx = agg_status[i].idx; local
5854 int idx = cmd_hdr->idx; local
5927 int idx, end_idx; local
6295 int idx, code, async, group_id; local
6527 iwm_cmd_done(struct iwm_softc *sc, int qid, int idx, int code) argument
6561 iwm_update_sched(struct iwm_softc *sc, int qid, int idx, uint8_t sta_id, uint16_t len) argument
6587 iwm_reset_sched(struct iwm_softc *sc, int qid, int idx, uint8_t sta_id) argument
8433 int i, idx, num_active_macs, quota, quota_rem; local
9980 int sec_idx, idx; local
10975 int qid, idx, code; local
10993 int qid, idx, code, handled = 1; local
[all...]
/haiku/src/add-ons/kernel/drivers/network/wlan/iaxwifi200/dev/pci/
H A Dif_iwx.c1362 int idx, i; local
1368 idx = le32toh(api->api_index);
1369 if (idx >= howmany(IWX_NUM_UCODE_TLV_API, 32)) {
1376 setbit(sc->sc_ucode_api, i + (32 * idx));
1383 int idx, i; local
1389 idx = le32toh(capa->api_index);
1390 if (idx >= howmany(IWX_NUM_UCODE_TLV_CAPA, 32)) {
1396 setbit(sc->sc_enabled_capa, i + (32 * idx));
4426 iwx_update_rx_desc(struct iwx_softc *sc, struct iwx_rx_ring *ring, int idx) argument
4428 struct iwx_rx_data *data = &ring->data[idx];
4447 iwx_rx_addbuf(struct iwx_softc *sc, int size, int idx) argument
5305 iwx_clear_tx_desc(struct iwx_softc *sc, struct iwx_tx_ring *ring, int idx) argument
5340 iwx_txq_advance(struct iwx_softc *sc, struct iwx_tx_ring *ring, uint16_t idx) argument
5436 uint16_t i, tfd_cnt, ra_tid_cnt, idx; local
5752 int idx, code, async, group_id; local
5978 iwx_cmd_done(struct iwx_softc *sc, int qid, int idx, int code) argument
6115 iwx_tx_update_byte_tbl(struct iwx_softc *sc, struct iwx_tx_ring *txq, int idx, uint16_t byte_cnt, uint16_t num_tbs) argument
7809 int idx = iwx_rs_rval2idx(rval); local
7877 int idx = iwx_rs_rval2idx(rval); local
9726 int qid, idx, code; local
9744 int qid, idx, code, handled = 1; local
[all...]
H A Dif_iwxreg.h7796 uint8_t idx; member in struct:iwx_cmd_header
7803 uint8_t idx; member in struct:iwx_cmd_header_wide
/haiku/src/bin/listusb/
H A Dusb_audio.cpp218 uint8 idx = 7 + descriptor->num_input_pins; local
220 for (uint i = 1; idx < descriptor->length - 3; idx++, i++)
221 printf("%02x ", (uint8)generic->data[idx]);
/haiku/src/libs/compat/freebsd_network/
H A Dif.c84 ifnet_byindex(u_short idx) argument
89 ifp = ifnet_byindex_locked(idx);
97 ifnet_byindex_locked(u_short idx) argument
101 ifp = gDevices[idx];
108 ifnet_setbyindex_locked(u_short idx, struct ifnet *ifp) argument
110 gDevices[idx] = ifp;
115 ifnet_setbyindex(u_short idx, struct ifnet *ifp) argument
118 ifnet_setbyindex_locked(idx, ifp);
145 ifindex_free_locked(u_short idx) argument
147 gDevices[idx]
[all...]
/haiku/src/libs/compat/freebsd_iflib/
H A Diflib.c2087 int err, frag_idx, i, idx, n, pidx; local
2097 idx = pidx;
2181 if (++idx == fl->ifl_size) {
2185 idx = 0;
2191 fl->ifl_pidx = idx;
2193 pidx = idx;
2203 fl->ifl_pidx = idx;
/haiku/src/add-ons/kernel/bus_managers/ps2/
H A Dps2_dev.cpp135 ps2_device[0].idx = 0;
141 ps2_device[1].idx = 1;
147 ps2_device[2].idx = 2;
153 ps2_device[3].idx = 3;
415 prefix_cmd = 0x90 + dev->idx;
H A Dps2_common.cpp314 uint8 idx; local
316 idx = ctrl >> 6;
319 ctrl, data, idx);
321 idx = 0;
326 dev = &ps2_device[PS2_DEVICE_MOUSE + idx];
419 for (int idx = 1; idx <= 3; idx++) {
420 ps2_service_notify_device_added(&ps2_device[PS2_DEVICE_MOUSE + idx]);
H A Dps2_synaptics.cpp572 dev->name = kSynapticsPath[dev->idx];
648 sPassthroughDevice->idx = dev->idx;
/haiku/src/add-ons/kernel/busses/virtio/virtio_mmio/
H A Dvirtio_mmio.cpp614 return queue->fUsed->idx == queue->fLastUsed;
H A DVirtioDevice.cpp123 int32 idx = fAllocatedDescs.GetLowestClear(); local
124 if (idx < 0)
127 fAllocatedDescs.Set(idx);
128 return idx;
133 VirtioQueue::FreeDesc(int32 idx) argument
135 fAllocatedDescs.Clear(idx);
185 int32_t idx = fAvail->idx & (fQueueLen - 1); local
187 fAvail->ring[idx] = firstDesc;
188 fAvail->idx
[all...]
H A DVirtioDevice.h54 void FreeDesc(int32 idx);
/haiku/src/add-ons/kernel/bus_managers/virtio/
H A DVirtioQueue.cpp255 if (fRingUsedIndex == fRing.used->idx)
364 uint16 available = fRing.avail->idx & (fRingSize - 1);
366 fRing.avail->idx++;
/haiku/src/system/libnetwork/netresolv/isc/
H A Dev_timers.c460 set_index(void *what, int idx) { argument
464 timer->index = idx;
/haiku/src/add-ons/media/media-add-ons/usb_vision/
H A DProducer.cpp1051 for(int idx = 0; idx < nCount; idx++){
1052 BParameter *parameter = web->ParameterAt(idx);
/haiku/src/add-ons/kernel/file_systems/userlandfs/server/beos/
H A Dfs_cache.c974 int idx; local
980 for(idx=0; idx < iocnt; idx++)
981 printf("iov[%2d] = %p :: %ld\n", idx, iov[idx].iov_base,
982 iov[idx].iov_len);
/haiku/src/system/boot/platform/efi/
H A Ddtb.cpp377 dtb_get_reg(const void* fdt, int node, size_t idx, addr_range& range) argument
388 if ((idx + 1) * entrySize > (size_t)propSize)
391 prop += idx * entrySize;
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dlogfile.c288 u16 nr_clients, idx; local
314 idx = le16_to_cpu(ra->client_free_list);
317 for (idx_is_first = TRUE; idx != LOGFILE_NO_CLIENT_CPU; nr_clients--,
318 idx = le16_to_cpu(cr->next_client)) {
319 if (!nr_clients || idx >= le16_to_cpu(ra->log_clients))
322 if ((offset_clients + (idx + 1)*sizeof(LOG_CLIENT_RECORD))
326 cr = ca + idx;
337 idx = le16_to_cpu(ra->client_in_use_list);
/haiku/src/libs/compat/openbsd_wlan/net80211/
H A Dieee80211_input.c825 int idx, count; local
875 idx = (sn - ba->ba_winstart) & 0xfff;
876 idx = (ba->ba_head + idx) % IEEE80211_BA_MAX_WINSZ;
878 if (ba->ba_buf[idx].m != NULL) {
884 ba->ba_buf[idx].m = m;
887 ba->ba_buf[idx].rxi = *rxi;
/haiku/src/add-ons/kernel/drivers/network/ether/intel22x/dev/igc/
H A Digc_txrx.c57 static int igc_isc_rxd_available(void *arg, uint16_t rxqid, qidx_t idx,
426 igc_isc_rxd_available(void *arg, uint16_t rxqid, qidx_t idx, qidx_t budget) argument
436 for (cnt = 0, i = idx; cnt < scctx->isc_nrxd[0] && cnt <= budget;) {
H A Dif_igc.c1113 igc_copy_maddr(void *arg, struct sockaddr_dl *sdl, u_int idx) argument
1117 if (idx == MAX_NUM_MULTICAST_ADDRESSES)
1120 bcopy(LLADDR(sdl), &mta[idx * ETHER_ADDR_LEN], ETHER_ADDR_LEN);
/haiku/src/add-ons/kernel/bus_managers/acpi/
H A DEmbeddedController.cpp121 acpi_PkgInt(acpi_object_type* res, int idx, int* dst) argument
123 acpi_object_type* obj = &res->package.objects[idx];
133 acpi_PkgInt32(acpi_object_type* res, int idx, uint32* dst) argument
137 status_t status = acpi_PkgInt(res, idx, &tmp);

Completed in 373 milliseconds

1234567