Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/power/supply/
Dgeneric-adc-battery.c294 int index2; in gab_probe() local
296 for (index2 = 0; index2 < index; index2++) { in gab_probe()
297 if (psy_desc->properties[index2] == in gab_probe()
301 if (index2 == index) /* really new */ in gab_probe()
/Linux-v4.19/drivers/macintosh/
Dwindfarm_smu_sat.c52 int index2; /* used for power sensors */ member
166 if (sens->index2 >= 0) { in wf_sat_sensor_get()
167 i = sens->index2 * 2; in wf_sat_sensor_get()
285 sens->index2 = -1; in wf_sat_probe()
312 sens->index2 = isens[core]; in wf_sat_probe()
/Linux-v4.19/tools/testing/radix-tree/
Dmain.c243 unsigned long index2; in __locate_check() local
247 index2 = find_item(tree, item); in __locate_check()
248 if (index != index2) { in __locate_check()
250 index, order, index2); in __locate_check()
Dmultiorder.c79 static void __multiorder_tag_test2(unsigned order, unsigned long index2) in __multiorder_tag_test2() argument
83 index2 += index; in __multiorder_tag_test2()
86 assert(item_insert(&tree, index2) == 0); in __multiorder_tag_test2()
89 assert(radix_tree_tag_set(&tree, index2, 0)); in __multiorder_tag_test2()
/Linux-v4.19/drivers/misc/altera-stapl/
Daltera.c263 u32 index2; in altera_execute() local
1768 index2 = copy_index2; in altera_execute()
1832 index2 += (count - 1); in altera_execute()
1837 charptr_tmp[index2 >> 3] |= in altera_execute()
1838 (1 << (index2 & 7)); in altera_execute()
1840 charptr_tmp[index2 >> 3] &= in altera_execute()
1841 ~(1 << (index2 & 7)); in altera_execute()
1845 --index2; in altera_execute()
1847 ++index2; in altera_execute()
2028 u32 index2; in altera_execute() local
[all …]
/Linux-v4.19/lib/842/
D842_compress.c109 int index2[4]; member
276 ret = add_bits(p, p->index2[b >> 1], I2_BITS); in add_template()
458 p->index2[0] = INDEX_NOT_CHECKED; in process_next()
459 p->index2[1] = INDEX_NOT_CHECKED; in process_next()
460 p->index2[2] = INDEX_NOT_CHECKED; in process_next()
461 p->index2[3] = INDEX_NOT_CHECKED; in process_next()
/Linux-v4.19/fs/ext4/
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-v4.19/arch/x86/include/asm/
Dio_apic.h88 index2 : 1, member
/Linux-v4.19/fs/xfs/libxfs/
Dxfs_attr.c562 args->index2 = args->index; in xfs_attr_leaf_addname()
649 args->index = args->index2; in xfs_attr_leaf_addname()
834 args->index2 = args->index; in xfs_attr_node_addname()
942 args->index = args->index2; in xfs_attr_node_addname()
Dxfs_attr_leaf.c1377 (args->index2 <= args->index)) { in xfs_attr3_leaf_add_work()
1378 args->index2++; in xfs_attr3_leaf_add_work()
1698 args->index = args->index2 = blk2->index; in xfs_attr3_leaf_rebalance()
1704 args->index2 = 0; in xfs_attr3_leaf_rebalance()
1721 args->index2 = blk2->index; in xfs_attr3_leaf_rebalance()
1727 args->index = args->index2 = blk1->index; in xfs_attr3_leaf_rebalance()
2809 entry2 = &xfs_attr3_leaf_entryp(leaf2)[args->index2]; in xfs_attr3_leaf_flipflags()
2817 ASSERT(args->index2 < ichdr2.count); in xfs_attr3_leaf_flipflags()
2818 ASSERT(args->index2 >= 0); in xfs_attr3_leaf_flipflags()
2830 name_loc = xfs_attr3_leaf_name_local(leaf2, args->index2); in xfs_attr3_leaf_flipflags()
[all …]
Dxfs_da_btree.h68 int index2; /* index of 2nd attr in blk */ member
/Linux-v4.19/drivers/usb/gadget/function/
Df_ncm.c1179 unsigned index, index2; in ncm_unwrap_ntb() local
1254 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb()
1259 index = index2; in ncm_unwrap_ntb()
1282 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb()
1302 if (index2 == 0 || dg_len2 == 0) in ncm_unwrap_ntb()
/Linux-v4.19/net/ceph/crush/
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-v4.19/fs/btrfs/
Dtree-log.c2950 int index2; in btrfs_sync_log() local
3037 index2 = log_root_tree->log_transid % 2; in btrfs_sync_log()
3038 list_add_tail(&root_log_ctx.list, &log_root_tree->log_ctxs[index2]); in btrfs_sync_log()
3077 index2 = root_log_ctx.log_transid % 2; in btrfs_sync_log()
3078 if (atomic_read(&log_root_tree->log_commit[index2])) { in btrfs_sync_log()
3089 atomic_set(&log_root_tree->log_commit[index2], 1); in btrfs_sync_log()
3091 if (atomic_read(&log_root_tree->log_commit[(index2 + 1) % 2])) { in btrfs_sync_log()
3159 btrfs_remove_all_log_ctxs(log_root_tree, index2, ret); in btrfs_sync_log()
3162 atomic_set(&log_root_tree->log_commit[index2], 0); in btrfs_sync_log()
3170 cond_wake_up(&log_root_tree->log_commit_wait[index2]); in btrfs_sync_log()
/Linux-v4.19/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_lcn.c2338 u16 index2; in wlc_lcnphy_set_tx_pwr_soft_ctrl() local
2379 index2 = (u16) (index * 2); in wlc_lcnphy_set_tx_pwr_soft_ctrl()
2380 mod_phy_reg(pi, 0x4a9, (0x1ff << 0), (index2) << 0); in wlc_lcnphy_set_tx_pwr_soft_ctrl()
4345 u16 index2; in wlc_lcnphy_tx_power_adjustment() local
4352 index2 = (u16) (index * 2); in wlc_lcnphy_tx_power_adjustment()
4353 mod_phy_reg(pi, 0x4a9, (0x1ff << 0), (index2) << 0); in wlc_lcnphy_tx_power_adjustment()
/Linux-v4.19/drivers/iommu/
Dintel_irq_remapping.c1256 entry->index2 = (index >> 15) & 0x1; in intel_irq_remapping_prepare_irte()
/Linux-v4.19/arch/x86/kernel/apic/
Dio_apic.c1249 buf, (ir_entry->index2 << 15) | ir_entry->index, in io_apic_print_entries()