Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

i3c: mipi-i3c-hci: Remove duplicate blank lines

Remove duplicate blank lines from mipi-i3c-hci code.

Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
Reviewed-by: Frank Li <Frank.Li@nxp.com>
Link: https://patch.msgid.link/20260106164416.67074-2-adrian.hunter@intel.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>

authored by

Adrian Hunter and committed by
Alexandre Belloni
840688d8 8564f88d

-17
-2
drivers/i3c/master/mipi-i3c-hci/cmd_v1.c
··· 15 15 #include "dat.h" 16 16 #include "dct.h" 17 17 18 - 19 18 /* 20 19 * Address Assignment Command 21 20 */ ··· 98 99 #define CMD_M0_MIPI_CMD W0_MASK(11, 8) 99 100 #define CMD_M0_VENDOR_INFO_PRESENT W0_BIT_( 7) 100 101 #define CMD_M0_TID(v) FIELD_PREP(W0_MASK( 6, 3), v) 101 - 102 102 103 103 /* Data Transfer Speed and Mode */ 104 104 enum hci_cmd_mode {
-2
drivers/i3c/master/mipi-i3c-hci/cmd_v2.c
··· 16 16 #include "cmd.h" 17 17 #include "xfer_mode_rate.h" 18 18 19 - 20 19 /* 21 20 * Unified Data Transfer Command 22 21 */ ··· 60 61 #define CMD_A0_XFER_RATE(v) FIELD_PREP(W0_MASK( 17, 15), v) 61 62 #define CMD_A0_ASSIGN_ADDRESS(v) FIELD_PREP(W0_MASK( 14, 8), v) 62 63 #define CMD_A0_TID(v) FIELD_PREP(W0_MASK( 6, 3), v) 63 - 64 64 65 65 static unsigned int get_i3c_rate_idx(struct i3c_hci *hci) 66 66 {
-2
drivers/i3c/master/mipi-i3c-hci/core.c
··· 21 21 #include "cmd.h" 22 22 #include "dat.h" 23 23 24 - 25 24 /* 26 25 * Host Controller Capabilities and Operation Registers 27 26 */ ··· 107 108 108 109 #define DEV_CTX_BASE_LO 0x60 109 110 #define DEV_CTX_BASE_HI 0x64 110 - 111 111 112 112 static inline struct i3c_hci *to_i3c_hci(struct i3c_master_controller *m) 113 113 {
-1
drivers/i3c/master/mipi-i3c-hci/dat_v1.c
··· 15 15 #include "hci.h" 16 16 #include "dat.h" 17 17 18 - 19 18 /* 20 19 * Device Address Table Structure 21 20 */
-2
drivers/i3c/master/mipi-i3c-hci/dma.c
··· 20 20 #include "cmd.h" 21 21 #include "ibi.h" 22 22 23 - 24 23 /* 25 24 * Software Parameter Values (somewhat arb itrary for now). 26 25 * Some of them could be determined at run time eventually. ··· 122 123 #define DATA_BUF_BLP BIT(31) /* Buffer Vs. List Pointer */ 123 124 #define DATA_BUF_IOC BIT(30) /* Interrupt on Completion */ 124 125 #define DATA_BUF_BLOCK_SIZE GENMASK(15, 0) 125 - 126 126 127 127 struct hci_rh_data { 128 128 void __iomem *regs;
-1
drivers/i3c/master/mipi-i3c-hci/ext_caps.c
··· 16 16 #include "ext_caps.h" 17 17 #include "xfer_mode_rate.h" 18 18 19 - 20 19 /* Extended Capability Header */ 21 20 #define CAP_HEADER_LENGTH GENMASK(23, 8) 22 21 #define CAP_HEADER_ID GENMASK(7, 0)
-1
drivers/i3c/master/mipi-i3c-hci/ext_caps.h
··· 13 13 /* MIPI vendor IDs */ 14 14 #define MIPI_VENDOR_NXP 0x11b 15 15 16 - 17 16 int i3c_hci_parse_ext_caps(struct i3c_hci *hci); 18 17 19 18 #endif
-5
drivers/i3c/master/mipi-i3c-hci/hci.h
··· 62 62 void *vendor_data; 63 63 }; 64 64 65 - 66 65 /* 67 66 * Structure to represent a master initiated transfer. 68 67 * The rnw, data and data_len fields must be initialized before calling any ··· 107 108 kfree(xfer); 108 109 } 109 110 110 - 111 111 /* This abstracts PIO vs DMA operations */ 112 112 struct hci_io_ops { 113 113 bool (*irq_handler)(struct i3c_hci *hci); ··· 124 126 extern const struct hci_io_ops mipi_i3c_hci_pio; 125 127 extern const struct hci_io_ops mipi_i3c_hci_dma; 126 128 127 - 128 129 /* Our per device master private data */ 129 130 struct i3c_hci_dev_data { 130 131 int dat_idx; 131 132 void *ibi_data; 132 133 }; 133 134 134 - 135 135 /* list of quirks */ 136 136 #define HCI_QUIRK_RAW_CCC BIT(1) /* CCC framing must be explicit */ 137 137 #define HCI_QUIRK_PIO_MODE BIT(2) /* Set PIO mode for AMD platforms */ 138 138 #define HCI_QUIRK_OD_PP_TIMING BIT(3) /* Set OD and PP timings for AMD platforms */ 139 139 #define HCI_QUIRK_RESP_BUF_THLD BIT(4) /* Set resp buf thld to 0 for AMD platforms */ 140 - 141 140 142 141 /* global functions */ 143 142 void mipi_i3c_hci_resume(struct i3c_hci *hci);
-1
drivers/i3c/master/mipi-i3c-hci/pio.c
··· 15 15 #include "cmd.h" 16 16 #include "ibi.h" 17 17 18 - 19 18 /* 20 19 * PIO Access Area 21 20 */