xref: /kernel/linux/linux-6.6/include/linux/usb/pd_bdo.h (revision 62306a36)
  • Home
  • History
  • Annotate Annotate
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
  • only in /kernel/linux/linux-6.6/include/linux/usb/
162306a36Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
262306a36Sopenharmony_ci/*
362306a36Sopenharmony_ci * Copyright 2015-2017 Google, Inc
462306a36Sopenharmony_ci */
562306a36Sopenharmony_ci
662306a36Sopenharmony_ci#ifndef __LINUX_USB_PD_BDO_H
762306a36Sopenharmony_ci#define __LINUX_USB_PD_BDO_H
862306a36Sopenharmony_ci
962306a36Sopenharmony_ci/* BDO : BIST Data Object */
1062306a36Sopenharmony_ci#define BDO_MODE_RECV		(0 << 28)
1162306a36Sopenharmony_ci#define BDO_MODE_TRANSMIT	(1 << 28)
1262306a36Sopenharmony_ci#define BDO_MODE_COUNTERS	(2 << 28)
1362306a36Sopenharmony_ci#define BDO_MODE_CARRIER0	(3 << 28)
1462306a36Sopenharmony_ci#define BDO_MODE_CARRIER1	(4 << 28)
1562306a36Sopenharmony_ci#define BDO_MODE_CARRIER2	(5 << 28)
1662306a36Sopenharmony_ci#define BDO_MODE_CARRIER3	(6 << 28)
1762306a36Sopenharmony_ci#define BDO_MODE_EYE		(7 << 28)
1862306a36Sopenharmony_ci#define BDO_MODE_TESTDATA	(8U << 28)
1962306a36Sopenharmony_ci
2062306a36Sopenharmony_ci#define BDO_MODE_MASK(mode)	((mode) & 0xf0000000)
2162306a36Sopenharmony_ci
2262306a36Sopenharmony_ci#endif
23

Indexes created Thu Nov 07 10:32:03 CST 2024