Home
last modified time | relevance | path

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

/linux-6.6.21/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.6.21/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.h890 } mall; member
/linux-6.6.21/drivers/gpu/drm/amd/display/dc/dcn30/
Ddcn30_hwseq.c712 cmd.mall.header.type = DMUB_CMD__MALL; in dcn30_apply_idle_power_optimizations()
713 cmd.mall.header.sub_type = DMUB_CMD__MALL_ACTION_NO_DF_REQ; in dcn30_apply_idle_power_optimizations()
714 cmd.mall.header.payload_bytes = sizeof(cmd.mall) - sizeof(cmd.mall.header); in dcn30_apply_idle_power_optimizations()
810 cmd.mall.header.type = DMUB_CMD__MALL; in dcn30_apply_idle_power_optimizations()
811 cmd.mall.header.sub_type = DMUB_CMD__MALL_ACTION_COPY_CURSOR; in dcn30_apply_idle_power_optimizations()
812 cmd.mall.header.payload_bytes = in dcn30_apply_idle_power_optimizations()
813 sizeof(cmd.mall) - sizeof(cmd.mall.header); in dcn30_apply_idle_power_optimizations()
817 cmd.mall.cursor_bpp = 2; in dcn30_apply_idle_power_optimizations()
822 cmd.mall.cursor_bpp = 32; in dcn30_apply_idle_power_optimizations()
827 cmd.mall.cursor_bpp = 64; in dcn30_apply_idle_power_optimizations()
[all …]
/linux-6.6.21/drivers/gpu/drm/amd/display/dmub/inc/
Ddmub_cmd.h4008 struct dmub_rb_cmd_mall mall; member