Searched refs:curr_index (Results 1 – 8 of 8) sorted by relevance
/Linux-v4.19/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-v4.19/drivers/power/supply/ |
D | ab8500_charger.c | 1115 int curr_index, prev_curr_index, shift_value, i; in ab8500_charger_set_current() local 1133 curr_index = ab8500_current_to_regval(di, ich); in ab8500_charger_set_current() 1141 curr_index = ab8500_vbus_in_curr_to_regval(di, ich); in ab8500_charger_set_current() 1150 curr_index = ab8500_current_to_regval(di, ich); in ab8500_charger_set_current() 1152 if (curr_index && (curr_index - prev_curr_index) > 1) in ab8500_charger_set_current() 1165 if (curr_index < 0) { in ab8500_charger_set_current() 1172 if (prev_curr_index == curr_index) { in ab8500_charger_set_current() 1184 reg, (u8)curr_index << shift_value); in ab8500_charger_set_current() 1187 } else if (prev_curr_index > curr_index) { in ab8500_charger_set_current() 1188 for (i = prev_curr_index - 1; i >= curr_index; i--) { in ab8500_charger_set_current() [all …]
|
D | pm2301_charger.c | 572 int curr_index; in pm2xxx_charger_update_charger_current() local 581 curr_index = pm2xxx_current_to_regval(ich_out); in pm2xxx_charger_update_charger_current() 582 if (curr_index < 0) { in pm2xxx_charger_update_charger_current() 591 val |= curr_index; in pm2xxx_charger_update_charger_current() 712 int curr_index; in pm2xxx_charger_ac_en() local 741 curr_index = pm2xxx_current_to_regval(iset); in pm2xxx_charger_ac_en() 743 if (volt_index < 0 || curr_index < 0) { in pm2xxx_charger_ac_en() 769 val |= curr_index; in pm2xxx_charger_ac_en()
|
/Linux-v4.19/drivers/gpu/drm/exynos/ |
D | exynos_drm_gsc.c | 958 u32 cfg, curr_index, i; in gsc_get_src_buf_index() local 964 curr_index = GSC_IN_CURR_GET_INDEX(cfg); in gsc_get_src_buf_index() 966 for (i = curr_index; i < GSC_MAX_SRC; i++) { in gsc_get_src_buf_index() 974 curr_index, buf_id); in gsc_get_src_buf_index() 988 u32 cfg, curr_index, i; in gsc_get_dst_buf_index() local 994 curr_index = GSC_OUT_CURR_GET_INDEX(cfg); in gsc_get_dst_buf_index() 996 for (i = curr_index; i < GSC_MAX_DST; i++) { in gsc_get_dst_buf_index() 1011 curr_index, buf_id); in gsc_get_dst_buf_index()
|
/Linux-v4.19/drivers/net/bonding/ |
D | bond_alb.c | 898 u32 curr_index; in rlb_clear_vlan() local 902 curr_index = bond_info->rx_hashtbl_used_head; in rlb_clear_vlan() 903 while (curr_index != RLB_NULL_INDEX) { in rlb_clear_vlan() 904 struct rlb_client_info *curr = &(bond_info->rx_hashtbl[curr_index]); in rlb_clear_vlan() 905 u32 next_index = bond_info->rx_hashtbl[curr_index].used_next; in rlb_clear_vlan() 908 rlb_delete_table_entry(bond, curr_index); in rlb_clear_vlan() 910 curr_index = next_index; in rlb_clear_vlan()
|
/Linux-v4.19/drivers/infiniband/core/ |
D | cache.c | 434 int curr_index = i; in find_gid() local 446 is_gid_index_default(table, curr_index)) { in find_gid() 455 empty = curr_index; in find_gid() 485 is_gid_index_default(table, curr_index) != default_gid) in find_gid() 488 found = curr_index; in find_gid()
|
/Linux-v4.19/drivers/media/platform/exynos4-is/ |
D | fimc-is.h | 159 u32 curr_index; member
|
/Linux-v4.19/fs/fuse/ |
D | file.c | 345 pgoff_t curr_index; in fuse_range_is_writeback() local 348 curr_index = req->misc.write.in.offset >> PAGE_SHIFT; in fuse_range_is_writeback() 349 if (idx_from < curr_index + req->num_pages && in fuse_range_is_writeback() 350 curr_index <= idx_to) { in fuse_range_is_writeback() 1743 pgoff_t curr_index; in fuse_writepage_in_flight() local 1751 curr_index = old_req->misc.write.in.offset >> PAGE_SHIFT; in fuse_writepage_in_flight() 1752 if (curr_index <= page->index && in fuse_writepage_in_flight() 1753 page->index < curr_index + old_req->num_pages) { in fuse_writepage_in_flight() 1766 curr_index = tmp->misc.write.in.offset >> PAGE_SHIFT; in fuse_writepage_in_flight() 1768 curr_index == page->index) { in fuse_writepage_in_flight()
|