Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dmlx5hws_action.h87 struct mlx5hws_context_common_res *common_res; member
231 htonl(apply->common_res->default_stc->nop_dw5.offset); in mlx5hws_action_setter_default_single()
241 htonl(apply->common_res->default_stc->nop_dw6.offset); in mlx5hws_action_setter_default_double()
243 htonl(apply->common_res->default_stc->nop_dw7.offset); in mlx5hws_action_setter_default_double()
252 htonl(apply->common_res->default_stc->nop_ctr.offset); in mlx5hws_action_setter_default_ctr()
H A Dmlx5hws_action.c86 if (ctx->common_res[tbl_type].shared_stc[stc_type]) { in hws_action_get_shared_stc_nic()
87 ctx->common_res[tbl_type].shared_stc[stc_type]->refcount++; in hws_action_get_shared_stc_nic()
127 ctx->common_res[tbl_type].shared_stc[stc_type] = shared_stc; in hws_action_get_shared_stc_nic()
128 ctx->common_res[tbl_type].shared_stc[stc_type]->refcount = 1; in hws_action_get_shared_stc_nic()
181 if (--ctx->common_res[tbl_type].shared_stc[stc_type]->refcount) { in hws_action_put_shared_stc()
186 shared_stc = ctx->common_res[tbl_type].shared_stc[stc_type]; in hws_action_put_shared_stc()
190 ctx->common_res[tbl_type].shared_stc[stc_type] = NULL; in hws_action_put_shared_stc()
1643 default_stc = ctx->common_res[MLX5HWS_TABLE_TYPE_FDB].default_stc; in hws_action_create_dest_match_range_table()
1706 struct mlx5hws_context_common_res *common_res; in hws_action_create_dest_match_range_fill_table() local
1734 common_res = &ctx->common_res[MLX5HWS_TABLE_TYPE_FDB]; in hws_action_create_dest_match_range_fill_table()
[all …]
H A Dmlx5hws_table.c51 if (ctx->common_res[tbl_type].default_miss) { in hws_table_up_default_fdb_miss_tbl()
52 ctx->common_res[tbl_type].default_miss->refcount++; in hws_table_up_default_fdb_miss_tbl()
74 ctx->common_res[tbl_type].default_miss = default_miss; in hws_table_up_default_fdb_miss_tbl()
75 ctx->common_res[tbl_type].default_miss->refcount++; in hws_table_up_default_fdb_miss_tbl()
90 default_miss = ctx->common_res[tbl_type].default_miss; in hws_table_down_default_fdb_miss_tbl()
95 ctx->common_res[tbl_type].default_miss = NULL; in hws_table_down_default_fdb_miss_tbl()
H A Dmlx5hws_context.h41 struct mlx5hws_context_common_res common_res[MLX5HWS_TABLE_TYPE_MAX]; member
H A Dmlx5hws_rule.c318 apply->common_res = &ctx->common_res[tbl->type]; in hws_rule_create_init()
H A Dmlx5hws_matcher.c322 default_stc = ctx->common_res[tbl->type].default_stc; in hws_matcher_create_rtc()
H A Dmlx5hws_cmd.c362 default_miss_tbl = ctx->common_res[type].default_miss->ft_id; in mlx5hws_cmd_set_attr_connect_miss_tbl()
/linux/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