Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/mellanox/mlx5/core/steering/hws/
H A Dtable.c55 if (ctx->common_res.default_miss) { in hws_table_up_default_fdb_miss_tbl()
56 ctx->common_res.default_miss->refcount++; in hws_table_up_default_fdb_miss_tbl()
77 ctx->common_res.default_miss = default_miss; in hws_table_up_default_fdb_miss_tbl()
78 ctx->common_res.default_miss->refcount++; in hws_table_up_default_fdb_miss_tbl()
93 default_miss = ctx->common_res.default_miss; in hws_table_down_default_fdb_miss_tbl()
98 ctx->common_res.default_miss = NULL; in hws_table_down_default_fdb_miss_tbl()
H A Daction.c89 if (ctx->common_res.shared_stc[stc_type]) { in hws_action_get_shared_stc_nic()
90 ctx->common_res.shared_stc[stc_type]->refcount++; in hws_action_get_shared_stc_nic()
130 ctx->common_res.shared_stc[stc_type] = shared_stc; in hws_action_get_shared_stc_nic()
131 ctx->common_res.shared_stc[stc_type]->refcount = 1; in hws_action_get_shared_stc_nic()
184 if (--ctx->common_res.shared_stc[stc_type]->refcount) { in hws_action_put_shared_stc()
189 shared_stc = ctx->common_res.shared_stc[stc_type]; in hws_action_put_shared_stc()
193 ctx->common_res.shared_stc[stc_type] = NULL; in hws_action_put_shared_stc()
1703 struct mlx5hws_context_common_res *common_res; in hws_action_create_dest_match_range_fill_table() local
1731 common_res = &ctx->common_res; in hws_action_create_dest_match_range_fill_table()
1740 htonl(common_res->default_stc->nop_ctr.offset); in hws_action_create_dest_match_range_fill_table()
[all …]
H A Drule.c258 apply->common_res = &ctx->common_res; in hws_rule_create_init()
/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