| /linux-6.15/drivers/power/supply/ |
| H A D | generic-adc-battery.c | 207 int index2; in gab_probe() local 209 for (index2 = 0; index2 < index; index2++) { in gab_probe() 210 if (properties[index2] == gab_dyn_props[chan]) in gab_probe() 213 if (index2 == index) /* really new */ in gab_probe()
|
| /linux-6.15/drivers/macintosh/ |
| H A D | windfarm_smu_sat.c | 43 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-6.15/drivers/gpu/drm/amd/display/dc/core/ |
| H A D | dc_stream.c | 852 int index2, in dc_stream_get_brightness_millinits_linear_interpolation() argument 856 if (stream->lumin_data.refresh_rate_hz[index2] != stream->lumin_data.refresh_rate_hz[index1]) { in dc_stream_get_brightness_millinits_linear_interpolation() 857 …slope = (stream->lumin_data.luminance_millinits[index2] - stream->lumin_data.luminance_millinits[i… in dc_stream_get_brightness_millinits_linear_interpolation() 858 (stream->lumin_data.refresh_rate_hz[index2] - stream->lumin_data.refresh_rate_hz[index1]); in dc_stream_get_brightness_millinits_linear_interpolation() 861 …rcept = stream->lumin_data.luminance_millinits[index2] - slope * stream->lumin_data.refresh_rate_h… in dc_stream_get_brightness_millinits_linear_interpolation() 871 int index2, in dc_stream_get_refresh_hz_linear_interpolation() argument 875 if (stream->lumin_data.refresh_rate_hz[index2] != stream->lumin_data.refresh_rate_hz[index1]) { in dc_stream_get_refresh_hz_linear_interpolation() 876 …slope = (stream->lumin_data.luminance_millinits[index2] - stream->lumin_data.luminance_millinits[i… in dc_stream_get_refresh_hz_linear_interpolation() 877 (stream->lumin_data.refresh_rate_hz[index2] - stream->lumin_data.refresh_rate_hz[index1]); in dc_stream_get_refresh_hz_linear_interpolation() 880 …rcept = stream->lumin_data.luminance_millinits[index2] - slope * stream->lumin_data.refresh_rate_h… in dc_stream_get_refresh_hz_linear_interpolation()
|
| /linux-6.15/drivers/staging/media/atomisp/pci/hmm/ |
| H A D | hmm.c | 47 int index2 = 0; in bo_show() local 73 ret = scnprintf(buf + index1 + index2, in bo_show() 74 PAGE_SIZE - index1 - index2, in bo_show() 79 index2 += ret; in bo_show() 84 return index1 + index2 + 1; in bo_show()
|
| /linux-6.15/drivers/misc/altera-stapl/ |
| H A D | altera.c | 249 u32 index2; in altera_execute() local 1730 index2 = copy_index2; in altera_execute() 1794 index2 += (count - 1); in altera_execute() 1800 (1 << (index2 & 7)); 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 2021 index2 = mask_index; in altera_execute() 2041 (1 << (index2 & 7)) in altera_execute() [all …]
|
| /linux-6.15/lib/842/ |
| H A D | 842_compress.c | 100 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-6.15/include/linux/ |
| H A D | packing.h | 37 #define CHECK_PACKED_FIELD_OVERLAP(fields, index1, index2) ({ \ argument 39 typeof(__f[0]) _f1 = __f[index1]; typeof(__f[0]) _f2 = __f[index2]; \ 42 __stringify(fields) " field " __stringify(index2) \ 45 __stringify(fields) " field " __stringify(index2) \ 49 __stringify(fields) " field " __stringify(index2) \
|
| /linux-6.15/include/linux/mlx5/ |
| H A D | rsc_dump.h | 38 int index2; member
|
| H A D | mlx5_ifc.h | 2498 u8 index2[0x20]; member 2552 u8 index2[0x20]; member 2596 u8 index2[0x20]; member
|
| /linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/diag/ |
| H A D | rsc_dump.c | 147 MLX5_SET(resource_dump, cmd->cmd, index2, key->index2); in mlx5_rsc_dump_cmd_create()
|
| /linux-6.15/drivers/usb/gadget/function/ |
| H A D | f_ncm.c | 1171 unsigned index, index2; in ncm_unwrap_ntb() local 1266 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb() 1271 index = index2; in ncm_unwrap_ntb() 1307 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb() 1311 if (index2 > block_len - opts->dpe_size) { in ncm_unwrap_ntb() 1313 "Bad index: %#X\n", index2); in ncm_unwrap_ntb() 1333 if (index2 == 0 || dg_len2 == 0) in ncm_unwrap_ntb()
|
| /linux-6.15/fs/ext4/ |
| H A D | move_extent.c | 123 pgoff_t index1, pgoff_t index2, struct folio *folio[2]) in mext_folio_double_lock() argument 133 swap(index1, index2); in mext_folio_double_lock() 146 folio[1] = __filemap_get_folio(mapping[1], index2, FGP_WRITEBEGIN, in mext_folio_double_lock()
|
| /linux-6.15/fs/xfs/libxfs/ |
| H A D | xfs_attr_leaf.c | 1537 (args->index2 <= args->index)) { in xfs_attr3_leaf_add_work() 1538 args->index2++; in xfs_attr3_leaf_add_work() 1859 args->index = args->index2 = blk2->index; in xfs_attr3_leaf_rebalance() 1865 args->index2 = 0; in xfs_attr3_leaf_rebalance() 1882 args->index2 = blk2->index; in xfs_attr3_leaf_rebalance() 1888 args->index = args->index2 = blk1->index; in xfs_attr3_leaf_rebalance() 2950 entry2 = &xfs_attr3_leaf_entryp(leaf2)[args->index2]; in xfs_attr3_leaf_flipflags() 2958 ASSERT(args->index2 < ichdr2.count); in xfs_attr3_leaf_flipflags() 2959 ASSERT(args->index2 >= 0); in xfs_attr3_leaf_flipflags() 2971 name_loc = xfs_attr3_leaf_name_local(leaf2, args->index2); in xfs_attr3_leaf_flipflags() [all …]
|
| H A D | xfs_da_btree.h | 83 int index2; /* index of 2nd attr in blk */ member
|
| H A D | xfs_attr.c | 445 args->index2 = args->index; in xfs_attr_save_rmt_blk() 460 args->index = args->index2; in xfs_attr_restore_rmt_blk()
|
| /linux-6.15/net/ceph/crush/ |
| H A D | mapper.c | 252 int iexpon, index1, index2; in crush_ln() local 283 index2 = xl64 & 0xff; in crush_ln() 285 LL = __LL_tbl[index2]; in crush_ln()
|
| /linux-6.15/fs/btrfs/ |
| H A D | tree-log.c | 2909 int index2; in btrfs_sync_log() local 3034 index2 = log_root_tree->log_transid % 2; in btrfs_sync_log() 3035 list_add_tail(&root_log_ctx.list, &log_root_tree->log_ctxs[index2]); in btrfs_sync_log() 3065 if (atomic_read(&log_root_tree->log_commit[index2])) { in btrfs_sync_log() 3076 atomic_set(&log_root_tree->log_commit[index2], 1); in btrfs_sync_log() 3078 if (atomic_read(&log_root_tree->log_commit[(index2 + 1) % 2])) { in btrfs_sync_log() 3184 btrfs_remove_all_log_ctxs(log_root_tree, index2, ret); in btrfs_sync_log() 3187 atomic_set(&log_root_tree->log_commit[index2], 0); in btrfs_sync_log() 3195 cond_wake_up(&log_root_tree->log_commit_wait[index2]); in btrfs_sync_log()
|
| /linux-6.15/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
| H A D | phy_lcn.c | 2267 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()
|