Home
last modified time | relevance | path

Searched refs:new_index (Results 1 – 20 of 20) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/cpuidle/
H A Dcpuidle-exynos.c62 int new_index = index; in exynos_enter_lowpower() local
66 new_index = drv->safe_state_index; in exynos_enter_lowpower()
68 if (new_index == 0) in exynos_enter_lowpower()
69 return arm_cpuidle_simple_enter(dev, drv, new_index); in exynos_enter_lowpower()
73 return new_index; in exynos_enter_lowpower()
/OK3568_Linux_fs/kernel/drivers/cpufreq/
H A Dcpufreq_stats.c271 int old_index, new_index; in cpufreq_stats_record_transition() local
280 new_index = freq_table_get_index(stats, new_freq); in cpufreq_stats_record_transition()
283 if (unlikely(old_index == -1 || new_index == -1 || old_index == new_index)) in cpufreq_stats_record_transition()
288 stats->last_index = new_index; in cpufreq_stats_record_transition()
289 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stats_record_transition()
H A Dpowernv-cpufreq.c742 unsigned int new_index) in powernv_cpufreq_target_index() argument
748 if (unlikely(rebooting) && new_index != get_nominal_index()) in powernv_cpufreq_target_index()
762 freq_data.pstate_id = idx_to_pstate(new_index); in powernv_cpufreq_target_index()
771 gpstate_idx = new_index; in powernv_cpufreq_target_index()
772 gpstates->highest_lpstate_idx = new_index; in powernv_cpufreq_target_index()
776 if (gpstates->last_gpstate_idx < new_index) { in powernv_cpufreq_target_index()
787 gpstates->highest_lpstate_idx = new_index; in powernv_cpufreq_target_index()
788 gpstate_idx = new_index; in powernv_cpufreq_target_index()
793 new_index); in powernv_cpufreq_target_index()
797 gpstates->highest_lpstate_idx = new_index; in powernv_cpufreq_target_index()
[all …]
/OK3568_Linux_fs/kernel/lib/
H A Dparman.c187 unsigned long new_index; in parman_lsort_item_add() local
196 new_index = parman_lsort_new_index_find(parman, prio); in parman_lsort_item_add()
202 item->index = new_index; in parman_lsort_item_add()
/OK3568_Linux_fs/kernel/arch/sparc/kernel/
H A Dcpumap.c321 int level, new_index, index = root_index; in iterate_cpu() local
342 new_index = t->nodes[index].rover; in iterate_cpu()
346 index = new_index; in iterate_cpu()
/OK3568_Linux_fs/kernel/drivers/block/
H A Dnbd.c838 int new_index = -1; in find_fallback() local
843 return new_index; in find_fallback()
848 return new_index; in find_fallback()
863 new_index = i; in find_fallback()
867 nsock->fallback_index = new_index; in find_fallback()
868 if (new_index < 0) { in find_fallback()
871 return new_index; in find_fallback()
874 new_index = nsock->fallback_index; in find_fallback()
875 return new_index; in find_fallback()
1883 int new_index; in nbd_genl_connect() local
[all …]
/OK3568_Linux_fs/kernel/drivers/media/usb/tm6000/
H A Dtm6000-core.c128 u8 new_index; in tm6000_set_reg_mask() local
136 new_index = (buf[0] & ~mask) | (index & mask); in tm6000_set_reg_mask()
138 if (new_index == buf[0]) in tm6000_set_reg_mask()
142 req, value, new_index, NULL, 0); in tm6000_set_reg_mask()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-kernel/oprofile/oprofile/
H A D0006-replace-sym_iterator-0-with-sym_iterator.patch45 (*sc_ptr)[new_index].subclass_name = subclass_name;
/OK3568_Linux_fs/kernel/drivers/net/ethernet/mellanox/mlx4/
H A Den_tx.c461 u16 new_index; in mlx4_en_process_tx_cq() local
476 new_index = be16_to_cpu(cqe->wqe_index) & size_mask; in mlx4_en_process_tx_cq()
501 } while ((++done < budget) && (ring_index != new_index)); in mlx4_en_process_tx_cq()
H A Dresource_tracker.c696 u8 new_index; in update_pkey_index() local
702 new_index = priv->virt2phys_pkey[slave][port - 1][orig_index]; in update_pkey_index()
703 *(u8 *)(inbox->buf + 35) = new_index; in update_pkey_index()
/OK3568_Linux_fs/kernel/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
H A Dphy_lcn.c2317 s8 index, delta_brd, delta_temp, new_index, tempcorrx; in wlc_lcnphy_tempcompensated_txpwrctrl() local
2362 new_index = in wlc_lcnphy_tempcompensated_txpwrctrl()
2364 new_index += tempcorrx; in wlc_lcnphy_tempcompensated_txpwrctrl()
2369 if (new_index < 0 || new_index > 126) in wlc_lcnphy_tempcompensated_txpwrctrl()
2372 return new_index; in wlc_lcnphy_tempcompensated_txpwrctrl()
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dring_buffer.c2888 unsigned long new_index, old_index; in rb_try_to_discard() local
2895 new_index = rb_event_index(event); in rb_try_to_discard()
2896 old_index = new_index + rb_event_ts_length(event); in rb_try_to_discard()
2946 new_index += write_mask; in rb_try_to_discard()
2947 index = local_cmpxchg(&bpage->write, old_index, new_index); in rb_try_to_discard()
/OK3568_Linux_fs/kernel/drivers/target/
H A Dtarget_core_transport.c176 u32 new_index; in scsi_get_new_index() local
181 new_index = ++scsi_mib_index[type]; in scsi_get_new_index()
184 return new_index; in scsi_get_new_index()
/OK3568_Linux_fs/kernel/net/core/
H A Ddev.c4025 int new_index = get_xps_queue(dev, sb_dev, skb); in netdev_pick_tx() local
4027 if (new_index < 0) in netdev_pick_tx()
4028 new_index = skb_tx_hash(dev, sb_dev, skb); in netdev_pick_tx()
4030 if (queue_index != new_index && sk && in netdev_pick_tx()
4033 sk_tx_queue_set(sk, new_index); in netdev_pick_tx()
4035 queue_index = new_index; in netdev_pick_tx()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd_indep_power/
H A Ddhd_msgbuf.c513 void dhd_prot_dma_indx_set(dhd_pub_t *dhd, uint16 new_index, uint8 type,
7228 dhd_prot_dma_indx_set(dhd_pub_t *dhd, uint16 new_index, uint8 type, uint16 ringid) in dhd_prot_dma_indx_set() argument
7260 *(uint16*)ptr = htol16(new_index); in dhd_prot_dma_indx_set()
7265 __FUNCTION__, new_index, type, ringid, ptr, offset)); in dhd_prot_dma_indx_set()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Ddhd_msgbuf.c638 void dhd_prot_dma_indx_set(dhd_pub_t *dhd, uint16 new_index, uint8 type,
8964 dhd_prot_dma_indx_set(dhd_pub_t *dhd, uint16 new_index, uint8 type, uint16 ringid) argument
8996 *(uint16*)ptr = htol16(new_index);
9001 __FUNCTION__, new_index, type, ringid, ptr, offset));
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Ddhd_msgbuf.c638 void dhd_prot_dma_indx_set(dhd_pub_t *dhd, uint16 new_index, uint8 type,
8966 dhd_prot_dma_indx_set(dhd_pub_t *dhd, uint16 new_index, uint8 type, uint16 ringid) argument
8998 *(uint16*)ptr = htol16(new_index);
9003 __FUNCTION__, new_index, type, ringid, ptr, offset));
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Ddhd_msgbuf.c638 void dhd_prot_dma_indx_set(dhd_pub_t *dhd, uint16 new_index, uint8 type,
8964 dhd_prot_dma_indx_set(dhd_pub_t *dhd, uint16 new_index, uint8 type, uint16 ringid) argument
8996 *(uint16*)ptr = htol16(new_index);
9001 __FUNCTION__, new_index, type, ringid, ptr, offset));
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Ddhd_msgbuf.c838 void dhd_prot_dma_indx_set(dhd_pub_t *dhd, uint16 new_index, uint8 type,
11843 dhd_prot_dma_indx_set(dhd_pub_t *dhd, uint16 new_index, uint8 type, uint16 ringid) argument
11876 *(uint16*)ptr = htol16(new_index);
11881 __FUNCTION__, new_index, type, ringid, ptr, offset));
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Ddhd_msgbuf.c842 void dhd_prot_dma_indx_set(dhd_pub_t *dhd, uint16 new_index, uint8 type,
11847 dhd_prot_dma_indx_set(dhd_pub_t *dhd, uint16 new_index, uint8 type, uint16 ringid) argument
11880 *(uint16*)ptr = htol16(new_index);
11885 __FUNCTION__, new_index, type, ringid, ptr, offset));