/openbmc/linux/tools/power/x86/intel-speed-select/ |
H A 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 …]
|
H A D | isst-config.c | 911 int i, first, curr_index, index, ret, fd; in isolate_cpus() local 949 curr_index = 0; in isolate_cpus() 960 index = snprintf(&str[curr_index], in isolate_cpus() 961 str_len - curr_index, ","); in isolate_cpus() 962 curr_index += index; in isolate_cpus() 963 if (curr_index >= str_len) in isolate_cpus() 966 index = snprintf(&str[curr_index], str_len - curr_index, "%d", in isolate_cpus() 968 curr_index += index; in isolate_cpus() 969 if (curr_index >= str_len) in isolate_cpus() 974 debug_printf("isolated CPUs list: package:%d curr_index:%d [%s]\n", id->pkg, curr_index ,str); in isolate_cpus()
|
/openbmc/linux/drivers/scsi/fnic/ |
H A D | vnic_wq_copy.h | 77 unsigned int curr_index; in vnic_wq_copy_service() local 86 curr_index = wq->to_clean_index; in vnic_wq_copy_service() 94 if (curr_index == completed_index) in vnic_wq_copy_service()
|
/openbmc/linux/drivers/power/supply/ |
H A D | ab8500_charger.c | 1156 int curr_index, prev_curr_index, shift_value, i; in ab8500_charger_set_current() local 1174 curr_index = ab8500_current_to_regval(di, ich_ua); in ab8500_charger_set_current() 1182 curr_index = ab8500_vbus_in_curr_to_regval(di, ich_ua); in ab8500_charger_set_current() 1191 curr_index = ab8500_current_to_regval(di, ich_ua); in ab8500_charger_set_current() 1193 if (curr_index && (curr_index - prev_curr_index) > 1) in ab8500_charger_set_current() 1206 if (curr_index < 0) { in ab8500_charger_set_current() 1213 if (prev_curr_index == curr_index) { in ab8500_charger_set_current() 1225 reg, (u8)curr_index << shift_value); in ab8500_charger_set_current() 1228 } else if (prev_curr_index > curr_index) { in ab8500_charger_set_current() 1229 for (i = prev_curr_index - 1; i >= curr_index; i--) { in ab8500_charger_set_current() [all …]
|
/openbmc/linux/drivers/gpu/drm/exynos/ |
H A 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()
|
/openbmc/linux/drivers/net/bonding/ |
H A D | bond_alb.c | 899 u32 curr_index; in rlb_clear_vlan() local 903 curr_index = bond_info->rx_hashtbl_used_head; in rlb_clear_vlan() 904 while (curr_index != RLB_NULL_INDEX) { in rlb_clear_vlan() 905 struct rlb_client_info *curr = &(bond_info->rx_hashtbl[curr_index]); in rlb_clear_vlan() 906 u32 next_index = bond_info->rx_hashtbl[curr_index].used_next; in rlb_clear_vlan() 909 rlb_delete_table_entry(bond, curr_index); in rlb_clear_vlan() 911 curr_index = next_index; in rlb_clear_vlan()
|
/openbmc/linux/drivers/infiniband/core/ |
H A 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()
|
/openbmc/linux/drivers/media/platform/samsung/exynos4-is/ |
H A D | fimc-is.h | 155 u32 curr_index; member
|
/openbmc/linux/fs/fuse/ |
H A D | file.c | 414 pgoff_t curr_index; in fuse_find_writeback() local 418 curr_index = wpa->ia.write.in.offset >> PAGE_SHIFT; in fuse_find_writeback() 419 if (idx_from >= curr_index + wpa->ia.ap.num_pages) in fuse_find_writeback() 421 else if (idx_to < curr_index) in fuse_find_writeback() 1789 pgoff_t curr_index; in fuse_insert_writeback() local 1795 curr_index = curr->ia.write.in.offset >> PAGE_SHIFT; in fuse_insert_writeback() 1797 if (idx_from >= curr_index + curr->ia.ap.num_pages) in fuse_insert_writeback() 1799 else if (idx_to < curr_index) in fuse_insert_writeback() 2125 pgoff_t curr_index; in fuse_writepage_add() local 2128 curr_index = tmp->ia.write.in.offset >> PAGE_SHIFT; in fuse_writepage_add() [all …]
|
/openbmc/linux/drivers/net/ethernet/microsoft/mana/ |
H A D | mana_en.c | 1468 u32 curr_index; in mana_post_pkt_rxq() local 1471 curr_index = rxq->buf_index++; in mana_post_pkt_rxq() 1475 recv_buf_oob = &rxq->rx_oobs[curr_index]; in mana_post_pkt_rxq()
|