Searched refs:start_idx (Results 1 - 25 of 76) sorted by path

1234

/linux-master/drivers/cpuidle/
H A Ddt_idle_states.h7 unsigned int start_idx);
H A Ddt_idle_states.c140 * @start_idx: First idle state index to be initialized
144 * from index start_idx.
150 unsigned int start_idx)
157 unsigned int state_idx = start_idx;
222 return state_idx - start_idx;
148 dt_init_idle_driver(struct cpuidle_driver *drv, const struct of_device_id *matches, unsigned int start_idx) argument
/linux-master/arch/powerpc/sysdev/
H A Dfsl_pci.c202 int i, j, n, mem_log, win_idx = 3, start_idx = 1, end_idx = 4; local
237 start_idx = 0;
247 for (i = start_idx; i < end_idx; i++)
/linux-master/arch/sparc/include/asm/
H A Dvio.h93 u32 start_idx; member in struct:vio_dring_data
/linux-master/arch/x86/events/intel/
H A Dpt.c980 unsigned int idx, cur_pg = 0, z_pg = 0, start_idx = 0; local
1016 start_idx = topa->z_count + 1;
1031 for (idx = start_idx, cur_pg += z_pg; idx < topa->last; idx++) {
/linux-master/drivers/accel/habanalabs/gaudi2/
H A Dgaudi2.c3355 static void gaudi2_user_mapped_dec_init(struct gaudi2_device *gaudi2, u32 start_idx) argument
3359 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE0_DEC0_CMD_BASE, HL_BLOCK_SIZE);
3360 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE0_DEC1_CMD_BASE, HL_BLOCK_SIZE);
3361 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE1_DEC0_CMD_BASE, HL_BLOCK_SIZE);
3362 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE1_DEC1_CMD_BASE, HL_BLOCK_SIZE);
3363 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE2_DEC0_CMD_BASE, HL_BLOCK_SIZE);
3364 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE2_DEC1_CMD_BASE, HL_BLOCK_SIZE);
3365 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE3_DEC0_CMD_BASE, HL_BLOCK_SIZE);
3366 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx++], mmDCORE3_DEC1_CMD_BASE, HL_BLOCK_SIZE);
3367 HL_USR_MAPPED_BLK_INIT(&blocks[start_idx
[all...]
/linux-master/drivers/block/drbd/
H A Ddrbd_debugfs.c522 unsigned int start_idx; local
530 start_idx = cb_nr % DRBD_THREAD_DETAILS_HIST;
531 for (i = start_idx; i < DRBD_THREAD_DETAILS_HIST; i++)
533 for (i = 0; i < start_idx; i++)
/linux-master/drivers/block/
H A Dsunvdc.c340 pkt->start_idx != pkt->end_idx ||
341 pkt->start_idx >= VDC_TX_RING_SIZE))
344 vdc_end_one(port, dr, pkt->start_idx);
436 .start_idx = dr->prod,
/linux-master/drivers/dma/ti/
H A Dk3-udma.c165 u32 start_idx[3]; member in struct:udma_tpl
452 if (chan_id >= tpl_map->start_idx[i])
1350 start = ud->res##_tpl.start_idx[tpl]; \
1503 chan_id = ud->tchan_tpl.start_idx[ud->tchan_tpl.levels - 1];
4539 ud->tchan_tpl.start_idx[0] = 8;
4543 ud->tchan_tpl.start_idx[0] = 2;
4546 ud->tchan_tpl.start_idx[1] = UDMA_CAP3_UCHAN_CNT(cap3);
4547 ud->tchan_tpl.start_idx[0] = UDMA_CAP3_HCHAN_CNT(cap3);
4550 ud->tchan_tpl.start_idx[0] = UDMA_CAP3_HCHAN_CNT(cap3);
4556 ud->rchan_tpl.start_idx[
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Dcik.c4476 u32 start_idx[3]; member in struct:bonaire_mqd
/linux-master/drivers/infiniband/core/
H A Dumem_odp.c352 int pfn_index, dma_index, ret = 0, start_idx; variable
406 start_idx = (range.start - ib_umem_start(umem_odp)) >> page_shift;
407 dma_index = start_idx;
458 ret = dma_index - start_idx;
/linux-master/drivers/infiniband/hw/bnxt_re/
H A Dqplib_fp.c678 srq->start_idx = 0;
765 if (srq->start_idx == srq->last_idx) {
771 next = srq->start_idx;
772 srq->start_idx = srq->swq[next].next_idx;
1613 u16 start_idx; local
1620 start_idx = swq->slot_idx;
1622 bnxt_re_update_msn_tbl(start_idx, next_psn, start_psn);
H A Dqplib_fp.h103 int start_idx; member in struct:bnxt_qplib_srq
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_hem.c87 u64 start_idx = round_down(hem_idx, bt_chunk_num); local
88 u64 check_max_num = start_idx + bt_chunk_num;
91 for (i = start_idx; (i < check_max_num) && (i < hem_max_num); i++)
100 u64 start_idx = round_down(ba_idx, bt_chunk_num); local
104 if (i != ba_idx && bt[start_idx + i])
/linux-master/drivers/infiniband/hw/irdma/
H A Dhmc.c198 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt)
201 if ((info->start_idx + info->count) >
231 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt)
234 if ((info->start_idx + info->count) >
238 info->rsrc_type, info->start_idx, info->count,
244 info->start_idx, info->count, &sd_idx,
252 info->start_idx, info->count, &pd_idx,
379 if (info->start_idx >= info->hmc_info->hmc_obj[info->rsrc_type].cnt) {
381 "HMC: error start_idx[%04d] >= [type %04d].cnt[%04d]\n",
382 info->start_idx, inf
[all...]
H A Dhmc.h127 u32 start_idx; member in struct:irdma_hmc_create_obj_info
138 u32 start_idx; member in struct:irdma_hmc_del_obj_info
/linux-master/drivers/infiniband/hw/mlx5/
H A Dodp.c559 u64 start_idx; local
567 start_idx = (user_va - ib_umem_start(odp)) >> page_shift;
581 ret = mlx5r_umr_update_xlt(mr, start_idx, np, page_shift, xlt_flags);
/linux-master/drivers/infiniband/hw/qib/
H A Dqib.h238 u16 start_idx; /* sdma private */ member in struct:qib_sdma_txreq
H A Dqib_sdma.c110 idx = txp->start_idx;
345 idx = txp->start_idx;
377 idx = txp->start_idx;
496 tx->txreq.start_idx = 0;
563 tx->txreq.start_idx = tail;
729 "SDMA txp->start_idx: %u txp->next_descq_idx: %u\n",
730 txp->start_idx, txp->next_descq_idx);
/linux-master/drivers/infiniband/ulp/opa_vnic/
H A Dopa_vnic_encap.h449 * @start_idx: position of first entry (0 based)
459 __be16 start_idx; member in struct:opa_veswport_iface_macs
H A Dopa_vnic_vema.c472 macs_out->start_idx = macs_in->start_idx;
H A Dopa_vnic_vema_iface.c317 u16 start_idx, num_macs, idx = 0, count = 0; local
320 start_idx = be16_to_cpu(macs->start_idx);
325 if (start_idx > idx++)
349 u16 start_idx, tot_macs, num_macs, idx = 0, count = 0, em_macs = 0; local
352 start_idx = be16_to_cpu(macs->start_idx);
365 if (start_idx > idx++)
377 if (start_idx > idx++)
/linux-master/drivers/input/rmi4/
H A Drmi_bus.c380 static void __rmi_unregister_function_handlers(int start_idx) argument
384 for (i = start_idx; i >= 0; i--)
/linux-master/drivers/media/pci/tw686x/
H A Dtw686x-video.c714 u32 start_idx, end_idx; local
716 start_idx = is_second_gen(dev) ?
718 end_idx = start_idx + TW686X_MAX_SG_DESC_COUNT - 1;
720 val |= (end_idx << 10) | start_idx;
/linux-master/drivers/media/test-drivers/vicodec/
H A Dcodec-v4l2-fwht.c60 unsigned int start_idx)
69 if (start_idx == 0)
71 start_idx--;
56 v4l2_fwht_find_nth_fmt(u32 width_div, u32 height_div, u32 components_num, u32 pixenc, unsigned int start_idx) argument

Completed in 435 milliseconds

1234