Home
last modified time | relevance | path

Searched refs:ptp_class (Results 1 – 24 of 24) sorted by relevance

/dports/multimedia/libv4l/linux-5.13-rc2/drivers/ptp/
H A Dptp_clock.c30 static struct class *ptp_class; variable
266 ptp->dev.class = ptp_class; in ptp_clock_register()
403 class_destroy(ptp_class); in ptp_exit()
412 ptp_class = class_create(THIS_MODULE, "ptp"); in ptp_init()
413 if (IS_ERR(ptp_class)) { in ptp_init()
415 return PTR_ERR(ptp_class); in ptp_init()
424 ptp_class->dev_groups = ptp_groups; in ptp_init()
429 class_destroy(ptp_class); in ptp_init()
H A Dptp_ines.c170 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class,
435 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class, in ines_match() argument
443 if (unlikely(ptp_class & PTP_CLASS_V1)) in ines_match()
446 hdr = ptp_parse_header(skb, ptp_class); in ines_match()
450 msgtype = ptp_get_msgtype(hdr, ptp_class); in ines_match()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/ptp/
H A Dptp_clock.c30 static struct class *ptp_class; variable
266 ptp->dev.class = ptp_class; in ptp_clock_register()
403 class_destroy(ptp_class); in ptp_exit()
412 ptp_class = class_create(THIS_MODULE, "ptp"); in ptp_init()
413 if (IS_ERR(ptp_class)) { in ptp_init()
415 return PTR_ERR(ptp_class); in ptp_init()
424 ptp_class->dev_groups = ptp_groups; in ptp_init()
429 class_destroy(ptp_class); in ptp_init()
H A Dptp_ines.c170 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class,
435 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class, in ines_match() argument
443 if (unlikely(ptp_class & PTP_CLASS_V1)) in ines_match()
446 hdr = ptp_parse_header(skb, ptp_class); in ines_match()
450 msgtype = ptp_get_msgtype(hdr, ptp_class); in ines_match()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/ptp/
H A Dptp_clock.c30 static struct class *ptp_class; variable
266 ptp->dev.class = ptp_class; in ptp_clock_register()
403 class_destroy(ptp_class); in ptp_exit()
412 ptp_class = class_create(THIS_MODULE, "ptp"); in ptp_init()
413 if (IS_ERR(ptp_class)) { in ptp_init()
415 return PTR_ERR(ptp_class); in ptp_init()
424 ptp_class->dev_groups = ptp_groups; in ptp_init()
429 class_destroy(ptp_class); in ptp_init()
H A Dptp_ines.c170 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class,
435 static bool ines_match(struct sk_buff *skb, unsigned int ptp_class, in ines_match() argument
443 if (unlikely(ptp_class & PTP_CLASS_V1)) in ines_match()
446 hdr = ptp_parse_header(skb, ptp_class); in ines_match()
450 msgtype = ptp_get_msgtype(hdr, ptp_class); in ines_match()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c317 unsigned int ptp_class; in mlxsw_sp_ptp_parse() local
320 ptp_class = ptp_classify_raw(skb); in mlxsw_sp_ptp_parse()
322 switch (ptp_class & PTP_CLASS_VMASK) { in mlxsw_sp_ptp_parse()
330 hdr = ptp_parse_header(skb, ptp_class); in mlxsw_sp_ptp_parse()
334 *p_message_type = ptp_get_msgtype(hdr, ptp_class); in mlxsw_sp_ptp_parse()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c317 unsigned int ptp_class; in mlxsw_sp_ptp_parse() local
320 ptp_class = ptp_classify_raw(skb); in mlxsw_sp_ptp_parse()
322 switch (ptp_class & PTP_CLASS_VMASK) { in mlxsw_sp_ptp_parse()
330 hdr = ptp_parse_header(skb, ptp_class); in mlxsw_sp_ptp_parse()
334 *p_message_type = ptp_get_msgtype(hdr, ptp_class); in mlxsw_sp_ptp_parse()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ptp.c317 unsigned int ptp_class; in mlxsw_sp_ptp_parse() local
320 ptp_class = ptp_classify_raw(skb); in mlxsw_sp_ptp_parse()
322 switch (ptp_class & PTP_CLASS_VMASK) { in mlxsw_sp_ptp_parse()
330 hdr = ptp_parse_header(skb, ptp_class); in mlxsw_sp_ptp_parse()
334 *p_message_type = ptp_get_msgtype(hdr, ptp_class); in mlxsw_sp_ptp_parse()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/ti/
H A Dcpts.c448 unsigned int ptp_class = ptp_classify_raw(skb); in cpts_skb_get_mtype_seqid() local
453 if (ptp_class == PTP_CLASS_NONE) in cpts_skb_get_mtype_seqid()
456 hdr = ptp_parse_header(skb, ptp_class); in cpts_skb_get_mtype_seqid()
460 msgtype = ptp_get_msgtype(hdr, ptp_class); in cpts_skb_get_mtype_seqid()
H A Dam65-cpts.c752 unsigned int ptp_class = ptp_classify_raw(skb); in am65_skb_get_mtype_seqid() local
757 if (ptp_class == PTP_CLASS_NONE) in am65_skb_get_mtype_seqid()
760 hdr = ptp_parse_header(skb, ptp_class); in am65_skb_get_mtype_seqid()
764 msgtype = ptp_get_msgtype(hdr, ptp_class); in am65_skb_get_mtype_seqid()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/ti/
H A Dcpts.c448 unsigned int ptp_class = ptp_classify_raw(skb); in cpts_skb_get_mtype_seqid() local
453 if (ptp_class == PTP_CLASS_NONE) in cpts_skb_get_mtype_seqid()
456 hdr = ptp_parse_header(skb, ptp_class); in cpts_skb_get_mtype_seqid()
460 msgtype = ptp_get_msgtype(hdr, ptp_class); in cpts_skb_get_mtype_seqid()
H A Dam65-cpts.c752 unsigned int ptp_class = ptp_classify_raw(skb); in am65_skb_get_mtype_seqid() local
757 if (ptp_class == PTP_CLASS_NONE) in am65_skb_get_mtype_seqid()
760 hdr = ptp_parse_header(skb, ptp_class); in am65_skb_get_mtype_seqid()
764 msgtype = ptp_get_msgtype(hdr, ptp_class); in am65_skb_get_mtype_seqid()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/ti/
H A Dcpts.c448 unsigned int ptp_class = ptp_classify_raw(skb); in cpts_skb_get_mtype_seqid() local
453 if (ptp_class == PTP_CLASS_NONE) in cpts_skb_get_mtype_seqid()
456 hdr = ptp_parse_header(skb, ptp_class); in cpts_skb_get_mtype_seqid()
460 msgtype = ptp_get_msgtype(hdr, ptp_class); in cpts_skb_get_mtype_seqid()
H A Dam65-cpts.c752 unsigned int ptp_class = ptp_classify_raw(skb); in am65_skb_get_mtype_seqid() local
757 if (ptp_class == PTP_CLASS_NONE) in am65_skb_get_mtype_seqid()
760 hdr = ptp_parse_header(skb, ptp_class); in am65_skb_get_mtype_seqid()
764 msgtype = ptp_get_msgtype(hdr, ptp_class); in am65_skb_get_mtype_seqid()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/mscc/
H A Docelot.c570 unsigned int ptp_class; in ocelot_ptp_is_onestep_sync() local
573 ptp_class = ptp_classify_raw(skb); in ocelot_ptp_is_onestep_sync()
574 if (ptp_class == PTP_CLASS_NONE) in ocelot_ptp_is_onestep_sync()
577 hdr = ptp_parse_header(skb, ptp_class); in ocelot_ptp_is_onestep_sync()
581 msgtype = ptp_get_msgtype(hdr, ptp_class); in ocelot_ptp_is_onestep_sync()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/mscc/
H A Docelot.c570 unsigned int ptp_class; in ocelot_ptp_is_onestep_sync() local
573 ptp_class = ptp_classify_raw(skb); in ocelot_ptp_is_onestep_sync()
574 if (ptp_class == PTP_CLASS_NONE) in ocelot_ptp_is_onestep_sync()
577 hdr = ptp_parse_header(skb, ptp_class); in ocelot_ptp_is_onestep_sync()
581 msgtype = ptp_get_msgtype(hdr, ptp_class); in ocelot_ptp_is_onestep_sync()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/mscc/
H A Docelot.c570 unsigned int ptp_class; in ocelot_ptp_is_onestep_sync() local
573 ptp_class = ptp_classify_raw(skb); in ocelot_ptp_is_onestep_sync()
574 if (ptp_class == PTP_CLASS_NONE) in ocelot_ptp_is_onestep_sync()
577 hdr = ptp_parse_header(skb, ptp_class); in ocelot_ptp_is_onestep_sync()
581 msgtype = ptp_get_msgtype(hdr, ptp_class); in ocelot_ptp_is_onestep_sync()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/freescale/enetc/
H A Denetc.c95 unsigned int ptp_class; in enetc_ptp_parse() local
100 ptp_class = ptp_classify_raw(skb); in enetc_ptp_parse()
101 if (ptp_class == PTP_CLASS_NONE) in enetc_ptp_parse()
104 hdr = ptp_parse_header(skb, ptp_class); in enetc_ptp_parse()
108 type = ptp_class & PTP_CLASS_PMASK; in enetc_ptp_parse()
114 *msgtype = ptp_get_msgtype(hdr, ptp_class); in enetc_ptp_parse()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/freescale/enetc/
H A Denetc.c95 unsigned int ptp_class; in enetc_ptp_parse() local
100 ptp_class = ptp_classify_raw(skb); in enetc_ptp_parse()
101 if (ptp_class == PTP_CLASS_NONE) in enetc_ptp_parse()
104 hdr = ptp_parse_header(skb, ptp_class); in enetc_ptp_parse()
108 type = ptp_class & PTP_CLASS_PMASK; in enetc_ptp_parse()
114 *msgtype = ptp_get_msgtype(hdr, ptp_class); in enetc_ptp_parse()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/freescale/enetc/
H A Denetc.c95 unsigned int ptp_class; in enetc_ptp_parse() local
100 ptp_class = ptp_classify_raw(skb); in enetc_ptp_parse()
101 if (ptp_class == PTP_CLASS_NONE) in enetc_ptp_parse()
104 hdr = ptp_parse_header(skb, ptp_class); in enetc_ptp_parse()
108 type = ptp_class & PTP_CLASS_PMASK; in enetc_ptp_parse()
114 *msgtype = ptp_get_msgtype(hdr, ptp_class); in enetc_ptp_parse()
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c662 unsigned int ptp_class; in dpaa2_eth_ptp_parse() local
667 ptp_class = ptp_classify_raw(skb); in dpaa2_eth_ptp_parse()
668 if (ptp_class == PTP_CLASS_NONE) in dpaa2_eth_ptp_parse()
671 hdr = ptp_parse_header(skb, ptp_class); in dpaa2_eth_ptp_parse()
675 *msgtype = ptp_get_msgtype(hdr, ptp_class); in dpaa2_eth_ptp_parse()
678 type = ptp_class & PTP_CLASS_PMASK; in dpaa2_eth_ptp_parse()
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c662 unsigned int ptp_class; in dpaa2_eth_ptp_parse() local
667 ptp_class = ptp_classify_raw(skb); in dpaa2_eth_ptp_parse()
668 if (ptp_class == PTP_CLASS_NONE) in dpaa2_eth_ptp_parse()
671 hdr = ptp_parse_header(skb, ptp_class); in dpaa2_eth_ptp_parse()
675 *msgtype = ptp_get_msgtype(hdr, ptp_class); in dpaa2_eth_ptp_parse()
678 type = ptp_class & PTP_CLASS_PMASK; in dpaa2_eth_ptp_parse()
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/net/ethernet/freescale/dpaa2/
H A Ddpaa2-eth.c662 unsigned int ptp_class; in dpaa2_eth_ptp_parse() local
667 ptp_class = ptp_classify_raw(skb); in dpaa2_eth_ptp_parse()
668 if (ptp_class == PTP_CLASS_NONE) in dpaa2_eth_ptp_parse()
671 hdr = ptp_parse_header(skb, ptp_class); in dpaa2_eth_ptp_parse()
675 *msgtype = ptp_get_msgtype(hdr, ptp_class); in dpaa2_eth_ptp_parse()
678 type = ptp_class & PTP_CLASS_PMASK; in dpaa2_eth_ptp_parse()