Home
last modified time | relevance | path

Searched refs:cur_profile (Results 1 – 4 of 4) sorted by relevance

/linux/drivers/acpi/
A Dplatform_profile.c12 static struct platform_profile_handler *cur_profile; variable
36 if (!cur_profile) { in platform_profile_choices_show()
63 if (!cur_profile) { in platform_profile_show()
68 err = cur_profile->profile_get(cur_profile, &profile); in platform_profile_show()
90 if (!cur_profile) { in platform_profile_store()
103 if (!test_bit(i, cur_profile->choices)) { in platform_profile_store()
108 err = cur_profile->profile_set(cur_profile, i); in platform_profile_store()
133 if (!cur_profile) in platform_profile_notify()
145 if (cur_profile) { in platform_profile_register()
163 cur_profile = pprof; in platform_profile_register()
[all …]
/linux/drivers/net/ethernet/mediatek/
A Dmtk_eth_soc.c2429 struct dim_cq_moder cur_profile; in mtk_dim_rx() local
2432 cur_profile = net_dim_get_rx_moderation(eth->rx_dim.mode, in mtk_dim_rx()
2440 cur = min_t(u32, DIV_ROUND_UP(cur_profile.usec, 20), MTK_PDMA_DELAY_PTIME_MASK); in mtk_dim_rx()
2443 cur = min_t(u32, cur_profile.pkts, MTK_PDMA_DELAY_PINT_MASK); in mtk_dim_rx()
2459 struct dim_cq_moder cur_profile; in mtk_dim_tx() local
2462 cur_profile = net_dim_get_tx_moderation(eth->tx_dim.mode, in mtk_dim_tx()
2470 cur = min_t(u32, DIV_ROUND_UP(cur_profile.usec, 20), MTK_PDMA_DELAY_PTIME_MASK); in mtk_dim_tx()
2473 cur = min_t(u32, cur_profile.pkts, MTK_PDMA_DELAY_PINT_MASK); in mtk_dim_tx()
/linux/drivers/net/ethernet/broadcom/
A Dbcmsysport.c1119 struct dim_cq_moder cur_profile = net_dim_get_rx_moderation(dim->mode, in bcm_sysport_dim_work() local
1122 bcm_sysport_set_rx_coalesce(priv, cur_profile.usec, cur_profile.pkts); in bcm_sysport_dim_work()
/linux/drivers/net/ethernet/broadcom/genet/
A Dbcmgenet.c2406 struct dim_cq_moder cur_profile = in bcmgenet_dim_work() local
2409 bcmgenet_set_rx_coalesce(ring, cur_profile.usec, cur_profile.pkts); in bcmgenet_dim_work()

Completed in 28 milliseconds