Home
last modified time | relevance | path

Searched refs:common_res (Results 1 – 9 of 9) sorted by relevance

/linux-6.15/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Daction.h87 struct mlx5hws_context_common_res *common_res; member
234 htonl(apply->common_res->default_stc->nop_dw5.offset); in mlx5hws_action_setter_default_single()
244 htonl(apply->common_res->default_stc->nop_dw6.offset); in mlx5hws_action_setter_default_double()
246 htonl(apply->common_res->default_stc->nop_dw7.offset); in mlx5hws_action_setter_default_double()
255 htonl(apply->common_res->default_stc->nop_ctr.offset); in mlx5hws_action_setter_default_ctr()
H A Dtable.c52 if (ctx->common_res.default_miss) { in hws_table_up_default_fdb_miss_tbl()
53 ctx->common_res.default_miss->refcount++; in hws_table_up_default_fdb_miss_tbl()
74 ctx->common_res.default_miss = default_miss; in hws_table_up_default_fdb_miss_tbl()
75 ctx->common_res.default_miss->refcount++; in hws_table_up_default_fdb_miss_tbl()
90 default_miss = ctx->common_res.default_miss; in hws_table_down_default_fdb_miss_tbl()
95 ctx->common_res.default_miss = NULL; in hws_table_down_default_fdb_miss_tbl()
H A Daction.c84 if (ctx->common_res.shared_stc[stc_type]) { in hws_action_get_shared_stc_nic()
85 ctx->common_res.shared_stc[stc_type]->refcount++; in hws_action_get_shared_stc_nic()
188 ctx->common_res.shared_stc[stc_type] = NULL; in hws_action_put_shared_stc()
1642 default_stc = ctx->common_res.default_stc; in hws_action_create_dest_match_range_table()
1733 common_res = &ctx->common_res; in hws_action_create_dest_match_range_fill_table()
2020 if (ctx->common_res.default_stc) { in mlx5hws_action_get_default_stc()
2021 ctx->common_res.default_stc->refcount++; in mlx5hws_action_get_default_stc()
2073 ctx->common_res.default_stc = default_stc; in mlx5hws_action_get_default_stc()
2074 ctx->common_res.default_stc->refcount++; in mlx5hws_action_get_default_stc()
2096 default_stc = ctx->common_res.default_stc; in mlx5hws_action_put_default_stc()
[all …]
H A Dcontext.h42 struct mlx5hws_context_common_res common_res; member
H A Drule.c279 apply->common_res = &ctx->common_res; in hws_rule_create_init()
H A Dmatcher.c319 default_stc = ctx->common_res.default_stc; in hws_matcher_create_rtc()
H A Dcmd.c362 default_miss_tbl = ctx->common_res.default_miss->ft_id; in mlx5hws_cmd_set_attr_connect_miss_tbl()
/linux-6.15/drivers/pcmcia/
H A Dbcm63xx_pcmcia.c308 res = skt->common_res; in bcm63xx_pcmcia_set_mem_map()
344 skt->common_res = platform_get_resource(pdev, IORESOURCE_MEM, 1); in bcm63xx_drv_pcmcia_probe()
348 if (!skt->common_res || !skt->attr_res || (irq < 0) || !skt->pd) { in bcm63xx_drv_pcmcia_probe()
393 sock->map_size = resource_size(skt->common_res); in bcm63xx_drv_pcmcia_probe()
H A Dbcm63xx_pcmcia.h54 struct resource *common_res; member