Home
last modified time | relevance | path

Searched refs:index2 (Results 1 – 13 of 13) sorted by relevance

/linux/drivers/macintosh/
H A Dwindfarm_smu_sat.c43 int index2; /* used for power sensors */ member
154 if (sens->index2 >= 0) { in wf_sat_sensor_get()
155 i = sens->index2 * 2; in wf_sat_sensor_get()
271 sens->index2 = -1; in wf_sat_probe()
298 sens->index2 = isens[core]; in wf_sat_probe()
/linux/drivers/gpu/drm/amd/display/dc/core/
H A Ddc_stream.c989 int index2, in dc_stream_get_brightness_millinits_linear_interpolation() argument
993 if (stream->lumin_data.refresh_rate_hz[index2] != stream->lumin_data.refresh_rate_hz[index1]) { in dc_stream_get_brightness_millinits_linear_interpolation()
994 …slope = (stream->lumin_data.luminance_millinits[index2] - stream->lumin_data.luminance_millinits[i… in dc_stream_get_brightness_millinits_linear_interpolation()
995 (stream->lumin_data.refresh_rate_hz[index2] - stream->lumin_data.refresh_rate_hz[index1]); in dc_stream_get_brightness_millinits_linear_interpolation()
998 …rcept = stream->lumin_data.luminance_millinits[index2] - slope * stream->lumin_data.refresh_rate_h… in dc_stream_get_brightness_millinits_linear_interpolation()
1008 int index2, in dc_stream_get_refresh_hz_linear_interpolation() argument
1012 if (stream->lumin_data.refresh_rate_hz[index2] != stream->lumin_data.refresh_rate_hz[index1]) { in dc_stream_get_refresh_hz_linear_interpolation()
1013 …slope = (stream->lumin_data.luminance_millinits[index2] - stream->lumin_data.luminance_millinits[i… in dc_stream_get_refresh_hz_linear_interpolation()
1014 (stream->lumin_data.refresh_rate_hz[index2] - stream->lumin_data.refresh_rate_hz[index1]); in dc_stream_get_refresh_hz_linear_interpolation()
1017 …rcept = stream->lumin_data.luminance_millinits[index2] - slope * stream->lumin_data.refresh_rate_h… in dc_stream_get_refresh_hz_linear_interpolation()
/linux/drivers/misc/altera-stapl/
H A Daltera.c249 u32 index2; in altera_execute() local
1730 index2 = copy_index2; in altera_execute()
1794 index2 += (count - 1); in altera_execute()
1799 charptr_tmp[index2 >> 3] |= in altera_execute()
1800 (1 << (index2 & 7)); in altera_execute()
1802 charptr_tmp[index2 >> 3] &= in altera_execute()
1803 ~(1 << (index2 & 7)); in altera_execute()
1807 --index2; in altera_execute()
1809 ++index2; in altera_execute()
1990 u32 index2; in altera_execute() local
[all …]
/linux/lib/842/
H A D842_compress.c100 int index2[4]; member
267 ret = add_bits(p, p->index2[b >> 1], I2_BITS); in add_template()
449 p->index2[0] = INDEX_NOT_CHECKED; in process_next()
450 p->index2[1] = INDEX_NOT_CHECKED; in process_next()
451 p->index2[2] = INDEX_NOT_CHECKED; in process_next()
452 p->index2[3] = INDEX_NOT_CHECKED; in process_next()
/linux/include/linux/
H A Dpacking.h41 #define CHECK_PACKED_FIELD_OVERLAP(fields, index1, index2) ({ \ argument
43 typeof(__f[0]) _f1 = __f[index1]; typeof(__f[0]) _f2 = __f[index2]; \
46 __stringify(fields) " field " __stringify(index2) \
49 __stringify(fields) " field " __stringify(index2) \
53 __stringify(fields) " field " __stringify(index2) \
/linux/include/linux/mlx5/
H A Drsc_dump.h38 int index2; member
H A Dmlx5_ifc.h2557 u8 index2[0x20]; member
2611 u8 index2[0x20]; member
2655 u8 index2[0x20]; member
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
H A Drsc_dump.c147 MLX5_SET(resource_dump, cmd->cmd, index2, key->index2); in mlx5_rsc_dump_cmd_create()
/linux/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c1524 (args->index2 <= args->index)) { in xfs_attr3_leaf_add_work()
1525 args->index2++; in xfs_attr3_leaf_add_work()
1846 args->index = args->index2 = blk2->index; in xfs_attr3_leaf_rebalance()
1852 args->index2 = 0; in xfs_attr3_leaf_rebalance()
1869 args->index2 = blk2->index; in xfs_attr3_leaf_rebalance()
1875 args->index = args->index2 = blk1->index; in xfs_attr3_leaf_rebalance()
2937 entry2 = &xfs_attr3_leaf_entryp(leaf2)[args->index2]; in xfs_attr3_leaf_flipflags()
2945 ASSERT(args->index2 < ichdr2.count); in xfs_attr3_leaf_flipflags()
2946 ASSERT(args->index2 >= 0); in xfs_attr3_leaf_flipflags()
2958 name_loc = xfs_attr3_leaf_name_local(leaf2, args->index2); in xfs_attr3_leaf_flipflags()
[all …]
H A Dxfs_attr.c445 args->index2 = args->index; in xfs_attr_save_rmt_blk()
460 args->index = args->index2; in xfs_attr_restore_rmt_blk()
/linux/net/ceph/crush/
H A Dmapper.c252 int iexpon, index1, index2; in crush_ln() local
283 index2 = xl64 & 0xff; in crush_ln()
285 LL = __LL_tbl[index2]; in crush_ln()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c2267 u16 index2; in wlc_lcnphy_set_tx_pwr_soft_ctrl() local
2308 index2 = (u16) (index * 2); in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2309 mod_phy_reg(pi, 0x4a9, (0x1ff << 0), (index2) << 0); in wlc_lcnphy_set_tx_pwr_soft_ctrl()
4261 u16 index2; in wlc_lcnphy_tx_power_adjustment() local
4268 index2 = (u16) (index * 2); in wlc_lcnphy_tx_power_adjustment()
4269 mod_phy_reg(pi, 0x4a9, (0x1ff << 0), (index2) << 0); in wlc_lcnphy_tx_power_adjustment()
/linux/fs/btrfs/
H A Dtree-log.c3315 int index2; in btrfs_sync_log() local
3441 index2 = log_root_tree->log_transid % 2; in btrfs_sync_log()
3442 list_add_tail(&root_log_ctx.list, &log_root_tree->log_ctxs[index2]); in btrfs_sync_log()
3472 if (atomic_read(&log_root_tree->log_commit[index2])) { in btrfs_sync_log()
3485 atomic_set(&log_root_tree->log_commit[index2], 1); in btrfs_sync_log()
3487 if (atomic_read(&log_root_tree->log_commit[(index2 + 1) % 2])) { in btrfs_sync_log()
3595 btrfs_remove_all_log_ctxs(log_root_tree, index2, ret); in btrfs_sync_log()
3598 atomic_set(&log_root_tree->log_commit[index2], 0); in btrfs_sync_log()
3606 cond_wake_up(&log_root_tree->log_commit_wait[index2]); in btrfs_sync_log()