Home
last modified time | relevance | path

Searched refs:mall (Results 1 – 8 of 8) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_matchall.c47 if (!block->mall.bound) in prestera_mall_prio_get()
50 *prio_min = block->mall.prio_min; in prestera_mall_prio_get()
51 *prio_max = block->mall.prio_max; in prestera_mall_prio_get()
58 block->mall.prio_min = min(block->mall.prio_min, f->common.prio); in prestera_mall_prio_update()
59 block->mall.prio_max = max(block->mall.prio_max, f->common.prio); in prestera_mall_prio_update()
107 block->mall.bound = true; in prestera_mall_replace()
124 block->mall.prio_min = UINT_MAX; in prestera_mall_destroy()
125 block->mall.prio_max = 0; in prestera_mall_destroy()
126 block->mall.bound = false; in prestera_mall_destroy()
Dprestera_flow.c93 block->mall.prio_min = UINT_MAX; in prestera_flow_block_create()
94 block->mall.prio_max = 0; in prestera_flow_block_create()
95 block->mall.bound = false; in prestera_flow_block_create()
Dprestera_flow.h29 } mall; member
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_matchall.c18 list_for_each_entry(mall_entry, &block->mall.list, list) in mlxsw_sp_mall_entry_find()
188 if (list_empty(&block->mall.list)) in mlxsw_sp_mall_prio_update()
190 block->mall.min_prio = UINT_MAX; in mlxsw_sp_mall_prio_update()
191 block->mall.max_prio = 0; in mlxsw_sp_mall_prio_update()
192 list_for_each_entry(mall_entry, &block->mall.list, list) { in mlxsw_sp_mall_prio_update()
193 if (mall_entry->priority < block->mall.min_prio) in mlxsw_sp_mall_prio_update()
194 block->mall.min_prio = mall_entry->priority; in mlxsw_sp_mall_prio_update()
195 if (mall_entry->priority > block->mall.max_prio) in mlxsw_sp_mall_prio_update()
196 block->mall.max_prio = mall_entry->priority; in mlxsw_sp_mall_prio_update()
297 list_add_tail(&mall_entry->list, &block->mall.list); in mlxsw_sp_mall_replace()
[all …]
Dspectrum_flow.c21 INIT_LIST_HEAD(&block->mall.list); in mlxsw_sp_flow_block_create()
Dspectrum.h889 } mall; member
/linux-6.1.9/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c736 cmd.mall.header.type = DMUB_CMD__MALL; in dcn30_apply_idle_power_optimizations()
737 cmd.mall.header.sub_type = DMUB_CMD__MALL_ACTION_NO_DF_REQ; in dcn30_apply_idle_power_optimizations()
738 cmd.mall.header.payload_bytes = sizeof(cmd.mall) - sizeof(cmd.mall.header); in dcn30_apply_idle_power_optimizations()
835 cmd.mall.header.type = DMUB_CMD__MALL; in dcn30_apply_idle_power_optimizations()
836 cmd.mall.header.sub_type = DMUB_CMD__MALL_ACTION_COPY_CURSOR; in dcn30_apply_idle_power_optimizations()
837 cmd.mall.header.payload_bytes = in dcn30_apply_idle_power_optimizations()
838 sizeof(cmd.mall) - sizeof(cmd.mall.header); in dcn30_apply_idle_power_optimizations()
842 cmd.mall.cursor_bpp = 2; in dcn30_apply_idle_power_optimizations()
847 cmd.mall.cursor_bpp = 32; in dcn30_apply_idle_power_optimizations()
852 cmd.mall.cursor_bpp = 64; in dcn30_apply_idle_power_optimizations()
[all …]
/linux-6.1.9/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h3238 struct dmub_rb_cmd_mall mall; member