/openbmc/google-misc/subprojects/ncsid/src/platforms/nemora/portable/ |
H A D | ncsi_client.c | 85 uint8_t cmd_type) in set_header_fields() argument 98 header->control_packet_type = cmd_type; in set_header_fields() 104 uint32_t ncsi_get_response_size(uint8_t cmd_type) in ncsi_get_response_size() argument 106 return (cmd_type < ARRAY_SIZE(ncsi_response_size_table)) in ncsi_get_response_size() 107 ? ncsi_response_size_table[cmd_type] in ncsi_get_response_size() 276 uint8_t cmd_type, bool is_oem, in ncsi_validate_response() argument 287 const uint8_t std_cmd_type = is_oem ? NCSI_OEM_COMMAND : cmd_type; in ncsi_validate_response() 305 oem_response->oem_header.oem_cmd != cmd_type) { in ncsi_validate_response() 314 uint8_t cmd_type) { in ncsi_validate_std_response() argument 315 const uint32_t expected_size = ncsi_get_response_size(cmd_type); in ncsi_validate_std_response() [all …]
|
H A D | ncsi_client.h | 56 uint32_t ncsi_get_response_size(uint8_t cmd_type); 251 uint8_t cmd_type, bool is_oem, 262 uint8_t cmd_type); 273 uint8_t cmd_type);
|
/openbmc/linux/drivers/virt/nitro_enclaves/ |
H A D | ne_pci_dev.c | 46 static void ne_submit_request(struct pci_dev *pdev, enum ne_pci_dev_cmd_type cmd_type, in ne_submit_request() argument 53 iowrite32(cmd_type, ne_pci_dev->iomem_base + NE_COMMAND); in ne_submit_request() 99 int ne_do_request(struct pci_dev *pdev, enum ne_pci_dev_cmd_type cmd_type, in ne_do_request() argument 106 if (cmd_type <= INVALID_CMD || cmd_type >= MAX_CMD) { in ne_do_request() 107 dev_err_ratelimited(&pdev->dev, "Invalid cmd type=%u\n", cmd_type); in ne_do_request() 114 cmd_type); in ne_do_request() 121 cmd_request_size, cmd_type); in ne_do_request() 128 cmd_type); in ne_do_request() 135 cmd_reply_size, cmd_type); in ne_do_request() 148 ne_submit_request(pdev, cmd_type, cmd_request, cmd_request_size); in ne_do_request() [all …]
|
/openbmc/linux/include/uapi/drm/ |
H A D | radeon_drm.h | 191 unsigned char cmd_type, pad0, pad1, pad2; member 194 unsigned char cmd_type, packet_id, pad0, pad1; member 197 unsigned char cmd_type, offset, stride, count; member 200 unsigned char cmd_type, offset, stride, count; member 203 unsigned char cmd_type, addr_lo, addr_hi, count; member 206 unsigned char cmd_type, buf_idx, pad0, pad1; member 209 unsigned char cmd_type, flags, pad0, pad1; member 254 unsigned char cmd_type, pad0, pad1, pad2; member 257 unsigned char cmd_type, count, reglo, reghi; member 260 unsigned char cmd_type, count, adrlo, adrhi; member [all …]
|
/openbmc/linux/drivers/irqchip/ |
H A D | irq-gic-v4.c | 241 info.cmd_type = DESCHEDULE_VPE; in its_make_vpe_non_resident() 267 info.cmd_type = SCHEDULE_VPE; in its_make_vpe_resident() 286 .cmd_type = COMMIT_VPE, in its_commit_vpe() 303 .cmd_type = INVALL_VPE, in its_invall_vpe() 312 .cmd_type = MAP_VLPI, in its_map_vlpi() 335 .cmd_type = GET_VLPI, in its_get_vlpi() 353 .cmd_type = inv ? PROP_UPDATE_AND_INV_VLPI : PROP_UPDATE_VLPI, in its_prop_update_vlpi() 365 .cmd_type = PROP_UPDATE_VSGI, in its_prop_update_vsgi()
|
/openbmc/linux/drivers/net/fddi/ |
H A D | defxx.h | 275 PI_UINT32 cmd_type; member 284 PI_UINT32 cmd_type; member 300 PI_UINT32 cmd_type; member 315 PI_UINT32 cmd_type; member 339 PI_UINT32 cmd_type; member 362 PI_UINT32 cmd_type; member 385 PI_UINT32 cmd_type; member 405 PI_UINT32 cmd_type; member 643 PI_UINT32 cmd_type; member 658 PI_UINT32 cmd_type; member [all …]
|
/openbmc/openpower-occ-control/ |
H A D | occ_command.cpp | 116 const uint8_t cmd_type = command[0]; in send() local 119 occInstance, "CMD", lg2::hex, cmd_type, "LEN", command.size(), in send() 135 "INST", occInstance, "CMD", lg2::hex, cmd_type, "ERR", in send() 173 "INST", occInstance, "CMD", lg2::hex, cmd_type, "ERR", in send() 190 "INST", occInstance, "CMD", lg2::hex, cmd_type, "LEN", in send()
|
/openbmc/linux/drivers/fsi/ |
H A D | fsi-occ.c | 62 u8 cmd_type; member 242 checksum += resp->cmd_type; in occ_verify_checksum() 458 u8 cmd_type) in fsi_occ_response_not_ready() argument 462 resp->seq_no != seq_no || resp->cmd_type != cmd_type; in fsi_occ_response_not_ready() 475 u8 cmd_type; in fsi_occ_submit() local 493 cmd_type = byte_request[1]; in fsi_occ_submit() 540 if (fsi_occ_response_not_ready(resp, seq_no, cmd_type)) { in fsi_occ_submit() 545 resp->cmd_type, seq_no, cmd_type); in fsi_occ_submit() 577 cmd_type)) in fsi_occ_submit()
|
/openbmc/linux/drivers/scsi/qedf/ |
H A D | qedf_io.c | 34 switch (io_req->cmd_type) { in qedf_cmd_timeout() 298 struct qedf_ioreq *qedf_alloc_cmd(struct qedf_rport *fcport, u8 cmd_type) in qedf_alloc_cmd() argument 387 io_req->cmd_type = cmd_type; in qedf_alloc_cmd() 440 if (io_req->cmd_type == QEDF_SCSI_CMD) { in qedf_release_cmd() 447 if (io_req->cmd_type == QEDF_ELS || in qedf_release_cmd() 448 io_req->cmd_type == QEDF_TASK_MGMT_CMD) in qedf_release_cmd() 567 if (io_req->cmd_type == QEDF_TASK_MGMT_CMD) { in qedf_build_fcp_cmnd() 579 if (io_req->cmd_type != QEDF_TASK_MGMT_CMD) in qedf_build_fcp_cmnd() 610 if (io_req->cmd_type == QEDF_TASK_MGMT_CMD) { in qedf_init_task() 634 if (io_req->cmd_type != QEDF_TASK_MGMT_CMD) { in qedf_init_task() [all …]
|
/openbmc/linux/tools/accounting/ |
H A D | getdelays.c | 282 int cmd_type = TASKSTATS_CMD_ATTR_UNSPEC; in main() local 348 cmd_type = TASKSTATS_CMD_ATTR_TGID; in main() 354 cmd_type = TASKSTATS_CMD_ATTR_PID; in main() 375 cmd_type = TASKSTATS_CMD_ATTR_PID; in main() 441 cmd_type, &tid, sizeof(__u32)); in main()
|
/openbmc/linux/drivers/net/can/usb/etas_es58x/ |
H A D | es581_4.c | 271 if (es581_4_urb_cmd->cmd_type != ES581_4_CAN_COMMAND_TYPE) { in es581_4_handle_urb_cmd() 273 __func__, es581_4_urb_cmd->cmd_type); in es581_4_handle_urb_cmd() 333 static void es581_4_fill_urb_header(union es58x_urb_cmd *urb_cmd, u8 cmd_type, in es581_4_fill_urb_header() argument 339 es581_4_urb_cmd->cmd_type = cmd_type; in es581_4_fill_urb_header()
|
H A D | es58x_fd.c | 295 switch ((enum es58x_fd_cmd_type)es58x_fd_urb_cmd->cmd_type) { in es58x_fd_handle_urb_cmd() 313 __func__, es58x_fd_urb_cmd->cmd_type, in es58x_fd_handle_urb_cmd() 319 static void es58x_fd_fill_urb_header(union es58x_urb_cmd *urb_cmd, u8 cmd_type, in es58x_fd_fill_urb_header() argument 325 es58x_fd_urb_cmd->cmd_type = cmd_type; in es58x_fd_fill_urb_header()
|
H A D | es58x_core.h | 223 u8 cmd_type; member 353 void (*fill_urb_header)(union es58x_urb_cmd *urb_cmd, u8 cmd_type, 735 int es58x_send_msg(struct es58x_device *es58x_dev, u8 cmd_type, u8 cmd_id,
|
/openbmc/u-boot/drivers/i2c/ |
H A D | s3c24x0_i2c.c | 104 unsigned char cmd_type, in i2c_transfer() argument 129 if ((cmd_type == I2C_WRITE) || (addr && addr_len)) in i2c_transfer() 153 switch (cmd_type) { in i2c_transfer()
|
/openbmc/linux/drivers/staging/greybus/ |
H A D | sdio.c | 414 u8 cmd_type; in gb_sdio_command() local 443 cmd_type = GB_SDIO_CMD_BC; in gb_sdio_command() 446 cmd_type = GB_SDIO_CMD_BCR; in gb_sdio_command() 449 cmd_type = GB_SDIO_CMD_AC; in gb_sdio_command() 452 cmd_type = GB_SDIO_CMD_ADTC; in gb_sdio_command() 463 request.cmd_type = cmd_type; in gb_sdio_command()
|
/openbmc/linux/include/linux/ |
H A D | io_uring_types.h | 522 #define io_kiocb_to_cmd(req, cmd_type) ( \ argument 523 io_kiocb_cmd_sz_check(sizeof(cmd_type)) , \ 524 ((cmd_type *)&(req)->cmd) \
|
/openbmc/linux/drivers/scsi/bnx2fc/ |
H A D | bnx2fc_io.c | 44 u8 cmd_type = io_req->cmd_type; in bnx2fc_cmd_timeout() local 49 "req_flags = %lx\n", cmd_type, io_req->req_flags); in bnx2fc_cmd_timeout() 67 switch (cmd_type) { in bnx2fc_cmd_timeout() 152 cmd_type); in bnx2fc_cmd_timeout() 172 if (io_req->cmd_type != BNX2FC_SCSI_CMD) in bnx2fc_scsi_done() 452 io_req->cmd_type = type; in bnx2fc_elstm_alloc() 524 if (io_req->cmd_type == BNX2FC_SCSI_CMD) in bnx2fc_cmd_release() 531 if (io_req->cmd_type != BNX2FC_SCSI_CMD) in bnx2fc_cmd_release() 592 if (io_req->cmd_type != BNX2FC_ELS) { in bnx2fc_init_mp_req() 1297 seq_clnp_req->xid, seq_clnp_req->cmd_type); in bnx2fc_process_seq_cleanup_compl() [all …]
|
/openbmc/linux/drivers/nfc/ |
H A D | port100.c | 81 #define PORT100_CMD_TYPE_IS_SUPPORTED(mask, cmd_type) \ argument 82 ((mask) & (0x01 << (cmd_type))) 459 u8 cmd_type; member 1316 switch (dev->cmd_type) { in port100_tg_target_activated() 1566 dev->cmd_type = PORT100_CMD_TYPE_1; in port100_probe() 1568 dev->cmd_type = PORT100_CMD_TYPE_0; in port100_probe() 1570 rc = port100_set_command_type(dev, dev->cmd_type); in port100_probe() 1574 dev->cmd_type); in port100_probe()
|
/openbmc/linux/drivers/net/ethernet/intel/ixgbe/ |
H A D | ixgbe_xsk.c | 404 u32 cmd_type; in ixgbe_xmit_zc() local 430 cmd_type = IXGBE_ADVTXD_DTYP_DATA | in ixgbe_xmit_zc() 433 cmd_type |= desc.len | IXGBE_TXD_CMD; in ixgbe_xmit_zc() 434 tx_desc->read.cmd_type_len = cpu_to_le32(cmd_type); in ixgbe_xmit_zc()
|
/openbmc/linux/drivers/staging/rts5208/ |
H A D | rtsx_transport.h | 34 void rtsx_add_cmd(struct rtsx_chip *chip, u8 cmd_type, u16 reg_addr, u8 mask,
|
/openbmc/linux/drivers/net/ethernet/qualcomm/rmnet/ |
H A D | rmnet_map.h | 11 u8 cmd_type:2; member
|
/openbmc/linux/drivers/scsi/ |
H A D | hpsa.c | 274 int cmd_type); 1164 switch (c->cmd_type) { in __enqueue_cmd_and_start_io() 2597 if ((cp->cmd_type == CMD_SCSI) && in complete_scsi_command() 2601 if ((cp->cmd_type == CMD_IOACCEL2) && in complete_scsi_command() 2613 if (cp->cmd_type == CMD_IOACCEL2 || cp->cmd_type == CMD_IOACCEL1) { in complete_scsi_command() 2634 if (cp->cmd_type == CMD_IOACCEL2) in complete_scsi_command() 2644 if (cp->cmd_type == CMD_IOACCEL1) { in complete_scsi_command() 3124 switch (c->cmd_type) { in hpsa_cmd_dev_match() 3164 c->cmd_type); in hpsa_cmd_dev_match() 4764 c->cmd_type = CMD_IOACCEL1; in hpsa_scsi_ioaccel1_queue_command() [all …]
|
/openbmc/linux/drivers/gpu/drm/nouveau/include/nvfw/ |
H A D | sec2.h | 63 u8 cmd_type; member
|
H A D | pmu.h | 51 u8 cmd_type; member
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/ |
H A D | gp10b.c | 44 .cmd.cmd_type = NV_PMU_ACR_CMD_BOOTSTRAP_MULTIPLE_FALCONS, in gp10b_pmu_acr_bootstrap_multiple_falcons()
|