| /linux/drivers/i3c/master/mipi-i3c-hci/ |
| H A D | cmd_v2.c | 102 xfer->cmd_desc[0] = in hci_cmd_v2_prep_private_xfer() 109 xfer->cmd_desc[1] = in hci_cmd_v2_prep_private_xfer() 111 xfer->cmd_desc[2] = 0; in hci_cmd_v2_prep_private_xfer() 112 xfer->cmd_desc[3] = 0; in hci_cmd_v2_prep_private_xfer() 115 xfer->cmd_desc[3] |= CMD_U3_IDB4(data[4]); in hci_cmd_v2_prep_private_xfer() 118 xfer->cmd_desc[2] |= CMD_U2_IDB3(data[3]); in hci_cmd_v2_prep_private_xfer() 121 xfer->cmd_desc[2] |= CMD_U2_IDB2(data[2]); in hci_cmd_v2_prep_private_xfer() 124 xfer->cmd_desc[2] |= CMD_U2_IDB1(data[1]); in hci_cmd_v2_prep_private_xfer() 127 xfer->cmd_desc[2] |= CMD_U2_IDB0(data[0]); in hci_cmd_v2_prep_private_xfer() 135 xfer->cmd_desc[0] = in hci_cmd_v2_prep_private_xfer() [all …]
|
| H A D | cmd_v1.c | 147 xfer->cmd_desc[1] = 0; in fill_data_bytes() 150 xfer->cmd_desc[1] |= CMD_I1_DATA_BYTE_4(data[3]); in fill_data_bytes() 153 xfer->cmd_desc[1] |= CMD_I1_DATA_BYTE_3(data[2]); in fill_data_bytes() 156 xfer->cmd_desc[1] |= CMD_I1_DATA_BYTE_2(data[1]); in fill_data_bytes() 159 xfer->cmd_desc[1] |= CMD_I1_DATA_BYTE_1(data[0]); in fill_data_bytes() 194 xfer->cmd_desc[0] = in hci_cmd_v1_prep_ccc() 204 xfer->cmd_desc[0] = in hci_cmd_v1_prep_ccc() 211 xfer->cmd_desc[1] = in hci_cmd_v1_prep_ccc() 233 xfer->cmd_desc[0] = in hci_cmd_v1_prep_i3c_xfer() 242 xfer->cmd_desc[0] = in hci_cmd_v1_prep_i3c_xfer() [all …]
|
| H A D | pio.c | 250 0, xfer->cmd_desc[0]); in hci_pio_write_cmd() 252 1, xfer->cmd_desc[1]); in hci_pio_write_cmd() 253 pio_reg_write(COMMAND_QUEUE_PORT, xfer->cmd_desc[0]); in hci_pio_write_cmd() 254 pio_reg_write(COMMAND_QUEUE_PORT, xfer->cmd_desc[1]); in hci_pio_write_cmd() 257 2, xfer->cmd_desc[2]); in hci_pio_write_cmd() 259 3, xfer->cmd_desc[3]); in hci_pio_write_cmd() 260 pio_reg_write(COMMAND_QUEUE_PORT, xfer->cmd_desc[2]); in hci_pio_write_cmd() 261 pio_reg_write(COMMAND_QUEUE_PORT, xfer->cmd_desc[3]); in hci_pio_write_cmd() 575 if (!(xfer->cmd_desc[0] & CMD_0_ROC)) in hci_pio_queue_resp()
|
| H A D | core.c | 314 xfer[i].cmd_desc[0] |= CMD_0_ROC; in i3c_hci_send_ccc_cmd() 317 xfer[last].cmd_desc[0] |= CMD_0_TOC; in i3c_hci_send_ccc_cmd() 392 xfer[i].cmd_desc[0] |= CMD_0_ROC; in i3c_hci_i3c_xfers() 395 xfer[last].cmd_desc[0] |= CMD_0_TOC; in i3c_hci_i3c_xfers() 436 xfer[i].cmd_desc[0] |= CMD_0_ROC; in i3c_hci_i2c_xfers() 439 xfer[last].cmd_desc[0] |= CMD_0_TOC; in i3c_hci_i2c_xfers()
|
| H A D | dma.c | 500 *ring_data++ = xfer->cmd_desc[0]; in hci_dma_queue_xfer() 501 *ring_data++ = xfer->cmd_desc[1]; in hci_dma_queue_xfer() 503 *ring_data++ = xfer->cmd_desc[2]; in hci_dma_queue_xfer() 504 *ring_data++ = xfer->cmd_desc[3]; in hci_dma_queue_xfer()
|
| H A D | hci.h | 85 u32 cmd_desc[4]; member
|
| /linux/drivers/net/ethernet/3com/ |
| H A D | typhoon.h | 317 struct cmd_desc { struct 365 do { struct cmd_desc *_ptr = (x); \ argument 366 memset(_ptr, 0, sizeof(struct cmd_desc)); \ 373 do { struct cmd_desc *_ptr = (x); \ 374 memset(_ptr, 0, sizeof(struct cmd_desc)); \
|
| H A D | typhoon.c | 81 #define COMMAND_RING_SIZE (COMMAND_ENTRIES * sizeof(struct cmd_desc)) 242 struct cmd_desc cmd[COMMAND_ENTRIES] __3xp_aligned; 335 *index += count * sizeof(struct cmd_desc); in typhoon_inc_index() 336 *index %= num_entries * sizeof(struct cmd_desc); in typhoon_inc_index() 457 struct cmd_desc *cmd; in typhoon_hello() 464 cmd = (struct cmd_desc *)(ring->ringBase + ring->lastWrite); in typhoon_hello() 539 lastWrite /= sizeof(struct cmd_desc); in typhoon_num_free() 540 lastRead /= sizeof(struct cmd_desc); in typhoon_num_free() 570 typhoon_issue_command(struct typhoon *tp, int num_cmd, struct cmd_desc *cmd, in typhoon_issue_command() 613 struct cmd_desc *wrap_ptr = cmd; in typhoon_issue_command() [all …]
|
| /linux/drivers/net/ethernet/qlogic/netxen/ |
| H A D | netxen_nic.h | 295 #define netxen_set_tx_vlan_tci(cmd_desc, v) \ argument 296 (cmd_desc)->vlan_TCI = cpu_to_le16(v); 298 #define netxen_set_cmd_desc_port(cmd_desc, var) \ argument 299 ((cmd_desc)->port_ctxid |= ((var) & 0x0F)) 300 #define netxen_set_cmd_desc_ctxid(cmd_desc, var) \ argument 301 ((cmd_desc)->port_ctxid |= ((var) << 4 & 0xF0))
|
| /linux/drivers/media/platform/amphion/ |
| H A D | vpu_rpc.c | 66 desc = shared->cmd_desc; in vpu_rpc_send_cmd_buf()
|
| H A D | vpu_rpc.h | 21 struct vpu_rpc_buffer_desc *cmd_desc; member
|
| H A D | vpu_windsor.c | 579 shared->cmd_desc = &iface->cmd_buffer_desc; in vpu_windsor_init_rpc()
|
| /linux/drivers/net/ethernet/qlogic/qlcnic/ |
| H A D | qlcnic_io.c | 31 #define qlcnic_set_tx_vlan_tci(cmd_desc, v) \ argument 32 (cmd_desc)->vlan_TCI = cpu_to_le16(v); 33 #define qlcnic_set_cmd_desc_port(cmd_desc, var) \ argument 34 ((cmd_desc)->port_ctxid |= ((var) & 0x0F)) 35 #define qlcnic_set_cmd_desc_ctxid(cmd_desc, var) \ argument 36 ((cmd_desc)->port_ctxid |= ((var) << 4 & 0xF0))
|
| H A D | qlcnic_hw.c | 386 struct cmd_desc_type0 *cmd_desc; in qlcnic_send_cmd_descs() local 413 cmd_desc = &cmd_desc_arr[i]; in qlcnic_send_cmd_descs() 420 cmd_desc, sizeof(struct cmd_desc_type0)); in qlcnic_send_cmd_descs()
|
| /linux/drivers/ata/ |
| H A D | sata_fsl.c | 433 static unsigned int sata_fsl_fill_sg(struct ata_queued_cmd *qc, void *cmd_desc, in sata_fsl_fill_sg() argument 445 cmd_desc)->prdt; in sata_fsl_fill_sg()
|