/linux/drivers/i3c/master/mipi-i3c-hci/ |
H A D | cmd_v2.c | 104 xfer->cmd_desc[0] = in hci_cmd_v2_prep_private_xfer() 111 xfer->cmd_desc[1] = in hci_cmd_v2_prep_private_xfer() 113 xfer->cmd_desc[2] = 0; in hci_cmd_v2_prep_private_xfer() 114 xfer->cmd_desc[3] = 0; in hci_cmd_v2_prep_private_xfer() 117 xfer->cmd_desc[3] |= CMD_U3_IDB4(data[4]); in hci_cmd_v2_prep_private_xfer() 120 xfer->cmd_desc[2] |= CMD_U2_IDB3(data[3]); in hci_cmd_v2_prep_private_xfer() 123 xfer->cmd_desc[2] |= CMD_U2_IDB2(data[2]); in hci_cmd_v2_prep_private_xfer() 126 xfer->cmd_desc[2] |= CMD_U2_IDB1(data[1]); in hci_cmd_v2_prep_private_xfer() 129 xfer->cmd_desc[2] |= CMD_U2_IDB0(data[0]); in hci_cmd_v2_prep_private_xfer() 137 xfer->cmd_desc[0] = in hci_cmd_v2_prep_private_xfer() [all …]
|
H A D | cmd_v1.c | 149 xfer->cmd_desc[1] = 0; in fill_data_bytes() 152 xfer->cmd_desc[1] |= CMD_I1_DATA_BYTE_4(data[3]); in fill_data_bytes() 155 xfer->cmd_desc[1] |= CMD_I1_DATA_BYTE_3(data[2]); in fill_data_bytes() 158 xfer->cmd_desc[1] |= CMD_I1_DATA_BYTE_2(data[1]); in fill_data_bytes() 161 xfer->cmd_desc[1] |= CMD_I1_DATA_BYTE_1(data[0]); in fill_data_bytes() 196 xfer->cmd_desc[0] = in hci_cmd_v1_prep_ccc() 206 xfer->cmd_desc[0] = in hci_cmd_v1_prep_ccc() 213 xfer->cmd_desc[1] = in hci_cmd_v1_prep_ccc() 235 xfer->cmd_desc[0] = in hci_cmd_v1_prep_i3c_xfer() 244 xfer->cmd_desc[0] = in hci_cmd_v1_prep_i3c_xfer() [all …]
|
H A D | core.c | 223 xfer[i].cmd_desc[0] |= CMD_0_ROC; in i3c_hci_send_ccc_cmd() 226 xfer[last].cmd_desc[0] |= CMD_0_TOC; in i3c_hci_send_ccc_cmd() 335 xfer[i].cmd_desc[0] |= CMD_0_ROC; in i3c_hci_priv_xfers() 341 xfer[last].cmd_desc[0] |= CMD_0_TOC; in i3c_hci_priv_xfers() 389 xfer[i].cmd_desc[0] |= CMD_0_ROC; in i3c_hci_i2c_xfers() 395 xfer[last].cmd_desc[0] |= CMD_0_TOC; in i3c_hci_i2c_xfers()
|
/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/media/platform/amphion/ |
H A D | vpu_dbg.c | 285 iface->cmd_desc->start, in vpu_dbg_core() 286 iface->cmd_desc->end, in vpu_dbg_core() 287 iface->cmd_desc->wptr, in vpu_dbg_core() 288 iface->cmd_desc->rptr); in vpu_dbg_core()
|
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()
|
H A D | vpu_malone.c | 366 shared->cmd_desc = &iface->cmd_buffer_desc.buffer; in vpu_malone_init_rpc()
|
/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/net/wireless/realtek/rtl818x/rtl8180/ |
H A D | dev.c | 214 struct rtl818x_rx_cmd_desc *cmd_desc; in rtl8180_handle_rx() local 331 cmd_desc = entry; in rtl8180_handle_rx() 332 cmd_desc->rx_buf = cpu_to_le32(*((dma_addr_t *)skb->cb)); in rtl8180_handle_rx() 333 cmd_desc->flags = cpu_to_le32(RTL818X_RX_DESC_FLAG_OWN | in rtl8180_handle_rx() 336 cmd_desc->flags |= in rtl8180_handle_rx()
|
/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/arch/alpha/kernel/ |
H A D | core_cia.c | 1080 static const char * const cmd_desc[16] = { in cia_decode_parity_error() local 1095 cmd = cmd_desc[(cia->cpu_err1 >> 8) & 0xF]; in cia_decode_parity_error()
|