Searched refs:cur_profile (Results 1 – 4 of 4) sorted by relevance
/openbmc/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() 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 …]
|
/openbmc/linux/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 3576 struct dim_cq_moder cur_profile; in mtk_dim_rx() local 3579 cur_profile = net_dim_get_rx_moderation(eth->rx_dim.mode, in mtk_dim_rx() 3587 cur = min_t(u32, DIV_ROUND_UP(cur_profile.usec, 20), MTK_PDMA_DELAY_PTIME_MASK); in mtk_dim_rx() 3590 cur = min_t(u32, cur_profile.pkts, MTK_PDMA_DELAY_PINT_MASK); in mtk_dim_rx() 3607 struct dim_cq_moder cur_profile; in mtk_dim_tx() local 3610 cur_profile = net_dim_get_tx_moderation(eth->tx_dim.mode, in mtk_dim_tx() 3618 cur = min_t(u32, DIV_ROUND_UP(cur_profile.usec, 20), MTK_PDMA_DELAY_PTIME_MASK); in mtk_dim_tx() 3621 cur = min_t(u32, cur_profile.pkts, MTK_PDMA_DELAY_PINT_MASK); in mtk_dim_tx()
|
/openbmc/linux/drivers/net/ethernet/broadcom/ |
H A D | bcmsysport.c | 1130 struct dim_cq_moder cur_profile = net_dim_get_rx_moderation(dim->mode, in bcm_sysport_dim_work() local 1133 bcm_sysport_set_rx_coalesce(priv, cur_profile.usec, cur_profile.pkts); in bcm_sysport_dim_work()
|
/openbmc/linux/drivers/net/ethernet/broadcom/genet/ |
H A D | bcmgenet.c | 2423 struct dim_cq_moder cur_profile = in bcmgenet_dim_work() local 2426 bcmgenet_set_rx_coalesce(ring, cur_profile.usec, cur_profile.pkts); in bcmgenet_dim_work()
|