Searched refs:common_res (Results 1 – 9 of 9) sorted by relevance
87 struct mlx5hws_context_common_res *common_res; member231 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()
51 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()
86 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() local1734 common_res = &ctx->common_res[MLX5HWS_TABLE_TYPE_FDB]; in hws_action_create_dest_match_range_fill_table()[all …]
41 struct mlx5hws_context_common_res common_res[MLX5HWS_TABLE_TYPE_MAX]; member
318 apply->common_res = &ctx->common_res[tbl->type]; in hws_rule_create_init()
322 default_stc = ctx->common_res[tbl->type].default_stc; in hws_matcher_create_rtc()
362 default_miss_tbl = ctx->common_res[type].default_miss->ft_id; in mlx5hws_cmd_set_attr_connect_miss_tbl()
308 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()
54 struct resource *common_res; member