Searched refs:curr_index (Results 1 – 9 of 9) sorted by relevance
/Linux-v5.15/tools/power/x86/intel-speed-select/ |
D | isst-display.c | 12 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 …]
|
/Linux-v5.15/drivers/scsi/fnic/ |
D | vnic_wq_copy.h | 89 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()
|
/Linux-v5.15/drivers/power/supply/ |
D | ab8500_charger.c | 1140 int curr_index, prev_curr_index, shift_value, i; in ab8500_charger_set_current() local 1158 curr_index = ab8500_current_to_regval(di, ich); in ab8500_charger_set_current() 1166 curr_index = ab8500_vbus_in_curr_to_regval(di, ich); in ab8500_charger_set_current() 1175 curr_index = ab8500_current_to_regval(di, ich); in ab8500_charger_set_current() 1177 if (curr_index && (curr_index - prev_curr_index) > 1) in ab8500_charger_set_current() 1190 if (curr_index < 0) { in ab8500_charger_set_current() 1197 if (prev_curr_index == curr_index) { in ab8500_charger_set_current() 1209 reg, (u8)curr_index << shift_value); in ab8500_charger_set_current() 1212 } else if (prev_curr_index > curr_index) { in ab8500_charger_set_current() 1213 for (i = prev_curr_index - 1; i >= curr_index; i--) { in ab8500_charger_set_current() [all …]
|
/Linux-v5.15/drivers/gpu/drm/exynos/ |
D | exynos_drm_gsc.c | 962 u32 cfg, curr_index, i; in gsc_get_src_buf_index() local 968 curr_index = GSC_IN_CURR_GET_INDEX(cfg); in gsc_get_src_buf_index() 970 for (i = curr_index; i < GSC_MAX_SRC; i++) { in gsc_get_src_buf_index() 978 curr_index, buf_id); in gsc_get_src_buf_index() 992 u32 cfg, curr_index, i; in gsc_get_dst_buf_index() local 998 curr_index = GSC_OUT_CURR_GET_INDEX(cfg); in gsc_get_dst_buf_index() 1000 for (i = curr_index; i < GSC_MAX_DST; i++) { in gsc_get_dst_buf_index() 1015 curr_index, buf_id); in gsc_get_dst_buf_index()
|
/Linux-v5.15/drivers/net/bonding/ |
D | bond_alb.c | 887 u32 curr_index; in rlb_clear_vlan() local 891 curr_index = bond_info->rx_hashtbl_used_head; in rlb_clear_vlan() 892 while (curr_index != RLB_NULL_INDEX) { in rlb_clear_vlan() 893 struct rlb_client_info *curr = &(bond_info->rx_hashtbl[curr_index]); in rlb_clear_vlan() 894 u32 next_index = bond_info->rx_hashtbl[curr_index].used_next; in rlb_clear_vlan() 897 rlb_delete_table_entry(bond, curr_index); in rlb_clear_vlan() 899 curr_index = next_index; in rlb_clear_vlan()
|
/Linux-v5.15/drivers/infiniband/core/ |
D | cache.c | 477 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()
|
/Linux-v5.15/fs/fuse/ |
D | file.c | 407 pgoff_t curr_index; in fuse_find_writeback() local 411 curr_index = wpa->ia.write.in.offset >> PAGE_SHIFT; in fuse_find_writeback() 412 if (idx_from >= curr_index + wpa->ia.ap.num_pages) in fuse_find_writeback() 414 else if (idx_to < curr_index) in fuse_find_writeback() 1736 pgoff_t curr_index; in fuse_insert_writeback() local 1742 curr_index = curr->ia.write.in.offset >> PAGE_SHIFT; in fuse_insert_writeback() 1744 if (idx_from >= curr_index + curr->ia.ap.num_pages) in fuse_insert_writeback() 1746 else if (idx_to < curr_index) in fuse_insert_writeback() 2057 pgoff_t curr_index; in fuse_writepage_add() local 2060 curr_index = tmp->ia.write.in.offset >> PAGE_SHIFT; in fuse_writepage_add() [all …]
|
/Linux-v5.15/drivers/media/platform/exynos4-is/ |
D | fimc-is.h | 156 u32 curr_index; member
|
/Linux-v5.15/drivers/net/ethernet/microsoft/mana/ |
D | mana_en.c | 892 u32 curr_index; in mana_post_pkt_rxq() local 895 curr_index = rxq->buf_index++; in mana_post_pkt_rxq() 899 recv_buf_oob = &rxq->rx_oobs[curr_index]; in mana_post_pkt_rxq()
|