Home
last modified time | relevance | path

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

/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()
/drivers/power/supply/
Dab8500_charger.c1140 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 …]
/drivers/gpu/drm/exynos/
Dexynos_drm_gsc.c962 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()
/drivers/net/bonding/
Dbond_alb.c887 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()
/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()
/drivers/media/platform/exynos4-is/
Dfimc-is.h156 u32 curr_index; member
/drivers/net/ethernet/microsoft/mana/
Dmana_en.c892 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()