Home
last modified time | relevance | path

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

/linux/drivers/power/supply/
A Dgeneric-adc-battery.c292 int index2; in gab_probe() local
294 for (index2 = 0; index2 < index; index2++) { in gab_probe()
295 if (properties[index2] == gab_dyn_props[chan]) in gab_probe()
298 if (index2 == index) /* really new */ in gab_probe()
/linux/drivers/macintosh/
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/misc/altera-stapl/
A Daltera.c249 u32 index2; in altera_execute() local
1754 index2 = copy_index2; in altera_execute()
1818 index2 += (count - 1); in altera_execute()
1824 (1 << (index2 & 7)); in altera_execute()
1827 ~(1 << (index2 & 7)); in altera_execute()
1831 --index2; in altera_execute()
1833 ++index2; in altera_execute()
2014 u32 index2; in altera_execute() local
2045 index2 = mask_index; in altera_execute()
2065 (1 << (index2 & 7)) in altera_execute()
[all …]
/linux/lib/842/
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/drivers/staging/media/atomisp/pci/hmm/
A Dhmm.c64 int index2 = 0; in bo_show() local
90 ret = scnprintf(buf + index1 + index2, in bo_show()
91 PAGE_SIZE - index1 - index2, in bo_show()
96 index2 += ret; in bo_show()
101 return index1 + index2 + 1; in bo_show()
/linux/include/linux/mlx5/
A Drsc_dump.h38 int index2; member
A Dmlx5_ifc.h2060 u8 index2[0x20]; member
2114 u8 index2[0x20]; member
2158 u8 index2[0x20]; member
/linux/drivers/usb/gadget/function/
A Df_ncm.c1177 unsigned index, index2; in ncm_unwrap_ntb() local
1264 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb()
1269 index = index2; in ncm_unwrap_ntb()
1305 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb()
1309 if (index2 > block_len - opts->dpe_size) { in ncm_unwrap_ntb()
1311 "Bad index: %#X\n", index2); in ncm_unwrap_ntb()
1331 if (index2 == 0 || dg_len2 == 0) in ncm_unwrap_ntb()
/linux/drivers/net/ethernet/mellanox/mlx5/core/diag/
A Drsc_dump.c129 MLX5_SET(resource_dump, cmd->cmd, index2, key->index2); in mlx5_rsc_dump_cmd_create()
/linux/fs/ext4/
A Dmove_extent.c127 pgoff_t index1, pgoff_t index2, struct page *page[2]) in mext_page_double_lock() argument
137 swap(index1, index2); in mext_page_double_lock()
146 page[1] = grab_cache_page_write_begin(mapping[1], index2, fl); in mext_page_double_lock()
/linux/fs/xfs/libxfs/
A Dxfs_attr_leaf.c1492 (args->index2 <= args->index)) { in xfs_attr3_leaf_add_work()
1493 args->index2++; in xfs_attr3_leaf_add_work()
1815 args->index = args->index2 = blk2->index; in xfs_attr3_leaf_rebalance()
1821 args->index2 = 0; in xfs_attr3_leaf_rebalance()
1838 args->index2 = blk2->index; in xfs_attr3_leaf_rebalance()
1844 args->index = args->index2 = blk1->index; in xfs_attr3_leaf_rebalance()
2896 entry2 = &xfs_attr3_leaf_entryp(leaf2)[args->index2]; in xfs_attr3_leaf_flipflags()
2904 ASSERT(args->index2 < ichdr2.count); in xfs_attr3_leaf_flipflags()
2905 ASSERT(args->index2 >= 0); in xfs_attr3_leaf_flipflags()
2917 name_loc = xfs_attr3_leaf_name_local(leaf2, args->index2); in xfs_attr3_leaf_flipflags()
[all …]
A Dxfs_da_btree.h75 int index2; /* index of 2nd attr in blk */ member
A Dxfs_attr.c898 args->index2 = args->index; in xfs_attr_save_rmt_blk()
910 args->index = args->index2; in xfs_attr_restore_rmt_blk()
/linux/net/ceph/crush/
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/fs/btrfs/
A Dtree-log.c3112 int index2; in btrfs_sync_log() local
3237 index2 = log_root_tree->log_transid % 2; in btrfs_sync_log()
3238 list_add_tail(&root_log_ctx.list, &log_root_tree->log_ctxs[index2]); in btrfs_sync_log()
3273 index2 = root_log_ctx.log_transid % 2; in btrfs_sync_log()
3274 if (atomic_read(&log_root_tree->log_commit[index2])) { in btrfs_sync_log()
3285 atomic_set(&log_root_tree->log_commit[index2], 1); in btrfs_sync_log()
3287 if (atomic_read(&log_root_tree->log_commit[(index2 + 1) % 2])) { in btrfs_sync_log()
3394 btrfs_remove_all_log_ctxs(log_root_tree, index2, ret); in btrfs_sync_log()
3397 atomic_set(&log_root_tree->log_commit[index2], 0); in btrfs_sync_log()
3405 cond_wake_up(&log_root_tree->log_commit_wait[index2]); in btrfs_sync_log()
/linux/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
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()

Completed in 133 milliseconds