Searched refs:cur_profile (Results 1 – 3 of 3) sorted by relevance
/linux/drivers/acpi/ |
H A D | platform_profile.c | 12 static struct platform_profile_handler *cur_profile; variable 36 if (!cur_profile) { in platform_profile_choices_show() 41 for_each_set_bit(i, cur_profile->choices, PLATFORM_PROFILE_LAST) { 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() 149 if (!cur_profile) { in platform_profile_cycle() [all …]
|
/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 3615 struct dim_cq_moder cur_profile; in mtk_dim_rx() local 3618 cur_profile = net_dim_get_rx_moderation(eth->rx_dim.mode, in mtk_dim_rx() 3626 cur = min_t(u32, DIV_ROUND_UP(cur_profile.usec, 20), MTK_PDMA_DELAY_PTIME_MASK); in mtk_dim_rx() 3629 cur = min_t(u32, cur_profile.pkts, MTK_PDMA_DELAY_PINT_MASK); in mtk_dim_rx() 3646 struct dim_cq_moder cur_profile; in mtk_dim_tx() local 3649 cur_profile = net_dim_get_tx_moderation(eth->tx_dim.mode, in mtk_dim_tx() 3657 cur = min_t(u32, DIV_ROUND_UP(cur_profile.usec, 20), MTK_PDMA_DELAY_PTIME_MASK); in mtk_dim_tx() 3660 cur = min_t(u32, cur_profile.pkts, MTK_PDMA_DELAY_PINT_MASK); in mtk_dim_tx()
|
/linux/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 1096 struct dim_cq_moder cur_profile = net_dim_get_rx_moderation(dim->mode, in bcm_sysport_dim_work() local 1099 bcm_sysport_set_rx_coalesce(priv, cur_profile.usec, cur_profile.pkts); in bcm_sysport_dim_work()
|