Searched refs:start_index (Results 26 - 50 of 71) sorted by relevance

123

/linux-master/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-desc.c531 unsigned int start_index, cur_index; local
538 start_index = ring->cur;
646 packet->rdesc_count = cur_index - start_index;
653 while (start_index < cur_index) {
654 rdata = XGBE_GET_DESC_DATA(ring, start_index++);
H A Dxgbe-dev.c1470 int start_index = ring->cur; local
1486 rdata = XGBE_GET_DESC_DATA(ring, start_index);
1548 unsigned int start_index = ring->cur; local
1565 rdata = XGBE_GET_DESC_DATA(ring, start_index);
1572 rdata = XGBE_GET_DESC_DATA(ring, start_index + ring->rdesc_count - 1);
1734 int start_index = ring->cur; local
1856 if (cur_index != start_index)
1889 for (i = cur_index - start_index + 1; i < packet->rdesc_count; i++) {
1935 rdata = XGBE_GET_DESC_DATA(ring, start_index);
1940 xgbe_dump_tx_desc(pdata, ring, start_index,
[all...]
/linux-master/drivers/net/ethernet/synopsys/
H A Ddwc-xlgmac-desc.c502 unsigned int start_index, cur_index; local
512 start_index = ring->cur;
622 pkt_info->desc_count = cur_index - start_index;
627 while (start_index < cur_index) {
628 desc_data = XLGMAC_GET_DESC_DATA(ring, start_index++);
H A Ddwc-xlgmac-hw.c711 int start_index = ring->cur; local
872 if (cur_index != start_index)
920 for (i = cur_index - start_index + 1; i < pkt_info->desc_count; i++) {
983 desc_data = XLGMAC_GET_DESC_DATA(ring, start_index);
991 xlgmac_dump_tx_desc(pdata, ring, start_index,
1006 channel->name, start_index & (ring->dma_desc_count - 1),
1060 int start_index = ring->cur; local
1075 desc_data = XLGMAC_GET_DESC_DATA(ring, start_index);
1143 unsigned int start_index = ring->cur; local
1159 desc_data = XLGMAC_GET_DESC_DATA(ring, start_index);
[all...]
/linux-master/kernel/
H A Dkcov.c233 u64 count, start_index, end_pos, max_pos; local
251 start_index = 1 + count * KCOV_WORDS_PER_CMP;
252 end_pos = (start_index + KCOV_WORDS_PER_CMP) * sizeof(u64);
257 area[start_index] = type;
258 area[start_index + 1] = arg1;
259 area[start_index + 2] = arg2;
260 area[start_index + 3] = ip;
/linux-master/drivers/infiniband/hw/hns/
H A Dhns_roce_mr.c848 u32 start_index, u64 *mtt_buf,
862 if (npage < start_index)
878 struct hns_roce_mtr *mtr, u32 start_index,
890 start_index + total,
911 u32 start_index; local
919 start_index = offset >> HNS_HW_PAGE_SHIFT;
920 ret = hns_roce_get_direct_addr_mtt(cfg, start_index,
923 start_index = offset >> cfg->buf_pg_shift;
924 ret = hns_roce_get_mhop_mtt(hr_dev, mtr, start_index,
847 hns_roce_get_direct_addr_mtt(struct hns_roce_hem_cfg *cfg, u32 start_index, u64 *mtt_buf, int mtt_cnt) argument
877 hns_roce_get_mhop_mtt(struct hns_roce_dev *hr_dev, struct hns_roce_mtr *mtr, u32 start_index, u64 *mtt_buf, int mtt_cnt) argument
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn321/
H A Ddcn321_fpu.c264 unsigned int start_index = 0; local
271 start_index = i;
278 if (start_index != end_index) {
279 for (int j = start_index; j < end_index; j++) {
280 for (int k = start_index; k < end_index; k++) {
287 start_index = 0;
/linux-master/fs/squashfs/
H A Dfile.c389 int start_index = page->index & ~mask, end_index = start_index | mask; local
397 for (i = start_index; i <= end_index && bytes > 0; i++,
/linux-master/drivers/soc/ti/
H A Dknav_qmss.h75 u32 start_index; member in struct:knav_reg_region
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Dfs_core.c702 ida_free(&fg->fte_allocator, fte->index - fg->start_index);
738 fg->start_index < ft->autogroup.max_fte)
756 fte->index = index + fg->start_index;
803 int start_index,
824 fg->start_index = start_index;
825 fg->max_ftes = end_index - start_index + 1;
833 int start_index,
842 start_index, end_index);
1395 int start_index local
800 alloc_flow_group(struct mlx5_flow_steering *steering, u8 match_criteria_enable, const void *match_criteria, int start_index, int end_index) argument
830 alloc_insert_flow_group(struct mlx5_flow_table *ft, u8 match_criteria_enable, const void *match_criteria, int start_index, int end_index, struct list_head *prev) argument
[all...]
H A Dfs_core.h273 u32 start_index; member in struct:mlx5_flow_group
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dppatomctrl.c1341 int atomctrl_read_efuse(struct pp_hwmgr *hwmgr, uint16_t start_index, argument
1349 if ((end_index - start_index) == 31)
1352 mask = (1 << ((end_index - start_index) + 1)) - 1;
1354 efuse_param.sEfuse.usEfuseIndex = cpu_to_le16((start_index / 32) * 4);
1356 (start_index - ((start_index / 32) * 32));
1358 ((end_index - start_index) + 1);
H A Dppatomctrl.h317 extern int atomctrl_read_efuse(struct pp_hwmgr *hwmgr, uint16_t start_index,
/linux-master/drivers/scsi/
H A D3w-9xxx.c646 unsigned char event_index, start_index; local
796 start_index = tw_dev->error_index;
802 start_index = 0;
804 event_index = (start_index + sequence_id - tw_dev->event_queue[start_index]->sequence_id + 1) % TW_Q_LENGTH;
825 start_index = tw_dev->error_index;
831 start_index = 0;
833 event_index = (start_index + sequence_id - tw_dev->event_queue[start_index]->sequence_id - 1) % TW_Q_LENGTH;
/linux-master/net/can/
H A Disotp.c311 static int check_optimized(struct canfd_frame *cf, int start_index) argument
313 /* for CAN_DL <= 8 the start_index is equal to the CAN_DL as the
319 return (cf->len != start_index);
323 * The correct check would be (padlen(cf->len) != padlen(start_index)).
327 return (cf->len != padlen(start_index));
332 int start_index, u8 content)
339 return check_optimized(cf, start_index);
352 for (i = start_index; i < cf->len; i++)
331 check_pad(struct isotp_sock *so, struct canfd_frame *cf, int start_index, u8 content) argument
/linux-master/drivers/net/ethernet/renesas/
H A Drswitch.c239 unsigned int start_index,
245 index = (i + start_index) % gq->ring_size;
257 index = (i + start_index) % gq->ring_size;
416 unsigned int start_index,
424 index = (i + start_index) % gq->ring_size;
432 unsigned int start_index,
441 index = (i + start_index) % gq->ring_size;
466 index = (i + start_index) % gq->ring_size;
238 rswitch_gwca_queue_alloc_rx_buf(struct rswitch_gwca_queue *gq, unsigned int start_index, unsigned int num) argument
415 rswitch_gwca_ts_queue_fill(struct rswitch_private *priv, unsigned int start_index, unsigned int num) argument
430 rswitch_gwca_queue_ext_ts_fill(struct net_device *ndev, struct rswitch_gwca_queue *gq, unsigned int start_index, unsigned int num) argument
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Dfw_tracer.c908 u32 index, start_index, end_index; local
917 start_index = saved_traces_index;
919 start_index = 0;
923 index = start_index;
/linux-master/fs/smb/server/
H A Dsmb2pdu.h452 int find_matching_smb2_dialect(int start_index, __le16 *cli_dialects,
/linux-master/fs/ceph/
H A Daddr.c930 pgoff_t index, start_index, end = -1; local
964 start_index = wbc->range_cyclic ? mapping->writeback_index : 0;
965 index = start_index;
988 index = start_index;
1357 end = start_index - 1; /* OK even when start_index == 0 */
1362 start_index == 0 && /* all dirty pages were checked */
1383 start_index = 0;
/linux-master/net/tipc/
H A Dlink.c263 struct tipc_link *l, u8 start_index);
1455 struct tipc_link *l, u8 start_index)
1457 struct tipc_gap_ack *gacks = &ga->gacks[start_index];
1557 u16 si = (last_ga) ? last_ga->start_index : 0;
1573 this_ga->start_index = 0;
1674 last_ga->start_index = si;
1454 __tipc_build_gap_ack_blks(struct tipc_gap_ack_blks *ga, struct tipc_link *l, u8 start_index) argument
/linux-master/drivers/video/fbdev/via/
H A Dhw.c973 int start_index, end_index, cr_index; local
979 start_index = reg[i].start_bit;
984 for (j = start_index; j <= end_index; j++) {
989 data | ((get_bit >> shift_next_reg) << start_index);
/linux-master/fs/bcachefs/
H A Dfs-io-pagecache.c675 pgoff_t start_index = start_offset >> PAGE_SHIFT; local
677 pgoff_t index = start_index;
/linux-master/drivers/gpu/drm/amd/display/dc/hwss/dce110/
H A Ddce110_hwseq.c451 uint32_t i, j, k, seg_distr[NUMBER_REGIONS], increment, start_index, hw_points; local
508 start_index = (region_start + k + MAX_LOW_POINT) *
510 for (i = start_index; i < start_index + NUMBER_SW_SEGMENTS;
522 start_index = (region_end + MAX_LOW_POINT) * NUMBER_SW_SEGMENTS;
523 rgb_resulted[hw_points - 1].red = output_tf->tf_pts.red[start_index];
524 rgb_resulted[hw_points - 1].green = output_tf->tf_pts.green[start_index];
525 rgb_resulted[hw_points - 1].blue = output_tf->tf_pts.blue[start_index];
/linux-master/drivers/gpu/drm/amd/display/modules/color/
H A Dcolor_gamma.c849 uint32_t i, start_index; local
867 start_index = 32;
868 rgb += start_index;
869 coord_x += start_index;
871 for (i = start_index; i <= hw_points_num; i++) {
/linux-master/drivers/net/ethernet/chelsio/cxgb4/
H A Dcxgb4.h2087 u32 start_index, bool sleep_ok);
2089 u32 start_index, bool sleep_ok);
2091 u32 start_index, bool sleep_ok);

Completed in 299 milliseconds

123