Home
last modified time | relevance | path

Searched refs:source_mask (Results 1 – 6 of 6) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum2_mr_tcam.c147 (char *) &key->source_mask.addr4, 4); in mlxsw_sp2_mr_tcam_rule_parse4()
159 &key->source_mask.addr6.s6_addr[0x0], 4); in mlxsw_sp2_mr_tcam_rule_parse6()
162 &key->source_mask.addr6.s6_addr[0x4], 4); in mlxsw_sp2_mr_tcam_rule_parse6()
165 &key->source_mask.addr6.s6_addr[0x8], 4); in mlxsw_sp2_mr_tcam_rule_parse6()
168 &key->source_mask.addr6.s6_addr[0xc], 4); in mlxsw_sp2_mr_tcam_rule_parse6()
Dspectrum1_mr_tcam.c43 ntohl(key->source_mask.addr4), in mlxsw_sp1_mr_tcam_route_replace()
53 key->source_mask.addr6, in mlxsw_sp1_mr_tcam_route_replace()
Dspectrum_mr.h24 union mlxsw_sp_l3addr source_mask; member
Dspectrum_mr.c807 key->source_mask.addr4 = htonl(starg ? 0 : 0xffffffff); in mlxsw_sp_mr_route4_key()
813 return mr_route->key.source_mask.addr4 == htonl(INADDR_ANY); in mlxsw_sp_mr_route4_starg()
852 memset(&key->source_mask.addr6, 0xff, in mlxsw_sp_mr_route6_key()
853 sizeof(key->source_mask.addr6)); in mlxsw_sp_mr_route6_key()
859 return ipv6_addr_any(&mr_route->key.source_mask.addr6); in mlxsw_sp_mr_route6_starg()
/Linux-v6.6/drivers/media/i2c/
Dmax9286.c208 unsigned int source_mask; member
465 if ((ret & MAX9286_VIDEO_DETECT_MASK) == priv->source_mask) in max9286_check_video_links()
505 unsigned int source_mask) in max9286_check_config_link() argument
507 unsigned int conflink_mask = (source_mask & 0x0f) << 4; in max9286_check_config_link()
703 if (priv->bound_sources != priv->source_mask) in max9286_notify_bound()
717 max9286_check_config_link(priv, priv->source_mask); in max9286_notify_bound()
1513 priv->source_mask |= BIT(ep.port); in max9286_parse_dt()
1566 priv->route_mask = priv->source_mask; in max9286_parse_dt()
/Linux-v6.6/drivers/media/v4l2-core/
Dv4l2-subdev.c2148 u64 source_mask = 0; in v4l2_subdev_s_stream_helper() local
2172 source_mask |= BIT_ULL(route->source_stream); in v4l2_subdev_s_stream_helper()
2177 return v4l2_subdev_enable_streams(sd, pad_index, source_mask); in v4l2_subdev_s_stream_helper()
2179 return v4l2_subdev_disable_streams(sd, pad_index, source_mask); in v4l2_subdev_s_stream_helper()