drivers/i3c/master/mipi-i3c-hci/ibi.h

Source file repositories/reference/linux-study-clean/drivers/i3c/master/mipi-i3c-hci/ibi.h

File Facts

System
Linux kernel
Corpus path
drivers/i3c/master/mipi-i3c-hci/ibi.h
Extension
.h
Size
727 bytes
Lines
32
Domain
Driver Families
Bucket
drivers/i3c
Inferred role
Driver Families: implementation source
Status
source implementation candidate

Why This File Exists

Repeatable hardware-adapter layer. Deep compatibility for every driver is out of scope; this atlas records patterns, probe lifecycles, bus glue, IRQ/DMA usage, and links back to core abstractions.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef IBI_H
#define IBI_H

/*
 * IBI Status Descriptor bits
 */
#define IBI_STS				BIT(31)
#define IBI_ERROR			BIT(30)
#define IBI_STATUS_TYPE			BIT(29)
#define IBI_HW_CONTEXT			GENMASK(28, 26)
#define IBI_TS				BIT(25)
#define IBI_LAST_STATUS			BIT(24)
#define IBI_CHUNKS			GENMASK(23, 16)
#define IBI_ID				GENMASK(15, 8)
#define IBI_TARGET_ADDR			GENMASK(15, 9)
#define IBI_TARGET_RNW			BIT(8)
#define IBI_DATA_LENGTH			GENMASK(7, 0)

/*  handy helpers */
struct i3c_dev_desc *i3c_hci_addr_to_dev(struct i3c_hci *hci, unsigned int addr);

#endif

Annotation

Implementation Notes