Searched refs:ix (Results 1 - 25 of 92) sorted by last modified time

1234

/linux-master/drivers/net/ethernet/mellanox/mlx5/core/
H A Deswitch_offloads.c1641 int *ix)
1666 MLX5_SET(create_flow_group_in, flow_group_in, end_flow_index, *ix + count - 1);
1667 *ix += count;
1685 int *ix)
1708 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, *ix);
1710 end_flow_index, *ix + esw->total_vports - 1);
1711 *ix += esw->total_vports;
1732 int *ix)
1759 MLX5_SET(create_flow_group_in, flow_group_in, start_flow_index, *ix);
1761 *ix
1638 esw_create_send_to_vport_group(struct mlx5_eswitch *esw, struct mlx5_flow_table *fdb, u32 *flow_group_in, int *ix) argument
1682 esw_create_meta_send_to_vport_group(struct mlx5_eswitch *esw, struct mlx5_flow_table *fdb, u32 *flow_group_in, int *ix) argument
1729 esw_create_peer_esw_miss_group(struct mlx5_eswitch *esw, struct mlx5_flow_table *fdb, u32 *flow_group_in, int *ix) argument
1777 esw_create_miss_group(struct mlx5_eswitch *esw, struct mlx5_flow_table *fdb, u32 *flow_group_in, int *ix) argument
1829 int table_size, ix = 0, err = 0; local
[all...]
H A Den_main.c720 rq->ix = c->ix;
726 rq->stats = &c->priv->channel_stats[c->ix]->rq;
732 return __xdp_rxq_info_reg(&rq->xdp_rxq, rq->netdev, rq->ix, c->napi.napi_id,
1191 rq->ix, rq->rqn, mlx5e_rqwq_get_cur_sz(rq), min_wqes);
1438 &c->priv->channel_stats[c->ix]->xsksq :
1440 &c->priv->channel_stats[c->ix]->xdpsq :
1441 &c->priv->channel_stats[c->ix]->rq_xdpsq;
1600 sq->ch_ix = c->ix;
2048 param->eq_ix = ccp->ix;
2483 mlx5e_enumerate_lag_port(struct mlx5_core_dev *mdev, int ix) argument
2490 mlx5e_channel_stats_alloc(struct mlx5e_priv *priv, int ix, int cpu) argument
2528 mlx5e_open_channel(struct mlx5e_priv *priv, int ix, struct mlx5e_params *params, struct mlx5e_channel_param *cparam, struct xsk_buff_pool *xsk_pool, struct mlx5e_channel **cp) argument
2956 int ix; local
4261 u16 ix; local
[all...]
H A Den_arfs.c258 int ix = 0; local
317 MLX5_SET_CFG(in, start_flow_index, ix);
318 ix += MLX5E_ARFS_GROUP1_SIZE;
319 MLX5_SET_CFG(in, end_flow_index, ix - 1);
326 MLX5_SET_CFG(in, start_flow_index, ix);
327 ix += MLX5E_ARFS_GROUP2_SIZE;
328 MLX5_SET_CFG(in, end_flow_index, ix - 1);
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dqos.c59 int ix; local
61 ix = qid % params->num_channels;
63 c = priv->channels.c[ix];
76 int txq_ix, ix, qid, err = 0; local
112 ix = node_qid % params->num_channels;
114 c = chs->c[ix];
212 int ix; local
216 ix = qid % params->num_channels;
218 c = priv->channels.c[ix];
335 u16 qid = params->num_channels * i + c->ix;
[all...]
H A Drqt.c118 unsigned int ix = i; local
121 ix = mlx5e_bits_invert(ix, ilog2(indir->actual_table_size));
123 ix = indir->table[ix];
125 if (WARN_ON(ix >= num_rqns))
130 rss_rqns[i] = rqns[ix];
132 rss_vhca_ids[i] = vhca_ids[ix];
/linux-master/fs/smb/client/
H A Dfile.c3474 unsigned int nbv = iter->nr_segs, ix = 0, nsegs = 0; local
3481 while (n && ix < nbv && skip) {
3482 len = bvecs[ix].bv_len;
3487 ix++;
3490 while (n && ix < nbv) {
3491 len = min3(n, bvecs[ix].bv_len - skip, max_size);
3495 ix++;
/linux-master/scripts/
H A Dkernel-doc1897 for (my $ix = 0; $ix < $len; $ix++) {
1898 if (substr($prototype, $ix, 1) eq ',') {
1901 substr($prototype, $ix, 1) = ' ';
/linux-master/drivers/s390/char/
H A Dcon3215.c175 int len, count, ix, lines; local
200 ix = req->start;
201 while (lines < RAW3215_MAX_NEWLINE && ix != raw->head) {
202 if (raw->buffer[ix] == 0x15)
204 ix = (ix + 1) & (RAW3215_BUFFER_SIZE - 1);
206 len = ((ix - 1 - req->start) & (RAW3215_BUFFER_SIZE - 1)) + 1;
213 req->delayable = (ix == raw->head) && (len < RAW3215_MIN_WRITE);
215 ix = req->start;
221 ccw->cda = virt_to_dma32(raw->buffer + ix);
[all...]
/linux-master/fs/afs/
H A Ddir.c460 unsigned int ix = offset + tmp; local
461 if (!(block->hdr.bitmap[ix / 8] & (1 << (ix % 8)))) {
/linux-master/fs/ext4/
H A Dextents.c780 struct ext4_extent_idx *chix, *ix; local
783 chix = ix = EXT_FIRST_INDEX(eh);
784 for (k = 0; k < le16_to_cpu(eh->eh_entries); k++, ix++) {
785 if (k != 0 && le32_to_cpu(ix->ei_block) <=
786 le32_to_cpu(ix[-1].ei_block)) {
787 printk(KERN_DEBUG "k=%d, ix=0x%p, "
789 ix, EXT_FIRST_INDEX(eh));
791 le32_to_cpu(ix->ei_block),
792 le32_to_cpu(ix[-1].ei_block));
794 BUG_ON(k && le32_to_cpu(ix
978 struct ext4_extent_idx *ix; local
1474 struct ext4_extent_idx *ix; local
1541 struct ext4_extent_idx *ix; local
[all...]
/linux-master/drivers/vfio/pci/mlx5/
H A Dcmd.c1250 unsigned int ix; local
1253 ix = qp->rq.pc & (qp->rq.wqe_cnt - 1);
1254 data = mlx5_frag_buf_get_wqe(&qp->rq.fbc, ix);
1648 int ix; local
1653 ix = be16_to_cpu(cqe->wqe_counter) & (qp->rq.wqe_cnt - 1);
1658 set_report_output(size, ix, qp, dirty);
1660 qp->recv_buf.next_rq_offset = ix * qp->max_msg_size;
/linux-master/drivers/scsi/mpt3sas/
H A Dmpt3sas_base.c5527 int ix; local
5561 for (ix = 0; ix < bios_pg4->NumPhys; ix++) {
5563 temp.b[7] += ix;
5564 bios_pg4->Phy[ix].ReassignmentWWID = temp.q;
5565 bios_pg4->Phy[ix].ReassignmentDeviceName = bias.q;
/linux-master/drivers/hwmon/
H A Damc6821.c271 int ix = to_sensor_dev_attr(devattr)->index; local
273 return sprintf(buf, "%d\n", data->temp[ix] * 1000);
281 int ix = to_sensor_dev_attr(attr)->index; local
290 data->temp[ix] = val;
291 if (i2c_smbus_write_byte_data(client, temp_reg[ix], data->temp[ix])) {
303 int ix = to_sensor_dev_attr(devattr)->index; local
306 switch (ix) {
326 dev_dbg(dev, "Unknown attr->index (%d).\n", ix);
436 int ix local
456 int ix = to_sensor_dev_attr(devattr)->index; local
489 int ix = to_sensor_dev_attr_2(attr)->index; local
596 int ix = to_sensor_dev_attr(devattr)->index; local
618 int ix = to_sensor_dev_attr(attr)->index; local
[all...]
/linux-master/drivers/gpu/drm/radeon/
H A Dtrinity_dpm.c541 u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; local
548 value = RREG32_SMC(SMU_SCLK_DPM_STATE_0_CNTL_0 + ix);
551 WREG32_SMC(SMU_SCLK_DPM_STATE_0_CNTL_0 + ix, value);
558 value = RREG32_SMC(SMU_SCLK_DPM_STATE_0_PG_CNTL + ix);
561 WREG32_SMC(SMU_SCLK_DPM_STATE_0_PG_CNTL + ix, value);
568 u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; local
570 value = RREG32_SMC(SMU_SCLK_DPM_STATE_0_CNTL_1 + ix);
573 WREG32_SMC(SMU_SCLK_DPM_STATE_0_CNTL_1 + ix, value);
580 u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; local
582 value = RREG32_SMC(SMU_SCLK_DPM_STATE_0_CNTL_1 + ix);
593 u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; local
610 u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; local
622 u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; local
634 u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; local
646 u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; local
658 u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; local
689 u32 ix = index * TRINITY_SIZEOF_DPM_STATE_TABLE; local
[all...]
H A Dr600_dpm.c531 u32 ix = 3 - (3 & index); local
533 WREG32(CTXSW_VID_LOWER_GPIO_CNTL + (ix * 4), pins & 0xffffffff);
535 mask = 7 << (3 * ix);
537 tmp = (tmp & ~mask) | ((pins >> (32 - (3 * ix))) & mask);
562 u32 ix = 3 - (3 & index); local
565 WREG32_P(CTXSW_PROFILE_INDEX + (ix * 4), CTXSW_FREQ_STATE_ENABLE,
568 WREG32_P(CTXSW_PROFILE_INDEX + (ix * 4), 0,
575 u32 ix = 3 - (3 & index); local
577 WREG32_P(CTXSW_PROFILE_INDEX + (ix * 4),
584 u32 ix local
593 u32 ix = 3 - (3 & index); local
603 u32 ix = 3 - (3 & index); local
614 u32 ix = 3 - (3 & index); local
[all...]
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dppatomfwctrl.c498 uint32_t ix; local
505 ix = GetIndexIntoMasterCmdTable(getsmuclockinfo);
508 adev->mode_info.atom_context, ix, (uint32_t *)&parameters, sizeof(parameters)))
592 uint16_t ix; local
594 ix = GetIndexIntoMasterDataTable(firmwareinfo);
597 ix, NULL, NULL, NULL);
624 uint16_t ix; local
626 ix = GetIndexIntoMasterDataTable(smc_dpm_info);
629 ix, NULL, NULL, NULL);
H A Dppatomctrl.c1542 int ix; local
1549 ix = GetIndexIntoMasterTable(DATA, ASIC_ProfilingInfo);
1553 ix,
/linux-master/drivers/gpu/drm/amd/include/
H A Dcgs_common.h134 cgs_write_ind_register(device, space, ix##reg, (cgs_read_ind_register(device, space, ix##reg) & ~CGS_REG_FIELD_MASK(reg, field)) | (val) << CGS_REG_FIELD_SHIFT(reg, field))
/linux-master/drivers/gpu/drm/amd/display/dc/dml/dcn30/
H A Ddisplay_mode_vba_30.c687 unsigned int pixelsPerClock, lstall, D, initalXmitDelay, w, s, ix, wx, P, l0, a, ax, L, local
721 ix = initalXmitDelay + 45;
724 l0 = ix / w;
725 a = ix + P * l0;
728 if ((ix % w) == 0 && P != 0)
/linux-master/drivers/gpu/drm/amd/display/dc/dce/
H A Ddce_audio.c47 ix ## reg
/linux-master/io_uring/
H A Dxattr.c27 struct io_xattr *ix = io_kiocb_to_cmd(req, struct io_xattr); local
29 if (ix->filename)
30 putname(ix->filename);
32 kfree(ix->ctx.kname);
33 kvfree(ix->ctx.kvalue);
47 struct io_xattr *ix = io_kiocb_to_cmd(req, struct io_xattr); local
54 ix->filename = NULL;
55 ix->ctx.kvalue = NULL;
57 ix->ctx.cvalue = u64_to_user_ptr(READ_ONCE(sqe->addr2));
58 ix
89 struct io_xattr *ix = io_kiocb_to_cmd(req, struct io_xattr); local
110 struct io_xattr *ix = io_kiocb_to_cmd(req, struct io_xattr); local
125 struct io_xattr *ix = io_kiocb_to_cmd(req, struct io_xattr); local
151 struct io_xattr *ix = io_kiocb_to_cmd(req, struct io_xattr); local
182 struct io_xattr *ix = io_kiocb_to_cmd(req, struct io_xattr); local
209 struct io_xattr *ix = io_kiocb_to_cmd(req, struct io_xattr); local
234 struct io_xattr *ix = io_kiocb_to_cmd(req, struct io_xattr); local
[all...]
/linux-master/include/linux/mlx5/
H A Ddriver.h965 u32 ix)
969 ix += fbc->strides_offset;
970 frag = ix >> fbc->log_frag_strides;
972 return fbc->frags[frag].buf + ((fbc->frag_sz_m1 & ix) << fbc->log_stride);
976 mlx5_frag_buf_get_idx_last_contig_stride(struct mlx5_frag_buf_ctrl *fbc, u32 ix) argument
978 u32 last_frag_stride_idx = (ix + fbc->strides_offset) | fbc->frag_sz_m1;
964 mlx5_frag_buf_get_wqe(struct mlx5_frag_buf_ctrl *fbc, u32 ix) argument
/linux-master/fs/qnx4/
H A Dinode.c86 int ix; local
100 ix = 0;
102 if ( ix == 0 ) {
115 block = try_extent(&xblk->xblk_xtnts[ix], &offset);
120 if ( ++ix >= xblk->xblk_num_xtnts ) {
122 ix = 0;
/linux-master/drivers/net/wireless/microchip/wilc1000/
H A Dspi.c422 int ix, nbytes; local
430 ix = 0;
437 if (ix == 0)
459 if (wilc_spi_tx(wilc, &b[ix], nbytes)) {
470 crc_calc = crc_itu_t(0xffff, &b[ix], nbytes);
483 ix += nbytes;
677 int retry, ix = 0; local
766 if (wilc_spi_rx(wilc, &b[ix], nbytes)) {
782 crc_calc = crc_itu_t(0xffff, &b[ix], nbytes);
791 ix
[all...]
/linux-master/drivers/net/ethernet/mellanox/mlx5/core/en/xsk/
H A Dsetup.c75 rq->ix = c->ix;
81 rq->stats = &c->priv->channel_stats[c->ix]->xskrq;
83 rq_xdp_ix = c->ix;

Completed in 750 milliseconds

1234