Home
last modified time | relevance | path

Searched refs:index2 (Results 1 - 25 of 36) sorted by relevance

12

/kernel/linux/linux-5.10/drivers/power/supply/
H A Dgeneric-adc-battery.c298 int index2; in gab_probe() local
300 for (index2 = 0; index2 < index; index2++) { in gab_probe()
301 if (properties[index2] == gab_dyn_props[chan]) in gab_probe()
304 if (index2 == index) /* really new */ in gab_probe()
/kernel/linux/linux-6.6/drivers/power/supply/
H A Dgeneric-adc-battery.c207 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()
/kernel/linux/linux-5.10/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()
272 sens->index2 = -1; in wf_sat_probe()
299 sens->index2 = isens[core]; in wf_sat_probe()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-6.6/drivers/staging/media/atomisp/pci/hmm/
H A Dhmm.c58 int index2 = 0; in bo_show() local
84 ret = scnprintf(buf + index1 + index2, in bo_show()
85 PAGE_SIZE - index1 - index2, in bo_show()
90 index2 += ret; in bo_show()
95 return index1 + index2 + 1; in bo_show()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/linux/linux-5.10/drivers/misc/altera-stapl/
H A Daltera.c249 u32 index2; in altera_execute() local
1754 index2 = copy_index2; in altera_execute()
1818 index2 += (count - 1); in altera_execute()
1823 charptr_tmp[index2 >> 3] |= in altera_execute()
1824 (1 << (index2 & 7)); in altera_execute()
1826 charptr_tmp[index2 >> 3] &= 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
[all...]
/kernel/linux/linux-6.6/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...]
/kernel/linux/linux-5.10/drivers/staging/media/atomisp/pci/hmm/
H 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()
/kernel/linux/linux-5.10/include/linux/mlx5/
H A Drsc_dump.h38 int index2; member
/kernel/linux/linux-6.6/include/linux/mlx5/
H A Drsc_dump.h38 int index2; member
/kernel/linux/linux-6.6/drivers/usb/gadget/function/
H A Df_ncm.c1161 unsigned index, index2; in ncm_unwrap_ntb() local
1252 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb()
1257 index = index2; in ncm_unwrap_ntb()
1293 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb()
1297 if (index2 > block_len - opts->dpe_size) { in ncm_unwrap_ntb()
1299 "Bad index: %#X\n", index2); in ncm_unwrap_ntb()
1319 if (index2 == 0 || dg_len2 == 0) in ncm_unwrap_ntb()
/kernel/linux/linux-5.10/fs/ext4/
H A Dmove_extent.c120 * @index2: page index
127 pgoff_t index1, pgoff_t index2, struct page *page[2]) in mext_page_double_lock()
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()
126 mext_page_double_lock(struct inode *inode1, struct inode *inode2, pgoff_t index1, pgoff_t index2, struct page *page[2]) mext_page_double_lock() argument
/kernel/linux/linux-6.6/fs/ext4/
H A Dmove_extent.c118 * @index2: folio index
125 pgoff_t index1, pgoff_t index2, struct folio *folio[2]) in mext_folio_double_lock()
135 swap(index1, index2); in mext_folio_double_lock()
148 folio[1] = __filemap_get_folio(mapping[1], index2, FGP_WRITEBEGIN, in mext_folio_double_lock()
124 mext_folio_double_lock(struct inode *inode1, struct inode *inode2, pgoff_t index1, pgoff_t index2, struct folio *folio[2]) mext_folio_double_lock() argument
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-6.6/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()
/kernel/liteos_a/tools/scripts/parse_exc/
H A Dparse_excinfo.py222 index2 = ret.rfind('clang')
226 elif index2 != -1:
/kernel/linux/linux-5.10/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c1491 (args->index2 <= args->index)) { in xfs_attr3_leaf_add_work()
1492 args->index2++; in xfs_attr3_leaf_add_work()
1660 * This code adjusts the args->index/blkno and args->index2/blkno2 fields
1809 * while the index2/blkno2 fields refer to the "new" entry. in xfs_attr3_leaf_rebalance()
1814 args->index = args->index2 = blk2->index; in xfs_attr3_leaf_rebalance()
1820 args->index2 = 0; in xfs_attr3_leaf_rebalance()
1825 * is already stored in blkno2/index2, so don't in xfs_attr3_leaf_rebalance()
1837 args->index2 = blk2->index; in xfs_attr3_leaf_rebalance()
1843 args->index = args->index2 = blk1->index; in xfs_attr3_leaf_rebalance()
2846 * entry given by args->blkno2/index2
[all...]
H A Dxfs_da_btree.h76 int index2; /* index of 2nd attr in blk */ member
/kernel/linux/linux-6.6/fs/xfs/libxfs/
H A Dxfs_attr_leaf.c1537 (args->index2 <= args->index)) { in xfs_attr3_leaf_add_work()
1538 args->index2++; in xfs_attr3_leaf_add_work()
1706 * This code adjusts the args->index/blkno and args->index2/blkno2 fields
1855 * while the index2/blkno2 fields refer to the "new" entry. in xfs_attr3_leaf_rebalance()
1860 args->index = args->index2 = blk2->index; in xfs_attr3_leaf_rebalance()
1866 args->index2 = 0; in xfs_attr3_leaf_rebalance()
1871 * is already stored in blkno2/index2, so don't in xfs_attr3_leaf_rebalance()
1883 args->index2 = blk2->index; in xfs_attr3_leaf_rebalance()
1889 args->index = args->index2 = blk1->index; in xfs_attr3_leaf_rebalance()
2890 * entry given by args->blkno2/index2
[all...]
H A Dxfs_da_btree.h76 int index2; /* index of 2nd attr in blk */ member
/kernel/linux/linux-5.10/arch/x86/include/asm/
H A Dio_apic.h88 index2 : 1, member
/kernel/linux/linux-5.10/drivers/usb/gadget/function/
H A Df_ncm.c1185 unsigned index, index2; in ncm_unwrap_ntb() local
1276 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb()
1281 index = index2; in ncm_unwrap_ntb()
1317 index2 = get_ncm(&tmp, opts->dgram_item_len); in ncm_unwrap_ntb()
1321 if (index2 > block_len - opts->dpe_size) { in ncm_unwrap_ntb()
1323 "Bad index: %#X\n", index2); in ncm_unwrap_ntb()
1343 if (index2 == 0 || dg_len2 == 0) in ncm_unwrap_ntb()
/kernel/linux/linux-5.10/net/ceph/crush/
H A Dmapper.c252 int iexpon, index1, index2; in crush_ln() local
283 index2 = xl64 & 0xff; in crush_ln()
284 /* LL ~ 2^48*log2(1.0+index2/2^15) */ in crush_ln()
285 LL = __LL_tbl[index2]; in crush_ln()

Completed in 27 milliseconds

12