Searched refs:rnw (Results 1 – 13 of 13) sorted by relevance
/linux-6.1.9/drivers/i3c/master/mipi-i3c-hci/ |
D | cmd_v1.c | 180 bool rnw = xfer->rnw; in hci_cmd_v1_prep_ccc() local 196 if (!rnw && data_len <= 4) { in hci_cmd_v1_prep_ccc() 214 (rnw ? CMD_R0_RNW : 0); in hci_cmd_v1_prep_ccc() 231 bool rnw = xfer->rnw; in hci_cmd_v1_prep_i3c_xfer() local 235 if (!rnw && data_len <= 4) { in hci_cmd_v1_prep_i3c_xfer() 251 (rnw ? CMD_R0_RNW : 0); in hci_cmd_v1_prep_i3c_xfer() 266 bool rnw = xfer->rnw; in hci_cmd_v1_prep_i2c_xfer() local 270 if (!rnw && data_len <= 4) { in hci_cmd_v1_prep_i2c_xfer() 286 (rnw ? CMD_R0_RNW : 0); in hci_cmd_v1_prep_i2c_xfer()
|
D | cmd_v2.c | 99 bool rnw = xfer->rnw; in hci_cmd_v2_prep_private_xfer() local 103 if (!rnw && data_len <= 5) { in hci_cmd_v2_prep_private_xfer() 140 (rnw ? CMD_U0_RnW : 0) | in hci_cmd_v2_prep_private_xfer() 158 bool rnw = xfer->rnw; in hci_cmd_v2_prep_ccc() local 167 if (!rnw && data_len <= 4) { in hci_cmd_v2_prep_ccc() 202 (rnw ? CMD_U0_RnW : 0) | in hci_cmd_v2_prep_ccc() 255 xfer[0].rnw = true; in hci_cmd_v2_daa()
|
D | core.c | 203 ccc->id, ccc->rnw, ccc->ndests, ccc->dests[0].payload.len); in i3c_hci_send_ccc_cmd() 212 xfer->rnw = false; in i3c_hci_send_ccc_cmd() 221 xfer[i].rnw = ccc->rnw; in i3c_hci_send_ccc_cmd() 244 if (ccc->rnw) in i3c_hci_send_ccc_cmd() 253 if (ccc->rnw) in i3c_hci_send_ccc_cmd() 295 xfer[i].rnw = i3c_xfers[i].rnw; in i3c_hci_priv_xfers() 296 if (i3c_xfers[i].rnw) { in i3c_hci_priv_xfers() 318 if (i3c_xfers[i].rnw) in i3c_hci_priv_xfers() 349 xfer[i].rnw = i2c_xfers[i].flags & I2C_M_RD; in i3c_hci_i2c_xfers()
|
D | hci.h | 76 bool rnw; member
|
D | dma.c | 350 xfer->rnw ? DMA_FROM_DEVICE : DMA_TO_DEVICE); in hci_dma_unmap_xfer() 393 xfer->rnw ? in hci_dma_queue_xfer()
|
D | pio.c | 371 if (xfer->rnw) { in hci_pio_queue_data()
|
/linux-6.1.9/drivers/base/regmap/ |
D | regmap-i3c.c | 15 .rnw = false, in regmap_i3c_write() 32 xfers[0].rnw = false; in regmap_i3c_read() 36 xfers[1].rnw = true; in regmap_i3c_read()
|
/linux-6.1.9/drivers/i3c/master/ |
D | svc-i3c-master.c | 131 bool rnw; member 991 bool rnw, unsigned int xfer_type, u8 addr, in svc_i3c_master_xfer() argument 1001 SVC_I3C_MCTRL_DIR(rnw) | in svc_i3c_master_xfer() 1011 if (rnw) in svc_i3c_master_xfer() 1018 if (rnw) in svc_i3c_master_xfer() 1105 ret = svc_i3c_master_xfer(master, cmd->rnw, xfer->type, in svc_i3c_master_start_xfer_locked() 1182 cmd->rnw = ccc->rnw; in svc_i3c_master_send_bdcast_ccc_cmd() 1204 unsigned int read_len = ccc->rnw ? xfer_len : 0; in svc_i3c_master_send_direct_ccc_cmd() 1218 cmd->rnw = 0; in svc_i3c_master_send_direct_ccc_cmd() 1228 cmd->rnw = ccc->rnw; in svc_i3c_master_send_direct_ccc_cmd() [all …]
|
D | dw-i3c-master.c | 753 if (ccc->rnw) in dw_i3c_master_send_ccc_cmd() 844 if (i3c_xfers[i].rnw) in dw_i3c_master_priv_xfers() 864 if (i3c_xfers[i].rnw) { in dw_i3c_master_priv_xfers()
|
D | i3c-master-cdns.c | 714 if (cmd->rnw) { in cdns_i3c_master_send_ccc_cmd() 760 if (xfers[i].rnw) in cdns_i3c_master_priv_xfers() 781 if (xfers[i].rnw) { in cdns_i3c_master_priv_xfers()
|
/linux-6.1.9/include/linux/i3c/ |
D | ccc.h | 378 u8 rnw; member
|
D | device.h | 62 u8 rnw; member
|
/linux-6.1.9/drivers/i3c/ |
D | master.c | 645 static void i3c_ccc_cmd_init(struct i3c_ccc_cmd *cmd, bool rnw, u8 id, in i3c_ccc_cmd_init() argument 649 cmd->rnw = rnw ? 1 : 0; in i3c_ccc_cmd_init()
|