Home
last modified time | relevance | path

Searched refs:rnw (Results 1 – 13 of 13) sorted by relevance

/linux-6.6.21/drivers/i3c/master/mipi-i3c-hci/
Dcmd_v1.c180 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()
Dcmd_v2.c99 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()
Dcore.c203 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()
Dhci.h76 bool rnw; member
Ddma.c350 xfer->rnw ? DMA_FROM_DEVICE : DMA_TO_DEVICE); in hci_dma_unmap_xfer()
393 xfer->rnw ? in hci_dma_queue_xfer()
Dpio.c371 if (xfer->rnw) { in hci_pio_queue_data()
/linux-6.6.21/drivers/base/regmap/
Dregmap-i3c.c15 .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.6.21/drivers/i3c/master/
Dsvc-i3c-master.c133 bool rnw; member
1025 bool rnw, unsigned int xfer_type, u8 addr, in svc_i3c_master_xfer() argument
1038 SVC_I3C_MCTRL_DIR(rnw) | in svc_i3c_master_xfer()
1070 if (rnw) in svc_i3c_master_xfer()
1077 if (rnw) in svc_i3c_master_xfer()
1158 ret = svc_i3c_master_xfer(master, cmd->rnw, xfer->type, in svc_i3c_master_start_xfer_locked()
1242 cmd->rnw = ccc->rnw; in svc_i3c_master_send_bdcast_ccc_cmd()
1266 unsigned int read_len = ccc->rnw ? xfer_len : 0; in svc_i3c_master_send_direct_ccc_cmd()
1280 cmd->rnw = 0; in svc_i3c_master_send_direct_ccc_cmd()
1290 cmd->rnw = ccc->rnw; in svc_i3c_master_send_direct_ccc_cmd()
[all …]
Ddw-i3c-master.c772 if (ccc->rnw) in dw_i3c_master_send_ccc_cmd()
863 if (i3c_xfers[i].rnw) in dw_i3c_master_priv_xfers()
883 if (i3c_xfers[i].rnw) { in dw_i3c_master_priv_xfers()
911 if (i3c_xfers[i].rnw) in dw_i3c_master_priv_xfers()
Di3c-master-cdns.c714 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.6.21/include/linux/i3c/
Dccc.h378 u8 rnw; member
Ddevice.h63 u8 rnw; member
/linux-6.6.21/drivers/i3c/
Dmaster.c657 static void i3c_ccc_cmd_init(struct i3c_ccc_cmd *cmd, bool rnw, u8 id, in i3c_ccc_cmd_init() argument
661 cmd->rnw = rnw ? 1 : 0; in i3c_ccc_cmd_init()