Home
last modified time | relevance | path

Searched refs:curr_index (Results 1 – 9 of 9) sorted by relevance

/kernel/linux/linux-5.10/tools/power/x86/intel-speed-select/
Disst-display.c12 int i, first, curr_index, index; in printcpulist() local
19 curr_index = 0; in printcpulist()
25 index = snprintf(&str[curr_index], in printcpulist()
26 str_len - curr_index, ","); in printcpulist()
27 curr_index += index; in printcpulist()
28 if (curr_index >= str_len) in printcpulist()
31 index = snprintf(&str[curr_index], str_len - curr_index, "%d", in printcpulist()
33 curr_index += index; in printcpulist()
34 if (curr_index >= str_len) in printcpulist()
45 int size, index, curr_index; in printcpumask() local
[all …]
/kernel/linux/linux-5.10/drivers/scsi/fnic/
Dvnic_wq_copy.h89 unsigned int curr_index; in vnic_wq_copy_service() local
98 curr_index = wq->to_clean_index; in vnic_wq_copy_service()
106 if (curr_index == completed_index) in vnic_wq_copy_service()
/kernel/linux/linux-5.10/drivers/power/supply/
Dab8500_charger.c1138 int curr_index, prev_curr_index, shift_value, i; in ab8500_charger_set_current() local
1156 curr_index = ab8500_current_to_regval(di, ich); in ab8500_charger_set_current()
1164 curr_index = ab8500_vbus_in_curr_to_regval(di, ich); in ab8500_charger_set_current()
1173 curr_index = ab8500_current_to_regval(di, ich); in ab8500_charger_set_current()
1175 if (curr_index && (curr_index - prev_curr_index) > 1) in ab8500_charger_set_current()
1188 if (curr_index < 0) { in ab8500_charger_set_current()
1195 if (prev_curr_index == curr_index) { in ab8500_charger_set_current()
1207 reg, (u8)curr_index << shift_value); in ab8500_charger_set_current()
1210 } else if (prev_curr_index > curr_index) { in ab8500_charger_set_current()
1211 for (i = prev_curr_index - 1; i >= curr_index; i--) { in ab8500_charger_set_current()
[all …]
Dpm2301_charger.c564 int curr_index; in pm2xxx_charger_update_charger_current() local
573 curr_index = pm2xxx_current_to_regval(ich_out); in pm2xxx_charger_update_charger_current()
574 if (curr_index < 0) { in pm2xxx_charger_update_charger_current()
583 val |= curr_index; in pm2xxx_charger_update_charger_current()
704 int curr_index; in pm2xxx_charger_ac_en() local
733 curr_index = pm2xxx_current_to_regval(iset); in pm2xxx_charger_ac_en()
735 if (volt_index < 0 || curr_index < 0) { in pm2xxx_charger_ac_en()
761 val |= curr_index; in pm2xxx_charger_ac_en()
/kernel/linux/linux-5.10/drivers/gpu/drm/exynos/
Dexynos_drm_gsc.c963 u32 cfg, curr_index, i; in gsc_get_src_buf_index() local
969 curr_index = GSC_IN_CURR_GET_INDEX(cfg); in gsc_get_src_buf_index()
971 for (i = curr_index; i < GSC_MAX_SRC; i++) { in gsc_get_src_buf_index()
979 curr_index, buf_id); in gsc_get_src_buf_index()
993 u32 cfg, curr_index, i; in gsc_get_dst_buf_index() local
999 curr_index = GSC_OUT_CURR_GET_INDEX(cfg); in gsc_get_dst_buf_index()
1001 for (i = curr_index; i < GSC_MAX_DST; i++) { in gsc_get_dst_buf_index()
1016 curr_index, buf_id); in gsc_get_dst_buf_index()
/kernel/linux/linux-5.10/drivers/net/bonding/
Dbond_alb.c885 u32 curr_index; in rlb_clear_vlan() local
889 curr_index = bond_info->rx_hashtbl_used_head; in rlb_clear_vlan()
890 while (curr_index != RLB_NULL_INDEX) { in rlb_clear_vlan()
891 struct rlb_client_info *curr = &(bond_info->rx_hashtbl[curr_index]); in rlb_clear_vlan()
892 u32 next_index = bond_info->rx_hashtbl[curr_index].used_next; in rlb_clear_vlan()
895 rlb_delete_table_entry(bond, curr_index); in rlb_clear_vlan()
897 curr_index = next_index; in rlb_clear_vlan()
/kernel/linux/linux-5.10/drivers/infiniband/core/
Dcache.c477 int curr_index = i; in find_gid() local
489 is_gid_index_default(table, curr_index)) { in find_gid()
498 empty = curr_index; in find_gid()
528 is_gid_index_default(table, curr_index) != default_gid) in find_gid()
531 found = curr_index; in find_gid()
/kernel/linux/linux-5.10/drivers/media/platform/exynos4-is/
Dfimc-is.h156 u32 curr_index; member
/kernel/linux/linux-5.10/fs/fuse/
Dfile.c396 pgoff_t curr_index; in fuse_find_writeback() local
400 curr_index = wpa->ia.write.in.offset >> PAGE_SHIFT; in fuse_find_writeback()
401 if (idx_from >= curr_index + wpa->ia.ap.num_pages) in fuse_find_writeback()
403 else if (idx_to < curr_index) in fuse_find_writeback()
1735 pgoff_t curr_index; in fuse_insert_writeback() local
1741 curr_index = curr->ia.write.in.offset >> PAGE_SHIFT; in fuse_insert_writeback()
1743 if (idx_from >= curr_index + curr->ia.ap.num_pages) in fuse_insert_writeback()
1745 else if (idx_to < curr_index) in fuse_insert_writeback()
2055 pgoff_t curr_index; in fuse_writepage_add() local
2058 curr_index = tmp->ia.write.in.offset >> PAGE_SHIFT; in fuse_writepage_add()
[all …]