Home
last modified time | relevance | path

Searched refs:ix (Results 51 – 75 of 124) sorted by relevance

12345

/openbmc/linux/fs/qnx4/
H A Dinode.c80 int ix; in qnx4_block_map() local
94 ix = 0; in qnx4_block_map()
96 if ( ix == 0 ) { in qnx4_block_map()
109 block = try_extent(&xblk->xblk_xtnts[ix], &offset); in qnx4_block_map()
114 if ( ++ix >= xblk->xblk_num_xtnts ) { in qnx4_block_map()
116 ix = 0; in qnx4_block_map()
/openbmc/linux/drivers/usb/core/
H A Ddevices.c134 int ix; in class_decode() local
136 for (ix = 0; clas_info[ix].class != -1; ix++) in class_decode()
137 if (clas_info[ix].class == class) in class_decode()
139 return clas_info[ix].class_name; in class_decode()
/openbmc/linux/lib/
H A Dkunit_iov_iter.c570 int ix; in iov_kunit_extract_pages_kvec() local
579 ix = from / PAGE_SIZE; in iov_kunit_extract_pages_kvec()
580 KUNIT_ASSERT_LT(test, ix, npages); in iov_kunit_extract_pages_kvec()
581 p = bpages[ix]; in iov_kunit_extract_pages_kvec()
648 int ix; in iov_kunit_extract_pages_bvec() local
657 ix = pr->page + from / PAGE_SIZE; in iov_kunit_extract_pages_bvec()
658 KUNIT_ASSERT_LT(test, ix, npages); in iov_kunit_extract_pages_bvec()
659 p = bpages[ix]; in iov_kunit_extract_pages_bvec()
730 int ix; in iov_kunit_extract_pages_xarray() local
733 ix = from / PAGE_SIZE; in iov_kunit_extract_pages_xarray()
[all …]
/openbmc/linux/drivers/net/ethernet/mscc/
H A Docelot_vcap.c56 u16 ix, int cmd, int sel) in vcap_cmd() argument
174 struct vcap_data *data, int ix) in vcap_data_offset_get() argument
194 col = (ix % num_entries_per_row); in vcap_data_offset_get()
353 int row = (ix / 2); in is2_entry_set()
364 vcap_data_offset_get(vcap, &data, ix); in is2_entry_set()
675 int row = ix / 2; in is1_entry_set()
687 vcap_data_offset_get(vcap, &data, ix); in is1_entry_set()
814 int row = ix; in es0_entry_set()
825 vcap_data_offset_get(vcap, &data, ix); in es0_entry_set()
865 row = (ix / count); in vcap_entry_get()
[all …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/lib/
H A Dmacsec_fs.c269 int ix = 0; in macsec_fs_tx_create_crypto_table_groups() local
291 MLX5_SET_CFG(in, start_flow_index, ix); in macsec_fs_tx_create_crypto_table_groups()
292 ix += TX_CRYPTO_TABLE_MKE_GROUP_SIZE; in macsec_fs_tx_create_crypto_table_groups()
293 MLX5_SET_CFG(in, end_flow_index, ix - 1); in macsec_fs_tx_create_crypto_table_groups()
306 MLX5_SET_CFG(in, start_flow_index, ix); in macsec_fs_tx_create_crypto_table_groups()
307 ix += TX_CRYPTO_TABLE_SA_GROUP_SIZE; in macsec_fs_tx_create_crypto_table_groups()
317 MLX5_SET_CFG(in, start_flow_index, ix); in macsec_fs_tx_create_crypto_table_groups()
1057 int ix = 0; in macsec_fs_rx_create_crypto_table_groups() local
1272 int ix = 0; in macsec_fs_rx_roce_jump_to_rdma_groups_create() local
1288 ix += MLX5_RX_ROCE_GROUP_SIZE; in macsec_fs_rx_roce_jump_to_rdma_groups_create()
[all …]
/openbmc/linux/drivers/iio/chemical/
H A Dsgp30.c415 u16 ix, num_fs; in sgp_check_compat() local
455 for (ix = 0; ix < num_fs; ix++) { in sgp_check_compat()
456 if (major == supported_versions[ix].major && in sgp_check_compat()
457 minor >= supported_versions[ix].minor) in sgp_check_compat()
/openbmc/linux/drivers/gpu/drm/amd/display/dc/dml/
H A Ddml_inline_defs.h95 unsigned long long ix = *((unsigned long long *)&x); in dml_log2() local
97 return (int)((ix >> 52) & 0x7ff) - 1023; in dml_log2()
/openbmc/linux/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dppatomfwctrl.c498 uint32_t ix; in pp_atomfwctrl_get_clk_information_by_clkid() local
505 ix = GetIndexIntoMasterCmdTable(getsmuclockinfo); in pp_atomfwctrl_get_clk_information_by_clkid()
508 adev->mode_info.atom_context, ix, (uint32_t *)&parameters)) in pp_atomfwctrl_get_clk_information_by_clkid()
592 uint16_t ix; in pp_atomfwctrl_get_vbios_bootup_values() local
594 ix = GetIndexIntoMasterDataTable(firmwareinfo); in pp_atomfwctrl_get_vbios_bootup_values()
597 ix, NULL, NULL, NULL); in pp_atomfwctrl_get_vbios_bootup_values()
624 uint16_t ix; in pp_atomfwctrl_get_smc_dpm_information() local
626 ix = GetIndexIntoMasterDataTable(smc_dpm_info); in pp_atomfwctrl_get_smc_dpm_information()
629 ix, NULL, NULL, NULL); in pp_atomfwctrl_get_smc_dpm_information()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Drx_res.h33 u32 mlx5e_rx_res_get_tirn_direct(struct mlx5e_rx_res *res, unsigned int ix);
42 unsigned int ix, bool xsk);
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dr600_dpm.c533 u32 ix = 3 - (3 & index); in r600_voltage_control_program_voltages() local
537 mask = 7 << (3 * ix); in r600_voltage_control_program_voltages()
564 u32 ix = 3 - (3 & index); in r600_power_level_enable() local
577 u32 ix = 3 - (3 & index); in r600_power_level_set_voltage_index() local
579 WREG32_P(CTXSW_PROFILE_INDEX + (ix * 4), in r600_power_level_set_voltage_index()
586 u32 ix = 3 - (3 & index); in r600_power_level_set_mem_clock_index() local
588 WREG32_P(CTXSW_PROFILE_INDEX + (ix * 4), in r600_power_level_set_mem_clock_index()
595 u32 ix = 3 - (3 & index); in r600_power_level_set_eng_clock_index() local
597 WREG32_P(CTXSW_PROFILE_INDEX + (ix * 4), in r600_power_level_set_eng_clock_index()
605 u32 ix = 3 - (3 & index); in r600_power_level_set_watermark_id() local
[all …]
/openbmc/linux/include/linux/
H A Ddim.h284 struct dim_cq_moder net_dim_get_rx_moderation(u8 cq_period_mode, int ix);
297 struct dim_cq_moder net_dim_get_tx_moderation(u8 cq_period_mode, int ix);
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Dwq.c74 void mlx5_wq_cyc_wqe_dump(struct mlx5_wq_cyc *wq, u16 ix, u8 nstrides) in mlx5_wq_cyc_wqe_dump() argument
85 wqe = mlx5_wq_cyc_get_wqe(wq, ix); in mlx5_wq_cyc_wqe_dump()
88 mlx5_wq_cyc_get_size(wq), wq->cur_sz, ix, len); in mlx5_wq_cyc_wqe_dump()
H A Den_arfs.c257 int ix = 0; in arfs_create_groups() local
316 MLX5_SET_CFG(in, start_flow_index, ix); in arfs_create_groups()
317 ix += MLX5E_ARFS_GROUP1_SIZE; in arfs_create_groups()
318 MLX5_SET_CFG(in, end_flow_index, ix - 1); in arfs_create_groups()
325 MLX5_SET_CFG(in, start_flow_index, ix); in arfs_create_groups()
326 ix += MLX5E_ARFS_GROUP2_SIZE; in arfs_create_groups()
327 MLX5_SET_CFG(in, end_flow_index, ix - 1); in arfs_create_groups()
H A Den_rx.c344 u16 ix) in mlx5e_alloc_rx_wqe() argument
346 struct mlx5e_wqe_frag_info *frag = get_frag(rq, ix); in mlx5e_alloc_rx_wqe()
391 struct mlx5e_wqe_frag_info *wi = get_frag(rq, ix); in mlx5e_dealloc_rx_wqe()
413 int j = mlx5_wq_cyc_ctr2ix(wq, ix + i); in mlx5e_xsk_free_rx_wqes()
431 int j = mlx5_wq_cyc_ctr2ix(wq, ix + i); in mlx5e_free_rx_wqes()
445 int j = mlx5_wq_cyc_ctr2ix(wq, ix + i); in mlx5e_alloc_rx_wqes()
471 mlx5e_free_rx_wqes(rq, ix + total_alloc, refill); in mlx5e_refill_rx_wqes()
486 int j = mlx5_wq_cyc_ctr2ix(&rq->wqe.wq, ix + i); in mlx5e_refill_rx_wqes()
1583 skb_record_rx_queue(skb, rq->ix); in mlx5e_build_rx_skb()
2591 stats = &priv->channel_stats[rq->ix]->rq; in mlx5i_complete_rx_cqe()
[all …]
H A Den_main.c656 rq->ix = c->ix; in mlx5e_init_rxq_rq()
1523 sq->ch_ix = c->ix; in mlx5e_alloc_txqsq()
1967 param->eq_ix = ccp->ix; in mlx5e_alloc_cq()
2408 if (ix > priv->stats_nch) { in mlx5e_channel_stats_alloc()
2414 if (priv->channel_stats[ix]) in mlx5e_channel_stats_alloc()
2423 if (!priv->channel_stats[ix]) in mlx5e_channel_stats_alloc()
2472 c->ix = ix; in mlx5e_open_channel()
2860 int num_comp_vectors, ix, irq; in mlx5e_set_default_xps_cpumasks() local
2864 for (ix = 0; ix < params->num_channels; ix++) { in mlx5e_set_default_xps_cpumasks()
4227 u16 ix; in mlx5e_xsk_validate_mtu() local
[all …]
/openbmc/linux/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) & ~C…
/openbmc/linux/drivers/net/wireless/microchip/wilc1000/
H A Dspi.c404 int ix, nbytes; in spi_data_write() local
412 ix = 0; in spi_data_write()
419 if (ix == 0) in spi_data_write()
441 if (wilc_spi_tx(wilc, &b[ix], nbytes)) { in spi_data_write()
452 crc_calc = crc_itu_t(0xffff, &b[ix], nbytes); in spi_data_write()
465 ix += nbytes; in spi_data_write()
659 int retry, ix = 0; in wilc_spi_dma_rw() local
748 if (wilc_spi_rx(wilc, &b[ix], nbytes)) { in wilc_spi_dma_rw()
764 crc_calc = crc_itu_t(0xffff, &b[ix], nbytes); in wilc_spi_dma_rw()
773 ix += nbytes; in wilc_spi_dma_rw()
/openbmc/openbmc-test-automation/lib/
H A Dprint.tcl722 for {set ix [expr [info level]-1]} {$ix > 0} {incr ix -1} {
723 set frame_dict [info frame $ix]
H A Dgen_call_robot.py291 ix = 2
295 var_name = gp.get_arg_name(None, ix, stack_frame)
302 ix += 1
/openbmc/linux/fs/hpfs/
H A Dhpfs.h210 __le16 ix; /* index */ member
236 __le16 ix; /* index */ member
357 u8 ix; /* code page index (of filename), see member
/openbmc/linux/fs/ext4/
H A Dextents.c798 chix = ix; in ext4_ext_binsearch_idx()
1005 ix = curp->p_idx + 1; in ext4_ext_insert_index()
1010 ix = curp->p_idx; in ext4_ext_insert_index()
1023 logical, len, ix, ix + 1); in ext4_ext_insert_index()
1024 memmove(ix + 1, ix, len * sizeof(struct ext4_extent_idx)); in ext4_ext_insert_index()
1502 ix = path[depth].p_idx; in ext4_ext_search_left()
1506 ix != NULL ? le32_to_cpu(ix->ei_block) : 0, in ext4_ext_search_left()
1570 ix = path[depth].p_idx; in ext4_ext_search_right()
1596 ix = path[depth].p_idx; in ext4_ext_search_right()
1608 ix++; in ext4_ext_search_right()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/util-linux/util-linux/
H A Dfcntl-lock.c135 int opt, ix; in main() local
153 while ( (opt = getopt_long(argc, argv, "+sexnouw:hV?", long_options, &ix)) != EOF ) { in main()
/openbmc/linux/drivers/net/wireless/ath/ath9k/
H A Dar9003_calib.c1008 int im, ix, iy; in __ar955x_tx_iq_cal_sort() local
1011 for (ix = 0; ix < MAXIQCAL - 1; ix++) { in __ar955x_tx_iq_cal_sort()
1012 for (iy = ix + 1; iy <= MAXIQCAL - 1; iy++) { in __ar955x_tx_iq_cal_sort()
1014 coeff->mag_coeff[i][im][ix]) { in __ar955x_tx_iq_cal_sort()
1015 swap(coeff->mag_coeff[i][im][ix], in __ar955x_tx_iq_cal_sort()
1019 coeff->phs_coeff[i][im][ix]) { in __ar955x_tx_iq_cal_sort()
1020 swap(coeff->phs_coeff[i][im][ix], in __ar955x_tx_iq_cal_sort()
/openbmc/linux/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddss.c453 int b, ix, pos; in dss_select_lcd_clk_source() local
482 ix = channel == OMAP_DSS_CHANNEL_LCD ? 0 : in dss_select_lcd_clk_source()
484 dss.lcd_clk_source[ix] = clk_src; in dss_select_lcd_clk_source()
500 int ix = channel == OMAP_DSS_CHANNEL_LCD ? 0 : in dss_get_lcd_clk_source() local
502 return dss.lcd_clk_source[ix]; in dss_get_lcd_clk_source()
/openbmc/linux/drivers/media/pci/bt8xx/
H A Dbttv-cards.c4527 int ix; in kodicom4400r_init() local
4533 for (ix = 0; ix < 4; ix++) { in kodicom4400r_init()
4534 btv->sw_status[ix] = ix; in kodicom4400r_init()
4535 kodicom4400r_write(btv, ix, ix, 1); in kodicom4400r_init()
4837 int ix; in gv800s_init() local
4844 for (ix = 0; ix < 4; ix++) { in gv800s_init()
4845 btv->sw_status[ix] = ix; in gv800s_init()
4846 gv800s_write(btv, ix, ix, 1); in gv800s_init()

12345