Defined in 1 files as a function:

Referenced in 2 files:

Smatch caller information:

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_ctrl_request() -> pd_header_type_le()

Type Parameter Key Value
BIT_INFO 0 header 0x0,0x7fff
RX_PATH
LOCK2 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_data_request() -> pd_header_type_le()

Type Parameter Key Value
BIT_INFO 0 header 0x0,0x7fff
RX_PATH
LOCK2 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_ext_msg_request() -> pd_header_type_le()

Type Parameter Key Value
BIT_INFO 0 header 0x8000,0xffff
RX_PATH
LOCK2 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/tcpm.c tcpm_pd_rx_handler() -> pd_header_type_le()

Type Parameter Key Value
RX_PATH
LOCK2 &port->lock
TYPE_LOCK (struct tcpm_port)->lock

drivers/usb/typec/tcpm/fusb302.c fusb302_pd_read_message() -> pd_header_type_le()

Type Parameter Key Value
LOCK2 &chip->lock
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct fusb302_chip)->lock