pcmd 2241 drivers/block/drbd/drbd_receiver.c int err = 0, pcmd; pcmd 2245 drivers/block/drbd/drbd_receiver.c pcmd = (device->state.conn >= C_SYNC_SOURCE && pcmd 2249 drivers/block/drbd/drbd_receiver.c err = drbd_send_ack(peer_device, pcmd, peer_req); pcmd 2250 drivers/block/drbd/drbd_receiver.c if (pcmd == P_RS_WRITE_ACK) pcmd 21 drivers/media/usb/as102/as10x_cmd.c struct as10x_cmd_t *pcmd, *prsp; pcmd 23 drivers/media/usb/as102/as10x_cmd.c pcmd = adap->cmd; pcmd 27 drivers/media/usb/as102/as10x_cmd.c as10x_cmd_build(pcmd, (++adap->cmd_xid), pcmd 28 drivers/media/usb/as102/as10x_cmd.c sizeof(pcmd->body.turn_on.req)); pcmd 31 drivers/media/usb/as102/as10x_cmd.c pcmd->body.turn_on.req.proc_id = cpu_to_le16(CONTROL_PROC_TURNON); pcmd 35 drivers/media/usb/as102/as10x_cmd.c error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, pcmd 36 drivers/media/usb/as102/as10x_cmd.c sizeof(pcmd->body.turn_on.req) + pcmd 62 drivers/media/usb/as102/as10x_cmd.c struct as10x_cmd_t *pcmd, *prsp; pcmd 64 drivers/media/usb/as102/as10x_cmd.c pcmd = adap->cmd; pcmd 68 drivers/media/usb/as102/as10x_cmd.c as10x_cmd_build(pcmd, (++adap->cmd_xid), pcmd 69 drivers/media/usb/as102/as10x_cmd.c sizeof(pcmd->body.turn_off.req)); pcmd 72 drivers/media/usb/as102/as10x_cmd.c pcmd->body.turn_off.req.proc_id = cpu_to_le16(CONTROL_PROC_TURNOFF); pcmd 77 drivers/media/usb/as102/as10x_cmd.c adap, (uint8_t *) pcmd, pcmd 78 drivers/media/usb/as102/as10x_cmd.c sizeof(pcmd->body.turn_off.req) + HEADER_SIZE, pcmd 211 drivers/media/usb/as102/as10x_cmd.c struct as10x_cmd_t *pcmd, *prsp; pcmd 213 drivers/media/usb/as102/as10x_cmd.c pcmd = adap->cmd; pcmd 217 drivers/media/usb/as102/as10x_cmd.c as10x_cmd_build(pcmd, (++adap->cmd_xid), pcmd 218 drivers/media/usb/as102/as10x_cmd.c sizeof(pcmd->body.get_tps.req)); pcmd 221 drivers/media/usb/as102/as10x_cmd.c pcmd->body.get_tune_status.req.proc_id = pcmd 227 drivers/media/usb/as102/as10x_cmd.c (uint8_t *) pcmd, pcmd 228 drivers/media/usb/as102/as10x_cmd.c sizeof(pcmd->body.get_tps.req) + pcmd 270 drivers/media/usb/as102/as10x_cmd.c struct as10x_cmd_t *pcmd, *prsp; pcmd 272 drivers/media/usb/as102/as10x_cmd.c pcmd = adap->cmd; pcmd 276 drivers/media/usb/as102/as10x_cmd.c as10x_cmd_build(pcmd, (++adap->cmd_xid), pcmd 277 drivers/media/usb/as102/as10x_cmd.c sizeof(pcmd->body.get_demod_stats.req)); pcmd 280 drivers/media/usb/as102/as10x_cmd.c pcmd->body.get_demod_stats.req.proc_id = pcmd 286 drivers/media/usb/as102/as10x_cmd.c (uint8_t *) pcmd, pcmd 287 drivers/media/usb/as102/as10x_cmd.c sizeof(pcmd->body.get_demod_stats.req) pcmd 330 drivers/media/usb/as102/as10x_cmd.c struct as10x_cmd_t *pcmd, *prsp; pcmd 332 drivers/media/usb/as102/as10x_cmd.c pcmd = adap->cmd; pcmd 336 drivers/media/usb/as102/as10x_cmd.c as10x_cmd_build(pcmd, (++adap->cmd_xid), pcmd 337 drivers/media/usb/as102/as10x_cmd.c sizeof(pcmd->body.get_impulse_rsp.req)); pcmd 340 drivers/media/usb/as102/as10x_cmd.c pcmd->body.get_impulse_rsp.req.proc_id = pcmd 346 drivers/media/usb/as102/as10x_cmd.c (uint8_t *) pcmd, pcmd 347 drivers/media/usb/as102/as10x_cmd.c sizeof(pcmd->body.get_impulse_rsp.req) pcmd 375 drivers/media/usb/as102/as10x_cmd.c void as10x_cmd_build(struct as10x_cmd_t *pcmd, pcmd 378 drivers/media/usb/as102/as10x_cmd.c pcmd->header.req_id = cpu_to_le16(xid); pcmd 379 drivers/media/usb/as102/as10x_cmd.c pcmd->header.prog = cpu_to_le16(SERVICE_PROG_ID); pcmd 380 drivers/media/usb/as102/as10x_cmd.c pcmd->header.version = cpu_to_le16(SERVICE_PROG_VERSION); pcmd 381 drivers/media/usb/as102/as10x_cmd.c pcmd->header.data_len = cpu_to_le16(cmd_len); pcmd 472 drivers/media/usb/as102/as10x_cmd.h void as10x_cmd_build(struct as10x_cmd_t *pcmd, uint16_t proc_id, pcmd 27 drivers/media/usb/as102/as10x_cmd_cfg.c struct as10x_cmd_t *pcmd, *prsp; pcmd 29 drivers/media/usb/as102/as10x_cmd_cfg.c pcmd = adap->cmd; pcmd 33 drivers/media/usb/as102/as10x_cmd_cfg.c as10x_cmd_build(pcmd, (++adap->cmd_xid), pcmd 34 drivers/media/usb/as102/as10x_cmd_cfg.c sizeof(pcmd->body.context.req)); pcmd 37 drivers/media/usb/as102/as10x_cmd_cfg.c pcmd->body.context.req.proc_id = cpu_to_le16(CONTROL_PROC_CONTEXT); pcmd 38 drivers/media/usb/as102/as10x_cmd_cfg.c pcmd->body.context.req.tag = cpu_to_le16(tag); pcmd 39 drivers/media/usb/as102/as10x_cmd_cfg.c pcmd->body.context.req.type = cpu_to_le16(GET_CONTEXT_DATA); pcmd 44 drivers/media/usb/as102/as10x_cmd_cfg.c (uint8_t *) pcmd, pcmd 45 drivers/media/usb/as102/as10x_cmd_cfg.c sizeof(pcmd->body.context.req) pcmd 83 drivers/media/usb/as102/as10x_cmd_cfg.c struct as10x_cmd_t *pcmd, *prsp; pcmd 85 drivers/media/usb/as102/as10x_cmd_cfg.c pcmd = adap->cmd; pcmd 89 drivers/media/usb/as102/as10x_cmd_cfg.c as10x_cmd_build(pcmd, (++adap->cmd_xid), pcmd 90 drivers/media/usb/as102/as10x_cmd_cfg.c sizeof(pcmd->body.context.req)); pcmd 93 drivers/media/usb/as102/as10x_cmd_cfg.c pcmd->body.context.req.proc_id = cpu_to_le16(CONTROL_PROC_CONTEXT); pcmd 95 drivers/media/usb/as102/as10x_cmd_cfg.c pcmd->body.context.req.reg_val.u.value32 = (__force u32)cpu_to_le32(value); pcmd 96 drivers/media/usb/as102/as10x_cmd_cfg.c pcmd->body.context.req.tag = cpu_to_le16(tag); pcmd 97 drivers/media/usb/as102/as10x_cmd_cfg.c pcmd->body.context.req.type = cpu_to_le16(SET_CONTEXT_DATA); pcmd 102 drivers/media/usb/as102/as10x_cmd_cfg.c (uint8_t *) pcmd, pcmd 103 drivers/media/usb/as102/as10x_cmd_cfg.c sizeof(pcmd->body.context.req) pcmd 137 drivers/media/usb/as102/as10x_cmd_cfg.c struct as10x_cmd_t *pcmd, *prsp; pcmd 139 drivers/media/usb/as102/as10x_cmd_cfg.c pcmd = adap->cmd; pcmd 143 drivers/media/usb/as102/as10x_cmd_cfg.c as10x_cmd_build(pcmd, (++adap->cmd_xid), pcmd 144 drivers/media/usb/as102/as10x_cmd_cfg.c sizeof(pcmd->body.cfg_change_mode.req)); pcmd 147 drivers/media/usb/as102/as10x_cmd_cfg.c pcmd->body.cfg_change_mode.req.proc_id = pcmd 149 drivers/media/usb/as102/as10x_cmd_cfg.c pcmd->body.cfg_change_mode.req.mode = mode; pcmd 153 drivers/media/usb/as102/as10x_cmd_cfg.c error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, pcmd 154 drivers/media/usb/as102/as10x_cmd_cfg.c sizeof(pcmd->body.cfg_change_mode.req) pcmd 22 drivers/media/usb/as102/as10x_cmd_stream.c struct as10x_cmd_t *pcmd, *prsp; pcmd 24 drivers/media/usb/as102/as10x_cmd_stream.c pcmd = adap->cmd; pcmd 28 drivers/media/usb/as102/as10x_cmd_stream.c as10x_cmd_build(pcmd, (++adap->cmd_xid), pcmd 29 drivers/media/usb/as102/as10x_cmd_stream.c sizeof(pcmd->body.add_pid_filter.req)); pcmd 32 drivers/media/usb/as102/as10x_cmd_stream.c pcmd->body.add_pid_filter.req.proc_id = pcmd 34 drivers/media/usb/as102/as10x_cmd_stream.c pcmd->body.add_pid_filter.req.pid = cpu_to_le16(filter->pid); pcmd 35 drivers/media/usb/as102/as10x_cmd_stream.c pcmd->body.add_pid_filter.req.stream_type = filter->type; pcmd 38 drivers/media/usb/as102/as10x_cmd_stream.c pcmd->body.add_pid_filter.req.idx = filter->idx; pcmd 40 drivers/media/usb/as102/as10x_cmd_stream.c pcmd->body.add_pid_filter.req.idx = 0xFF; pcmd 44 drivers/media/usb/as102/as10x_cmd_stream.c error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, pcmd 45 drivers/media/usb/as102/as10x_cmd_stream.c sizeof(pcmd->body.add_pid_filter.req) pcmd 79 drivers/media/usb/as102/as10x_cmd_stream.c struct as10x_cmd_t *pcmd, *prsp; pcmd 81 drivers/media/usb/as102/as10x_cmd_stream.c pcmd = adap->cmd; pcmd 85 drivers/media/usb/as102/as10x_cmd_stream.c as10x_cmd_build(pcmd, (++adap->cmd_xid), pcmd 86 drivers/media/usb/as102/as10x_cmd_stream.c sizeof(pcmd->body.del_pid_filter.req)); pcmd 89 drivers/media/usb/as102/as10x_cmd_stream.c pcmd->body.del_pid_filter.req.proc_id = pcmd 91 drivers/media/usb/as102/as10x_cmd_stream.c pcmd->body.del_pid_filter.req.pid = cpu_to_le16(pid_value); pcmd 95 drivers/media/usb/as102/as10x_cmd_stream.c error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, pcmd 96 drivers/media/usb/as102/as10x_cmd_stream.c sizeof(pcmd->body.del_pid_filter.req) pcmd 123 drivers/media/usb/as102/as10x_cmd_stream.c struct as10x_cmd_t *pcmd, *prsp; pcmd 125 drivers/media/usb/as102/as10x_cmd_stream.c pcmd = adap->cmd; pcmd 129 drivers/media/usb/as102/as10x_cmd_stream.c as10x_cmd_build(pcmd, (++adap->cmd_xid), pcmd 130 drivers/media/usb/as102/as10x_cmd_stream.c sizeof(pcmd->body.start_streaming.req)); pcmd 133 drivers/media/usb/as102/as10x_cmd_stream.c pcmd->body.start_streaming.req.proc_id = pcmd 138 drivers/media/usb/as102/as10x_cmd_stream.c error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, pcmd 139 drivers/media/usb/as102/as10x_cmd_stream.c sizeof(pcmd->body.start_streaming.req) pcmd 166 drivers/media/usb/as102/as10x_cmd_stream.c struct as10x_cmd_t *pcmd, *prsp; pcmd 168 drivers/media/usb/as102/as10x_cmd_stream.c pcmd = adap->cmd; pcmd 172 drivers/media/usb/as102/as10x_cmd_stream.c as10x_cmd_build(pcmd, (++adap->cmd_xid), pcmd 173 drivers/media/usb/as102/as10x_cmd_stream.c sizeof(pcmd->body.stop_streaming.req)); pcmd 176 drivers/media/usb/as102/as10x_cmd_stream.c pcmd->body.stop_streaming.req.proc_id = pcmd 181 drivers/media/usb/as102/as10x_cmd_stream.c error = adap->ops->xfer_cmd(adap, (uint8_t *) pcmd, pcmd 182 drivers/media/usb/as102/as10x_cmd_stream.c sizeof(pcmd->body.stop_streaming.req) pcmd 152 drivers/net/caif/caif_spi.c "Previous CMD: 0x%x\n", cfspi->pcmd); pcmd 50 drivers/net/caif/caif_spi_slave.c cfspi->pcmd = cfspi->cmd; pcmd 274 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c const struct fw_port_cmd *pcmd) pcmd 276 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c const union fw_port_dcb *fwdcb = &pcmd->u.dcb; pcmd 277 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c int port = FW_PORT_CMD_PORTID_G(be32_to_cpu(pcmd->op_to_portid)); pcmd 281 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c int dcb_type = pcmd->u.dcb.pgid.type; pcmd 289 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c ((pcmd->u.dcb.control.all_syncd_pkd & pcmd 297 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd->u.dcb.control.dcb_version_to_app_state)); pcmd 442 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c struct fw_port_cmd pcmd; pcmd 450 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); pcmd 452 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); pcmd 454 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; pcmd 455 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 460 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c *pgid = (be32_to_cpu(pcmd.u.dcb.pgid.pgid) >> (tc * 4)) & 0xf; pcmd 463 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); pcmd 465 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); pcmd 466 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.type = FW_PORT_DCB_TYPE_PGRATE; pcmd 467 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 474 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c *bw_per = pcmd.u.dcb.pgrate.pgrate[*pgid]; pcmd 505 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c struct fw_port_cmd pcmd; pcmd 517 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); pcmd 518 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; pcmd 520 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 526 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c _pgid = be32_to_cpu(pcmd.u.dcb.pgid.pgid); pcmd 529 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgid.pgid = cpu_to_be32(_pgid); pcmd 531 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_WRITE_CMD(pcmd, pi->port_id); pcmd 533 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 540 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c memset(&pcmd, 0, sizeof(struct fw_port_cmd)); pcmd 542 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); pcmd 543 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.type = FW_PORT_DCB_TYPE_PGRATE; pcmd 545 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 552 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.pgrate[pgid] = bw_per; pcmd 554 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_WRITE_CMD(pcmd, pi->port_id); pcmd 556 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.op_to_portid |= cpu_to_be32(FW_PORT_CMD_APPLY_F); pcmd 558 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 567 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c struct fw_port_cmd pcmd; pcmd 573 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); pcmd 575 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); pcmd 577 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.type = FW_PORT_DCB_TYPE_PGRATE; pcmd 578 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 585 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c *bw_per = pcmd.u.dcb.pgrate.pgrate[pgid]; pcmd 601 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c struct fw_port_cmd pcmd; pcmd 606 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); pcmd 607 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.type = FW_PORT_DCB_TYPE_PGRATE; pcmd 609 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 616 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.pgrate[pgid] = bw_per; pcmd 618 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_WRITE_CMD(pcmd, pi->port_id); pcmd 620 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.op_to_portid |= cpu_to_be32(FW_PORT_CMD_APPLY_F); pcmd 622 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 649 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c struct fw_port_cmd pcmd; pcmd 658 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_WRITE_CMD(pcmd, pi->port_id); pcmd 660 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.op_to_portid |= cpu_to_be32(FW_PORT_CMD_APPLY_F); pcmd 662 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pfc.type = FW_PORT_DCB_TYPE_PFC; pcmd 663 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pfc.pfcen = pi->dcb.pfcen; pcmd 666 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pfc.pfcen |= (1 << (7 - priority)); pcmd 668 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pfc.pfcen &= (~(1 << (7 - priority))); pcmd 670 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 676 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pi->dcb.pfcen = pcmd.u.dcb.pfc.pfcen; pcmd 794 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c struct fw_port_cmd pcmd; pcmd 798 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); pcmd 800 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); pcmd 802 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; pcmd 803 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.idx = i; pcmd 805 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 811 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) pcmd 812 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (pcmd.u.dcb.app_priority.sel_field == app_idtype) pcmd 813 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c return pcmd.u.dcb.app_priority.user_prio_map; pcmd 816 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (!pcmd.u.dcb.app_priority.protocolid) pcmd 838 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c struct fw_port_cmd pcmd; pcmd 852 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); pcmd 853 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; pcmd 854 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.idx = i; pcmd 855 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 862 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (be16_to_cpu(pcmd.u.dcb.app_priority.protocolid) == app_id) { pcmd 864 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.protocolid = 0; pcmd 868 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (!pcmd.u.dcb.app_priority.protocolid) pcmd 879 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_WRITE_CMD(pcmd, pi->port_id); pcmd 881 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.op_to_portid |= cpu_to_be32(FW_PORT_CMD_APPLY_F); pcmd 883 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; pcmd 884 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.protocolid = cpu_to_be16(app_id); pcmd 885 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.sel_field = app_idtype; pcmd 886 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.user_prio_map = app_prio; pcmd 887 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.idx = i; pcmd 889 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 947 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c struct fw_port_cmd pcmd; pcmd 957 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); pcmd 959 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); pcmd 962 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; pcmd 963 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 969 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c tc_info = be32_to_cpu(pcmd.u.dcb.pgid.pgid); pcmd 972 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_LOCAL_CMD(pcmd, pi->port_id); pcmd 974 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); pcmd 976 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.type = FW_PORT_DCB_TYPE_PGRATE; pcmd 977 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 987 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c ets->tc_tx_bw[i] = pcmd.u.dcb.pgrate.pgrate[i]; pcmd 989 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c ets->tc_tsa[i] = pcmd.u.dcb.pgrate.tsa[i]; pcmd 1112 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c struct fw_port_cmd pcmd; pcmd 1125 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); pcmd 1126 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; pcmd 1127 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.idx = *app_count; pcmd 1128 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 1137 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (!pcmd.u.dcb.app_priority.protocolid) pcmd 1146 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c struct fw_port_cmd pcmd; pcmd 1155 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); pcmd 1156 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.type = FW_PORT_DCB_TYPE_APP_ID; pcmd 1157 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.app_priority.idx = i; pcmd 1158 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 1167 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c if (!pcmd.u.dcb.app_priority.protocolid) pcmd 1170 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c table[i].selector = (pcmd.u.dcb.app_priority.sel_field + 1); pcmd 1172 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c be16_to_cpu(pcmd.u.dcb.app_priority.protocolid); pcmd 1174 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c ffs(pcmd.u.dcb.app_priority.user_prio_map) - 1; pcmd 1183 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c struct fw_port_cmd pcmd; pcmd 1194 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); pcmd 1195 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgid.type = FW_PORT_DCB_TYPE_PGID; pcmd 1196 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 1201 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pgid = be32_to_cpu(pcmd.u.dcb.pgid.pgid); pcmd 1206 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c INIT_PORT_DCB_READ_PEER_CMD(pcmd, pi->port_id); pcmd 1207 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pcmd.u.dcb.pgrate.type = FW_PORT_DCB_TYPE_PGRATE; pcmd 1208 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c err = t4_wr_mbox(adap, adap->mbox, &pcmd, sizeof(pcmd), &pcmd); pcmd 1216 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pg->pg_bw[i] = pcmd.u.dcb.pgrate.pgrate[i]; pcmd 1218 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.c pg->tcs_supported = pcmd.u.dcb.pgrate.num_tcs_supported; pcmd 39 drivers/net/ethernet/chelsio/cxgb4/cxgb4_dcb.h FW_LEN16(pcmd)); \ pcmd 531 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c static void dcb_rpl(struct adapter *adap, const struct fw_port_cmd *pcmd) pcmd 533 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c int port = FW_PORT_CMD_PORTID_G(ntohl(pcmd->op_to_portid)); pcmd 538 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c cxgb4_dcb_handle_fw_update(adap, pcmd); pcmd 595 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c const struct fw_port_cmd *pcmd = (const void *)p->data; pcmd 596 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c unsigned int cmd = FW_CMD_OP_G(ntohl(pcmd->op_to_portid)); pcmd 598 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c FW_PORT_CMD_ACTION_G(ntohl(pcmd->action_to_len16)); pcmd 604 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c be32_to_cpu(pcmd->op_to_portid)); pcmd 610 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c ? !!(pcmd->u.info.dcbxdis_pkd & FW_PORT_CMD_DCBXDIS_F) pcmd 611 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c : !!(be32_to_cpu(pcmd->u.info32.lstatus32_to_cbllen32) pcmd 622 drivers/net/ethernet/chelsio/cxgb4/cxgb4_main.c dcb_rpl(q->adap, pcmd); pcmd 1216 drivers/net/plip/plip.c switch(pc->pcmd) { pcmd 1344 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c struct swchnlcmd *pcmd; pcmd 1354 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c pcmd = cmdtable + cmdtableidx; pcmd 1355 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c pcmd->cmdid = cmdid; pcmd 1356 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c pcmd->para1 = para1; pcmd 1357 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c pcmd->para2 = para2; pcmd 1358 drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c pcmd->msdelay = msdelay; pcmd 771 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c struct swchnlcmd *pcmd; pcmd 781 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c pcmd = cmdtable + cmdtableidx; pcmd 782 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c pcmd->cmdid = cmdid; pcmd 783 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c pcmd->para1 = para1; pcmd 784 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c pcmd->para2 = para2; pcmd 785 drivers/net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c pcmd->msdelay = msdelay; pcmd 2677 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c struct swchnlcmd *pcmd; pcmd 2686 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c pcmd = cmdtable + cmdtableidx; pcmd 2687 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c pcmd->cmdid = cmdid; pcmd 2688 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c pcmd->para1 = para1; pcmd 2689 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c pcmd->para2 = para2; pcmd 2690 drivers/net/wireless/realtek/rtlwifi/rtl8192de/phy.c pcmd->msdelay = msdelay; pcmd 1925 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c struct swchnlcmd *pcmd; pcmd 1935 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c pcmd = cmdtable + cmdtableidx; pcmd 1936 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c pcmd->cmdid = cmdid; pcmd 1937 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c pcmd->para1 = para1; pcmd 1938 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c pcmd->para2 = para2; pcmd 1939 drivers/net/wireless/realtek/rtlwifi/rtl8192ee/phy.c pcmd->msdelay = msdelay; pcmd 306 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c struct swchnlcmd *pcmd; pcmd 316 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c pcmd = cmdtable + cmdtableidx; pcmd 317 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c pcmd->cmdid = cmdid; pcmd 318 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c pcmd->para1 = para1; pcmd 319 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c pcmd->para2 = para2; pcmd 320 drivers/net/wireless/realtek/rtlwifi/rtl8192se/phy.c pcmd->msdelay = msdelay; pcmd 261 drivers/net/wireless/realtek/rtlwifi/rtl8723com/phy_common.c struct swchnlcmd *pcmd; pcmd 271 drivers/net/wireless/realtek/rtlwifi/rtl8723com/phy_common.c pcmd = cmdtable + cmdtableidx; pcmd 272 drivers/net/wireless/realtek/rtlwifi/rtl8723com/phy_common.c pcmd->cmdid = cmdid; pcmd 273 drivers/net/wireless/realtek/rtlwifi/rtl8723com/phy_common.c pcmd->para1 = para1; pcmd 274 drivers/net/wireless/realtek/rtlwifi/rtl8723com/phy_common.c pcmd->para2 = para2; pcmd 275 drivers/net/wireless/realtek/rtlwifi/rtl8723com/phy_common.c pcmd->msdelay = msdelay; pcmd 861 drivers/scsi/arcmsr/arcmsr.h struct scsi_cmnd *pcmd; /*8 bytes pointer of linux scsi command */ pcmd 1250 drivers/scsi/arcmsr/arcmsr_hba.c struct scsi_cmnd *pcmd = ccb->pcmd; pcmd 1252 drivers/scsi/arcmsr/arcmsr_hba.c scsi_dma_unmap(pcmd); pcmd 1258 drivers/scsi/arcmsr/arcmsr_hba.c struct scsi_cmnd *pcmd = ccb->pcmd; pcmd 1266 drivers/scsi/arcmsr/arcmsr_hba.c pcmd->scsi_done(pcmd); pcmd 1272 drivers/scsi/arcmsr/arcmsr_hba.c struct scsi_cmnd *pcmd = ccb->pcmd; pcmd 1273 drivers/scsi/arcmsr/arcmsr_hba.c struct SENSE_DATA *sensebuffer = (struct SENSE_DATA *)pcmd->sense_buffer; pcmd 1274 drivers/scsi/arcmsr/arcmsr_hba.c pcmd->result = (DID_OK << 16) | (CHECK_CONDITION << 1); pcmd 1283 drivers/scsi/arcmsr/arcmsr_hba.c pcmd->result |= (DRIVER_SENSE << 24); pcmd 1332 drivers/scsi/arcmsr/arcmsr_hba.c id = ccb->pcmd->device->id; pcmd 1333 drivers/scsi/arcmsr/arcmsr_hba.c lun = ccb->pcmd->device->lun; pcmd 1337 drivers/scsi/arcmsr/arcmsr_hba.c ccb->pcmd->result = DID_OK << 16; pcmd 1343 drivers/scsi/arcmsr/arcmsr_hba.c ccb->pcmd->result = DID_NO_CONNECT << 16; pcmd 1352 drivers/scsi/arcmsr/arcmsr_hba.c ccb->pcmd->result = DID_BAD_TARGET << 16; pcmd 1373 drivers/scsi/arcmsr/arcmsr_hba.c ccb->pcmd->result = DID_NO_CONNECT << 16; pcmd 1384 drivers/scsi/arcmsr/arcmsr_hba.c struct scsi_cmnd *abortcmd = pCCB->pcmd; pcmd 1540 drivers/scsi/arcmsr/arcmsr_hba.c ccb->pcmd->result = DID_NO_CONNECT << 16; pcmd 1542 drivers/scsi/arcmsr/arcmsr_hba.c ccb->pcmd->scsi_done(ccb->pcmd); pcmd 1630 drivers/scsi/arcmsr/arcmsr_hba.c ccb->pcmd->result = DID_ABORT << 16; pcmd 1725 drivers/scsi/arcmsr/arcmsr_hba.c struct CommandControlBlock *ccb, struct scsi_cmnd *pcmd) pcmd 1735 drivers/scsi/arcmsr/arcmsr_hba.c ccb->pcmd = pcmd; pcmd 1737 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_cdb->TargetID = pcmd->device->id; pcmd 1738 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_cdb->LUN = pcmd->device->lun; pcmd 1741 drivers/scsi/arcmsr/arcmsr_hba.c memcpy(arcmsr_cdb->Cdb, pcmd->cmnd, pcmd->cmd_len); pcmd 1743 drivers/scsi/arcmsr/arcmsr_hba.c nseg = scsi_dma_map(pcmd); pcmd 1746 drivers/scsi/arcmsr/arcmsr_hba.c scsi_for_each_sg(pcmd, sg, nseg, i) { pcmd 1769 drivers/scsi/arcmsr/arcmsr_hba.c arcmsr_cdb->DataLength = scsi_bufflen(pcmd); pcmd 1773 drivers/scsi/arcmsr/arcmsr_hba.c if (pcmd->sc_data_direction == DMA_TO_DEVICE) pcmd 3345 drivers/scsi/arcmsr/arcmsr_hba.c , ccb->pcmd->device->id pcmd 3346 drivers/scsi/arcmsr/arcmsr_hba.c , (u32)ccb->pcmd->device->lun pcmd 3348 drivers/scsi/arcmsr/arcmsr_hba.c ccb->pcmd->result = DID_ABORT << 16; pcmd 3414 drivers/scsi/arcmsr/arcmsr_hba.c ,ccb->pcmd->device->id pcmd 3415 drivers/scsi/arcmsr/arcmsr_hba.c ,(u32)ccb->pcmd->device->lun pcmd 3417 drivers/scsi/arcmsr/arcmsr_hba.c ccb->pcmd->result = DID_ABORT << 16; pcmd 3476 drivers/scsi/arcmsr/arcmsr_hba.c , pCCB->pcmd->device->id pcmd 3477 drivers/scsi/arcmsr/arcmsr_hba.c , (u32)pCCB->pcmd->device->lun pcmd 3479 drivers/scsi/arcmsr/arcmsr_hba.c pCCB->pcmd->result = DID_ABORT << 16; pcmd 3553 drivers/scsi/arcmsr/arcmsr_hba.c , pCCB->pcmd->device->id pcmd 3554 drivers/scsi/arcmsr/arcmsr_hba.c , (u32)pCCB->pcmd->device->lun pcmd 3556 drivers/scsi/arcmsr/arcmsr_hba.c pCCB->pcmd->result = DID_ABORT << 16; pcmd 3621 drivers/scsi/arcmsr/arcmsr_hba.c , pCCB->pcmd->device->id pcmd 3622 drivers/scsi/arcmsr/arcmsr_hba.c , (u32)pCCB->pcmd->device->lun pcmd 3624 drivers/scsi/arcmsr/arcmsr_hba.c pCCB->pcmd->result = DID_ABORT << 16; pcmd 4351 drivers/scsi/arcmsr/arcmsr_hba.c scsi_dma_unmap(ccb->pcmd); pcmd 4462 drivers/scsi/arcmsr/arcmsr_hba.c if (ccb->startdone == ARCMSR_CCB_START && ccb->pcmd == cmd) { pcmd 408 drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_port_cfg_bbcr(struct bfad_s *bfad, unsigned int cmd, void *pcmd) pcmd 411 drivers/scsi/bfa/bfad_bsg.c (struct bfa_bsg_bbcr_enable_s *)pcmd; pcmd 431 drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_port_get_bbcr_attr(struct bfad_s *bfad, void *pcmd) pcmd 433 drivers/scsi/bfa/bfad_bsg.c struct bfa_bsg_bbcr_attr_s *iocmd = (struct bfa_bsg_bbcr_attr_s *) pcmd; pcmd 911 drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_qos_set_bw(struct bfad_s *bfad, void *pcmd) pcmd 913 drivers/scsi/bfa/bfad_bsg.c struct bfa_bsg_qos_bw_s *iocmd = (struct bfa_bsg_qos_bw_s *)pcmd; pcmd 924 drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_ratelim(struct bfad_s *bfad, unsigned int cmd, void *pcmd) pcmd 926 drivers/scsi/bfa/bfad_bsg.c struct bfa_bsg_gen_s *iocmd = (struct bfa_bsg_gen_s *)pcmd; pcmd 953 drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_ratelim_speed(struct bfad_s *bfad, unsigned int cmd, void *pcmd) pcmd 955 drivers/scsi/bfa/bfad_bsg.c struct bfa_bsg_trl_speed_s *iocmd = (struct bfa_bsg_trl_speed_s *)pcmd; pcmd 1328 drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_ablk_optrom(struct bfad_s *bfad, unsigned int cmd, void *pcmd) pcmd 1330 drivers/scsi/bfa/bfad_bsg.c struct bfa_bsg_gen_s *iocmd = (struct bfa_bsg_gen_s *)pcmd; pcmd 1791 drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_diag_dport_enable(struct bfad_s *bfad, void *pcmd) pcmd 1794 drivers/scsi/bfa/bfad_bsg.c (struct bfa_bsg_dport_enable_s *)pcmd; pcmd 1813 drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_diag_dport_disable(struct bfad_s *bfad, void *pcmd) pcmd 1815 drivers/scsi/bfa/bfad_bsg.c struct bfa_bsg_gen_s *iocmd = (struct bfa_bsg_gen_s *)pcmd; pcmd 1833 drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_diag_dport_start(struct bfad_s *bfad, void *pcmd) pcmd 1836 drivers/scsi/bfa/bfad_bsg.c (struct bfa_bsg_dport_enable_s *)pcmd; pcmd 1858 drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_diag_dport_show(struct bfad_s *bfad, void *pcmd) pcmd 1861 drivers/scsi/bfa/bfad_bsg.c (struct bfa_bsg_diag_dport_show_s *)pcmd; pcmd 2559 drivers/scsi/bfa/bfad_bsg.c bfad_iocmd_lunmask(struct bfad_s *bfad, void *pcmd, unsigned int v_cmd) pcmd 2561 drivers/scsi/bfa/bfad_bsg.c struct bfa_bsg_gen_s *iocmd = (struct bfa_bsg_gen_s *)pcmd; pcmd 1408 drivers/scsi/csiostor/csio_mb.c struct fw_port_cmd *pcmd; pcmd 1416 drivers/scsi/csiostor/csio_mb.c pcmd = (struct fw_port_cmd *)cmd; pcmd 1418 drivers/scsi/csiostor/csio_mb.c ntohl(pcmd->op_to_portid)); pcmd 1420 drivers/scsi/csiostor/csio_mb.c ntohl(pcmd->action_to_len16)); pcmd 1429 drivers/scsi/csiostor/csio_mb.c link_status = ntohl(pcmd->u.info.lstatus_to_modtype); pcmd 1437 drivers/scsi/csiostor/csio_mb.c ntohl(pcmd->u.info32.lstatus32_to_cbllen32); pcmd 1439 drivers/scsi/csiostor/csio_mb.c linkattr = ntohl(pcmd->u.info32.linkattr32); pcmd 585 drivers/scsi/lpfc/lpfc_bsg.c struct lpfc_dmabuf *pcmd = NULL, *prsp = NULL; pcmd 612 drivers/scsi/lpfc/lpfc_bsg.c pcmd = (struct lpfc_dmabuf *)cmdiocbq->context2; pcmd 613 drivers/scsi/lpfc/lpfc_bsg.c prsp = (struct lpfc_dmabuf *)pcmd->list.next; pcmd 160 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd, *prsp, *pbuflist; pcmd 207 drivers/scsi/lpfc/lpfc_els.c pcmd = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); pcmd 208 drivers/scsi/lpfc/lpfc_els.c if (pcmd) pcmd 209 drivers/scsi/lpfc/lpfc_els.c pcmd->virt = lpfc_mbuf_alloc(phba, MEM_PRI, &pcmd->phys); pcmd 210 drivers/scsi/lpfc/lpfc_els.c if (!pcmd || !pcmd->virt) pcmd 213 drivers/scsi/lpfc/lpfc_els.c INIT_LIST_HEAD(&pcmd->list); pcmd 288 drivers/scsi/lpfc/lpfc_els.c bpl->addrLow = le32_to_cpu(putPaddrLow(pcmd->phys)); pcmd 289 drivers/scsi/lpfc/lpfc_els.c bpl->addrHigh = le32_to_cpu(putPaddrHigh(pcmd->phys)); pcmd 307 drivers/scsi/lpfc/lpfc_els.c elsiocb->context2 = pcmd; pcmd 314 drivers/scsi/lpfc/lpfc_els.c list_add(&prsp->list, &pcmd->list); pcmd 343 drivers/scsi/lpfc/lpfc_els.c lpfc_mbuf_free(phba, pcmd->virt, pcmd->phys); pcmd 347 drivers/scsi/lpfc/lpfc_els.c kfree(pcmd); pcmd 987 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd = cmdiocb->context2, *prsp; pcmd 1111 drivers/scsi/lpfc/lpfc_els.c prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, list); pcmd 1223 drivers/scsi/lpfc/lpfc_els.c uint32_t *pcmd; pcmd 1226 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint32_t *)(((struct lpfc_dmabuf *)cmdiocb->context2)->virt); pcmd 1227 drivers/scsi/lpfc/lpfc_els.c cmd = *pcmd; pcmd 1274 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 1287 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 1290 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_FLOGI; pcmd 1291 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 1292 drivers/scsi/lpfc/lpfc_els.c memcpy(pcmd, &vport->fc_sparam, sizeof(struct serv_parm)); pcmd 1293 drivers/scsi/lpfc/lpfc_els.c sp = (struct serv_parm *) pcmd; pcmd 2128 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 2169 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 2172 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_PLOGI; pcmd 2173 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 2174 drivers/scsi/lpfc/lpfc_els.c memcpy(pcmd, &vport->fc_sparam, sizeof(struct serv_parm)); pcmd 2175 drivers/scsi/lpfc/lpfc_els.c sp = (struct serv_parm *) pcmd; pcmd 2344 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 2402 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 2405 drivers/scsi/lpfc/lpfc_els.c memset(pcmd, 0, cmdsize); pcmd 2413 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *)(pcmd)) = ELS_CMD_PRLI; pcmd 2414 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 2415 drivers/scsi/lpfc/lpfc_els.c npr = (PRLI *)pcmd; pcmd 2443 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *)(pcmd)) = ELS_CMD_NVMEPRLI; pcmd 2444 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 2445 drivers/scsi/lpfc/lpfc_els.c npr_nvme = (struct lpfc_nvme_prli *)pcmd; pcmd 2747 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 2756 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 2759 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_ADISC; pcmd 2760 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 2763 drivers/scsi/lpfc/lpfc_els.c ap = (ADISC *) pcmd; pcmd 2950 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 2967 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 2968 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_LOGO; pcmd 2969 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 2972 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = be32_to_cpu(vport->fc_myDID); pcmd 2973 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 2974 drivers/scsi/lpfc/lpfc_els.c memcpy(pcmd, &vport->fc_portname, sizeof(struct lpfc_name)); pcmd 3069 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 3098 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 3100 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_SCR; pcmd 3101 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 3104 drivers/scsi/lpfc/lpfc_els.c memset(pcmd, 0, sizeof(SCR)); pcmd 3105 drivers/scsi/lpfc/lpfc_els.c ((SCR *) pcmd)->Function = SCR_FUNC_FULL; pcmd 3269 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 3299 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 3301 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_FARPR; pcmd 3302 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 3305 drivers/scsi/lpfc/lpfc_els.c fp = (FARP *) (pcmd); pcmd 3307 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *) pcmd; pcmd 3601 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 3615 drivers/scsi/lpfc/lpfc_els.c if (pcmd && pcmd->virt) { pcmd 3616 drivers/scsi/lpfc/lpfc_els.c elscmd = (uint32_t *) (pcmd->virt); pcmd 4297 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 4310 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) cmdiocb->context2)->virt); pcmd 4312 drivers/scsi/lpfc/lpfc_els.c (*((uint32_t *) (pcmd)) == ELS_CMD_LS_RJT)) { pcmd 4502 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 4525 drivers/scsi/lpfc/lpfc_els.c pcmd = (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 4526 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_ACC; pcmd 4527 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 4544 drivers/scsi/lpfc/lpfc_els.c pcmd = (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 4549 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_ACC; pcmd 4550 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 4551 drivers/scsi/lpfc/lpfc_els.c sp = (struct serv_parm *)pcmd; pcmd 4573 drivers/scsi/lpfc/lpfc_els.c memcpy(pcmd, &vport->fc_sparam, pcmd 4606 drivers/scsi/lpfc/lpfc_els.c pcmd = (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 4608 drivers/scsi/lpfc/lpfc_els.c memcpy(pcmd, ((struct lpfc_dmabuf *) oldiocb->context2)->virt, pcmd 4610 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_PRLO_ACC; pcmd 4611 drivers/scsi/lpfc/lpfc_els.c els_pkt_ptr = (ELS_PKT *) pcmd; pcmd 4672 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 4686 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 4688 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_LS_RJT; pcmd 4689 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 4690 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = rejectError; pcmd 4745 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 4767 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 4769 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_ACC; pcmd 4770 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 4772 drivers/scsi/lpfc/lpfc_els.c ap = (ADISC *) (pcmd); pcmd 4831 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 4878 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 4879 drivers/scsi/lpfc/lpfc_els.c memset(pcmd, 0, cmdsize); pcmd 4881 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *)(pcmd)) = elsrspcmd; pcmd 4882 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 4893 drivers/scsi/lpfc/lpfc_els.c npr = (PRLI *) pcmd; pcmd 4908 drivers/scsi/lpfc/lpfc_els.c npr_nvme = (struct lpfc_nvme_prli *) pcmd; pcmd 4994 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 5017 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 5018 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_ACC; pcmd 5019 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 5021 drivers/scsi/lpfc/lpfc_els.c memset(pcmd, 0, sizeof(RNID)); pcmd 5022 drivers/scsi/lpfc/lpfc_els.c rn = (RNID *) (pcmd); pcmd 5073 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 5080 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) iocb->context2)->virt); pcmd 5081 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 5082 drivers/scsi/lpfc/lpfc_els.c rrq = (struct RRQ *)pcmd; pcmd 5124 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 5147 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 5148 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_ACC; pcmd 5149 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 5150 drivers/scsi/lpfc/lpfc_els.c memcpy(pcmd, data, cmdsize - sizeof(uint32_t)); pcmd 5710 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 5742 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 5743 drivers/scsi/lpfc/lpfc_els.c memset(pcmd, 0, sizeof(struct fc_rdp_res_frame)); pcmd 5744 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_ACC; pcmd 5755 drivers/scsi/lpfc/lpfc_els.c (len + pcmd), ELS_CMD_RDP); pcmd 5757 drivers/scsi/lpfc/lpfc_els.c len += lpfc_rdp_res_sfp_desc((struct fc_rdp_sfp_desc *)(len + pcmd), pcmd 5759 drivers/scsi/lpfc/lpfc_els.c len += lpfc_rdp_res_speed((struct fc_rdp_port_speed_desc *)(len + pcmd), pcmd 5762 drivers/scsi/lpfc/lpfc_els.c (len + pcmd), &rdp_context->link_stat); pcmd 5764 drivers/scsi/lpfc/lpfc_els.c (len + pcmd), vport); pcmd 5766 drivers/scsi/lpfc/lpfc_els.c (len + pcmd), vport, ndlp); pcmd 5767 drivers/scsi/lpfc/lpfc_els.c len += lpfc_rdp_res_fec_desc((struct fc_fec_rdp_desc *)(len + pcmd), pcmd 5769 drivers/scsi/lpfc/lpfc_els.c len += lpfc_rdp_res_bbc_desc((struct fc_rdp_bbc_desc *)(len + pcmd), pcmd 5772 drivers/scsi/lpfc/lpfc_els.c (struct fc_rdp_oed_sfp_desc *)(len + pcmd), pcmd 5775 drivers/scsi/lpfc/lpfc_els.c (struct fc_rdp_oed_sfp_desc *)(len + pcmd), pcmd 5778 drivers/scsi/lpfc/lpfc_els.c (struct fc_rdp_oed_sfp_desc *)(len + pcmd), pcmd 5781 drivers/scsi/lpfc/lpfc_els.c (struct fc_rdp_oed_sfp_desc *)(len + pcmd), pcmd 5784 drivers/scsi/lpfc/lpfc_els.c (struct fc_rdp_oed_sfp_desc *)(len + pcmd), pcmd 5786 drivers/scsi/lpfc/lpfc_els.c len += lpfc_rdp_res_opd_desc((struct fc_rdp_opd_sfp_desc *)(len + pcmd), pcmd 5818 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 5820 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_LS_RJT; pcmd 5821 drivers/scsi/lpfc/lpfc_els.c stat = (struct ls_rjt *)(pcmd + sizeof(uint32_t)); pcmd 5886 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd; pcmd 5907 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 5908 drivers/scsi/lpfc/lpfc_els.c rdp_req = (struct fc_rdp_req_frame *) pcmd->virt; pcmd 5965 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 6019 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *)(((struct lpfc_dmabuf *)elsiocb->context2)->virt); pcmd 6020 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *)(pcmd)) = ELS_CMD_ACC; pcmd 6047 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *)(((struct lpfc_dmabuf *)elsiocb->context2)->virt); pcmd 6049 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *)(pcmd)) = ELS_CMD_LS_RJT; pcmd 6050 drivers/scsi/lpfc/lpfc_els.c stat = (struct ls_rjt *)(pcmd + sizeof(uint32_t)); pcmd 6156 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd; pcmd 6163 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *)cmdiocb->context2; pcmd 6164 drivers/scsi/lpfc/lpfc_els.c lp = (uint8_t *)pcmd->virt; pcmd 6165 drivers/scsi/lpfc/lpfc_els.c beacon = (struct fc_lcb_request_frame *)pcmd->virt; pcmd 6404 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd; pcmd 6410 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 6411 drivers/scsi/lpfc/lpfc_els.c payload_ptr = (uint32_t *) pcmd->virt; pcmd 6463 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd; pcmd 6470 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 6471 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *) pcmd->virt; pcmd 6596 drivers/scsi/lpfc/lpfc_els.c vport->fc_rscn_id_list[rscn_cnt] = pcmd; pcmd 6634 drivers/scsi/lpfc/lpfc_els.c vport->fc_rscn_id_list[vport->fc_rscn_id_cnt++] = pcmd; pcmd 6770 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 6771 drivers/scsi/lpfc/lpfc_els.c uint32_t *lp = (uint32_t *) pcmd->virt; pcmd 6931 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd; pcmd 6936 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 6937 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *) pcmd->virt; pcmd 6975 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 6977 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) cmdiocb->context2)->virt); pcmd 6980 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 6982 drivers/scsi/lpfc/lpfc_els.c lpfc_els_rsp_echo_acc(vport, pcmd, cmdiocb, ndlp); pcmd 7064 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 7101 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 7102 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_ACC; pcmd 7103 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); /* Skip past command */ pcmd 7104 drivers/scsi/lpfc/lpfc_els.c rls_rsp = (struct RLS_RSP *)pcmd; pcmd 7151 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 7188 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 7189 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_ACC; pcmd 7190 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); /* Skip past command */ pcmd 7191 drivers/scsi/lpfc/lpfc_els.c rps_rsp = (RPS_RSP *)pcmd; pcmd 7310 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 7328 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 7329 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_ACC; pcmd 7330 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); /* Skip past command */ pcmd 7336 drivers/scsi/lpfc/lpfc_els.c rtv_rsp = (struct RTV_RSP *)pcmd; pcmd 7395 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd; pcmd 7404 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 7405 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *) pcmd->virt; pcmd 7467 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 7484 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 7487 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_RRQ; pcmd 7488 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 7489 drivers/scsi/lpfc/lpfc_els.c els_rrq = (struct RRQ *) pcmd; pcmd 7566 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 7579 drivers/scsi/lpfc/lpfc_els.c pcmd = (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 7580 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_ACC; pcmd 7581 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint16_t); pcmd 7582 drivers/scsi/lpfc/lpfc_els.c *((uint16_t *)(pcmd)) = be16_to_cpu(cmdsize); pcmd 7583 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint16_t); pcmd 7592 drivers/scsi/lpfc/lpfc_els.c memcpy(pcmd, &rpl_rsp, cmdsize - sizeof(uint32_t)); pcmd 7631 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd; pcmd 7651 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 7652 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *) pcmd->virt; pcmd 7697 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd; pcmd 7705 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 7706 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *) pcmd->virt; pcmd 7770 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd; pcmd 7777 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 7778 drivers/scsi/lpfc/lpfc_els.c lp = (uint32_t *) pcmd->virt; pcmd 7891 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd; pcmd 7928 drivers/scsi/lpfc/lpfc_els.c pcmd = (struct lpfc_dmabuf *) piocb->context2; pcmd 7929 drivers/scsi/lpfc/lpfc_els.c if (pcmd) pcmd 7930 drivers/scsi/lpfc/lpfc_els.c els_command = *(uint32_t *) (pcmd->virt); pcmd 8175 drivers/scsi/lpfc/lpfc_els.c uint32_t *pcmd; pcmd 8188 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint32_t *) (((struct lpfc_dmabuf *) pcmd 8190 drivers/scsi/lpfc/lpfc_els.c lsrjt_event.command = (pcmd != NULL) ? *pcmd : 0; pcmd 9234 drivers/scsi/lpfc/lpfc_els.c struct lpfc_dmabuf *pcmd = cmdiocb->context2, *prsp; pcmd 9280 drivers/scsi/lpfc/lpfc_els.c prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, list); pcmd 9375 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 9405 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 9406 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_FDISC; pcmd 9407 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); /* CSP Word 1 */ pcmd 9408 drivers/scsi/lpfc/lpfc_els.c memcpy(pcmd, &vport->phba->pport->fc_sparam, sizeof(struct serv_parm)); pcmd 9409 drivers/scsi/lpfc/lpfc_els.c sp = (struct serv_parm *) pcmd; pcmd 9418 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); /* CSP Word 2 */ pcmd 9419 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); /* CSP Word 3 */ pcmd 9420 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); /* CSP Word 4 */ pcmd 9421 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); /* Port Name */ pcmd 9422 drivers/scsi/lpfc/lpfc_els.c memcpy(pcmd, &vport->fc_portname, 8); pcmd 9423 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); /* Node Name */ pcmd 9424 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); /* Node Name */ pcmd 9425 drivers/scsi/lpfc/lpfc_els.c memcpy(pcmd, &vport->fc_nodename, 8); pcmd 9522 drivers/scsi/lpfc/lpfc_els.c uint8_t *pcmd; pcmd 9531 drivers/scsi/lpfc/lpfc_els.c pcmd = (uint8_t *) (((struct lpfc_dmabuf *) elsiocb->context2)->virt); pcmd 9532 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = ELS_CMD_LOGO; pcmd 9533 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 9536 drivers/scsi/lpfc/lpfc_els.c *((uint32_t *) (pcmd)) = be32_to_cpu(vport->fc_myDID); pcmd 9537 drivers/scsi/lpfc/lpfc_els.c pcmd += sizeof(uint32_t); pcmd 9538 drivers/scsi/lpfc/lpfc_els.c memcpy(pcmd, &vport->fc_portname, sizeof(struct lpfc_name)); pcmd 173 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_dmabuf *pcmd, *prsp; pcmd 179 drivers/scsi/lpfc/lpfc_nportdisc.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 184 drivers/scsi/lpfc/lpfc_nportdisc.c if (pcmd) { pcmd 185 drivers/scsi/lpfc/lpfc_nportdisc.c prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, pcmd 288 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_dmabuf *pcmd; pcmd 300 drivers/scsi/lpfc/lpfc_nportdisc.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 301 drivers/scsi/lpfc/lpfc_nportdisc.c lp = (uint32_t *) pcmd->virt; pcmd 562 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_dmabuf *pcmd; pcmd 571 drivers/scsi/lpfc/lpfc_nportdisc.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 572 drivers/scsi/lpfc/lpfc_nportdisc.c lp = (uint32_t *) pcmd->virt; pcmd 778 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_dmabuf *pcmd; pcmd 784 drivers/scsi/lpfc/lpfc_nportdisc.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 785 drivers/scsi/lpfc/lpfc_nportdisc.c lp = (uint32_t *) pcmd->virt; pcmd 1040 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_dmabuf *pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 1041 drivers/scsi/lpfc/lpfc_nportdisc.c uint32_t *lp = (uint32_t *) pcmd->virt; pcmd 1152 drivers/scsi/lpfc/lpfc_nportdisc.c struct lpfc_dmabuf *pcmd, *prsp, *mp; pcmd 1174 drivers/scsi/lpfc/lpfc_nportdisc.c pcmd = (struct lpfc_dmabuf *) cmdiocb->context2; pcmd 1176 drivers/scsi/lpfc/lpfc_nportdisc.c prsp = list_get_first(&pcmd->list, struct lpfc_dmabuf, list); pcmd 9298 drivers/scsi/lpfc/lpfc_sli.c uint32_t *pcmd; pcmd 9379 drivers/scsi/lpfc/lpfc_sli.c pcmd = (uint32_t *) (((struct lpfc_dmabuf *) pcmd 9384 drivers/scsi/lpfc/lpfc_sli.c if (pcmd && (*pcmd == ELS_CMD_FLOGI || pcmd 9385 drivers/scsi/lpfc/lpfc_sli.c *pcmd == ELS_CMD_SCR || pcmd 9386 drivers/scsi/lpfc/lpfc_sli.c *pcmd == ELS_CMD_RSCN_XMT || pcmd 9387 drivers/scsi/lpfc/lpfc_sli.c *pcmd == ELS_CMD_FDISC || pcmd 9388 drivers/scsi/lpfc/lpfc_sli.c *pcmd == ELS_CMD_LOGO || pcmd 9389 drivers/scsi/lpfc/lpfc_sli.c *pcmd == ELS_CMD_PLOGI)) { pcmd 9393 drivers/scsi/lpfc/lpfc_sli.c if ((*pcmd == ELS_CMD_FLOGI) && pcmd 9400 drivers/scsi/lpfc/lpfc_sli.c } else if (pcmd && iocbq->context1) { pcmd 9718 drivers/scsi/lpfc/lpfc_sli.c pcmd = (uint32_t *) (((struct lpfc_dmabuf *) pcmd 17913 drivers/scsi/lpfc/lpfc_sli.c struct lpfc_dmabuf *pcmd = cmdiocb->context2; pcmd 17915 drivers/scsi/lpfc/lpfc_sli.c if (pcmd && pcmd->virt) pcmd 17916 drivers/scsi/lpfc/lpfc_sli.c dma_pool_free(phba->lpfc_drb_pool, pcmd->virt, pcmd->phys); pcmd 17917 drivers/scsi/lpfc/lpfc_sli.c kfree(pcmd); pcmd 17930 drivers/scsi/lpfc/lpfc_sli.c struct lpfc_dmabuf *pcmd = NULL; pcmd 17952 drivers/scsi/lpfc/lpfc_sli.c pcmd = kmalloc(sizeof(struct lpfc_dmabuf), GFP_KERNEL); pcmd 17953 drivers/scsi/lpfc/lpfc_sli.c if (pcmd) pcmd 17954 drivers/scsi/lpfc/lpfc_sli.c pcmd->virt = dma_pool_alloc(phba->lpfc_drb_pool, GFP_KERNEL, pcmd 17955 drivers/scsi/lpfc/lpfc_sli.c &pcmd->phys); pcmd 17956 drivers/scsi/lpfc/lpfc_sli.c if (!pcmd || !pcmd->virt) pcmd 17959 drivers/scsi/lpfc/lpfc_sli.c INIT_LIST_HEAD(&pcmd->list); pcmd 17962 drivers/scsi/lpfc/lpfc_sli.c memcpy(pcmd->virt, dmabuf->dbuf.virt, frame_len); pcmd 17965 drivers/scsi/lpfc/lpfc_sli.c iocbq->iocb.un.xseq64.bdl.addrHigh = putPaddrHigh(pcmd->phys); pcmd 17966 drivers/scsi/lpfc/lpfc_sli.c iocbq->iocb.un.xseq64.bdl.addrLow = putPaddrLow(pcmd->phys); pcmd 17970 drivers/scsi/lpfc/lpfc_sli.c iocbq->context2 = pcmd; pcmd 18002 drivers/scsi/lpfc/lpfc_sli.c if (pcmd && pcmd->virt) pcmd 18003 drivers/scsi/lpfc/lpfc_sli.c dma_pool_free(phba->lpfc_drb_pool, pcmd->virt, pcmd->phys); pcmd 18004 drivers/scsi/lpfc/lpfc_sli.c kfree(pcmd); pcmd 8188 drivers/scsi/ncr53c8xx.c struct scsi_cmnd **pcmd = &np->waiting_list; pcmd 8190 drivers/scsi/ncr53c8xx.c while (*pcmd) { pcmd 8191 drivers/scsi/ncr53c8xx.c if (cmd == *pcmd) { pcmd 8193 drivers/scsi/ncr53c8xx.c *pcmd = (struct scsi_cmnd *) cmd->next_wcmd; pcmd 8201 drivers/scsi/ncr53c8xx.c pcmd = (struct scsi_cmnd **) &(*pcmd)->next_wcmd; pcmd 120 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_free_cmd_obj(struct cmd_obj *pcmd) pcmd 122 drivers/staging/rtl8188eu/core/rtw_cmd.c if ((pcmd->cmdcode != _JoinBss_CMD_) && (pcmd->cmdcode != _CreateBss_CMD_)) { pcmd 124 drivers/staging/rtl8188eu/core/rtw_cmd.c kfree(pcmd->parmbuf); pcmd 127 drivers/staging/rtl8188eu/core/rtw_cmd.c if (pcmd->rsp) { pcmd 128 drivers/staging/rtl8188eu/core/rtw_cmd.c if (pcmd->rspsz != 0) { pcmd 130 drivers/staging/rtl8188eu/core/rtw_cmd.c kfree(pcmd->rsp); pcmd 135 drivers/staging/rtl8188eu/core/rtw_cmd.c kfree(pcmd); pcmd 141 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_obj *pcmd; pcmd 143 drivers/staging/rtl8188eu/core/rtw_cmd.c void (*pcmd_callback)(struct adapter *dev, struct cmd_obj *pcmd); pcmd 173 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd = rtw_dequeue_cmd(&pcmdpriv->cmd_queue); pcmd 174 drivers/staging/rtl8188eu/core/rtw_cmd.c if (!pcmd) pcmd 177 drivers/staging/rtl8188eu/core/rtw_cmd.c if (rtw_cmd_filter(pcmdpriv, pcmd) == _FAIL) { pcmd 178 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->res = H2C_DROPPED; pcmd 180 drivers/staging/rtl8188eu/core/rtw_cmd.c if (pcmd->cmdcode < ARRAY_SIZE(wlancmds)) { pcmd 181 drivers/staging/rtl8188eu/core/rtw_cmd.c cmd_hdl = wlancmds[pcmd->cmdcode].h2cfuns; pcmd 184 drivers/staging/rtl8188eu/core/rtw_cmd.c ret = cmd_hdl(pcmd->padapter, pcmd->parmbuf); pcmd 185 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->res = ret; pcmd 188 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->res = H2C_PARAMETERS_ERROR; pcmd 195 drivers/staging/rtl8188eu/core/rtw_cmd.c if (pcmd->cmdcode < ARRAY_SIZE(rtw_cmd_callback)) { pcmd 196 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd_callback = rtw_cmd_callback[pcmd->cmdcode].callback; pcmd 198 drivers/staging/rtl8188eu/core/rtw_cmd.c RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, ("mlme_cmd_hdl(): pcmd_callback = 0x%p, cmdcode = 0x%x\n", pcmd_callback, pcmd->cmdcode)); pcmd 199 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 202 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd_callback(pcmd->padapter, pcmd);/* need conider that free cmd_obj in rtw_cmd_callback */ pcmd 205 drivers/staging/rtl8188eu/core/rtw_cmd.c RT_TRACE(_module_rtl871x_cmd_c_, _drv_err_, ("%s: cmdcode = 0x%x callback not defined!\n", __func__, pcmd->cmdcode)); pcmd 206 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 217 drivers/staging/rtl8188eu/core/rtw_cmd.c while ((pcmd = rtw_dequeue_cmd(&pcmdpriv->cmd_queue))) pcmd 218 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 303 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_readtssi_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 305 drivers/staging/rtl8188eu/core/rtw_cmd.c kfree(pcmd->parmbuf); pcmd 306 drivers/staging/rtl8188eu/core/rtw_cmd.c kfree(pcmd); pcmd 311 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_obj *pcmd; pcmd 324 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd = kzalloc(sizeof(*pcmd), GFP_ATOMIC); pcmd 325 drivers/staging/rtl8188eu/core/rtw_cmd.c if (!pcmd) { pcmd 330 drivers/staging/rtl8188eu/core/rtw_cmd.c INIT_LIST_HEAD(&pcmd->list); pcmd 331 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->cmdcode = _CreateBss_CMD_; pcmd 332 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->parmbuf = (unsigned char *)pdev_network; pcmd 333 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->cmdsz = get_wlan_bssid_ex_sz((struct wlan_bssid_ex *)pdev_network); pcmd 334 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->rsp = NULL; pcmd 335 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->rspsz = 0; pcmd 336 drivers/staging/rtl8188eu/core/rtw_cmd.c pdev_network->Length = pcmd->cmdsz; pcmd 337 drivers/staging/rtl8188eu/core/rtw_cmd.c res = rtw_enqueue_cmd(pcmdpriv, pcmd); pcmd 348 drivers/staging/rtl8188eu/core/rtw_cmd.c struct cmd_obj *pcmd; pcmd 366 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd = kzalloc(sizeof(*pcmd), GFP_ATOMIC); pcmd 367 drivers/staging/rtl8188eu/core/rtw_cmd.c if (!pcmd) { pcmd 392 drivers/staging/rtl8188eu/core/rtw_cmd.c kfree(pcmd); pcmd 465 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->cmdsz = get_wlan_bssid_ex_sz(psecnetwork);/* get cmdsz before endian conversion */ pcmd 467 drivers/staging/rtl8188eu/core/rtw_cmd.c INIT_LIST_HEAD(&pcmd->list); pcmd 468 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->cmdcode = _JoinBss_CMD_; pcmd 469 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->parmbuf = (unsigned char *)psecnetwork; pcmd 470 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->rsp = NULL; pcmd 471 drivers/staging/rtl8188eu/core/rtw_cmd.c pcmd->rspsz = 0; pcmd 473 drivers/staging/rtl8188eu/core/rtw_cmd.c res = rtw_enqueue_cmd(pcmdpriv, pcmd); pcmd 1118 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_survey_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 1122 drivers/staging/rtl8188eu/core/rtw_cmd.c if (pcmd->res == H2C_DROPPED) { pcmd 1127 drivers/staging/rtl8188eu/core/rtw_cmd.c } else if (pcmd->res != H2C_SUCCESS) { pcmd 1134 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 1137 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_disassoc_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 1141 drivers/staging/rtl8188eu/core/rtw_cmd.c if (pcmd->res != H2C_SUCCESS) { pcmd 1151 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 1154 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_joinbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 1158 drivers/staging/rtl8188eu/core/rtw_cmd.c if (pcmd->res == H2C_DROPPED) { pcmd 1163 drivers/staging/rtl8188eu/core/rtw_cmd.c } else if (pcmd->res != H2C_SUCCESS) { pcmd 1169 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 1172 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_createbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 1177 drivers/staging/rtl8188eu/core/rtw_cmd.c struct wlan_bssid_ex *pnetwork = (struct wlan_bssid_ex *)pcmd->parmbuf; pcmd 1180 drivers/staging/rtl8188eu/core/rtw_cmd.c if (pcmd->res != H2C_SUCCESS) { pcmd 1235 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 1238 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_setstaKey_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 1241 drivers/staging/rtl8188eu/core/rtw_cmd.c struct set_stakey_rsp *psetstakey_rsp = (struct set_stakey_rsp *)(pcmd->rsp); pcmd 1249 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 1252 drivers/staging/rtl8188eu/core/rtw_cmd.c void rtw_setassocsta_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 1256 drivers/staging/rtl8188eu/core/rtw_cmd.c struct set_assocsta_parm *passocsta_parm = (struct set_assocsta_parm *)(pcmd->parmbuf); pcmd 1257 drivers/staging/rtl8188eu/core/rtw_cmd.c struct set_assocsta_rsp *passocsta_rsp = (struct set_assocsta_rsp *)(pcmd->rsp); pcmd 1274 drivers/staging/rtl8188eu/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 1518 drivers/staging/rtl8188eu/core/rtw_mlme.c struct cmd_obj *pcmd; pcmd 1523 drivers/staging/rtl8188eu/core/rtw_mlme.c pcmd = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); pcmd 1524 drivers/staging/rtl8188eu/core/rtw_mlme.c if (!pcmd) { pcmd 1531 drivers/staging/rtl8188eu/core/rtw_mlme.c kfree(pcmd); pcmd 1536 drivers/staging/rtl8188eu/core/rtw_mlme.c pcmd->cmdcode = _SetAuth_CMD_; pcmd 1537 drivers/staging/rtl8188eu/core/rtw_mlme.c pcmd->parmbuf = (unsigned char *)psetauthparm; pcmd 1538 drivers/staging/rtl8188eu/core/rtw_mlme.c pcmd->cmdsz = sizeof(struct setauth_parm); pcmd 1539 drivers/staging/rtl8188eu/core/rtw_mlme.c pcmd->rsp = NULL; pcmd 1540 drivers/staging/rtl8188eu/core/rtw_mlme.c pcmd->rspsz = 0; pcmd 1541 drivers/staging/rtl8188eu/core/rtw_mlme.c INIT_LIST_HEAD(&pcmd->list); pcmd 1545 drivers/staging/rtl8188eu/core/rtw_mlme.c res = rtw_enqueue_cmd(pcmdpriv, pcmd); pcmd 1553 drivers/staging/rtl8188eu/core/rtw_mlme.c struct cmd_obj *pcmd; pcmd 1559 drivers/staging/rtl8188eu/core/rtw_mlme.c pcmd = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); pcmd 1560 drivers/staging/rtl8188eu/core/rtw_mlme.c if (!pcmd) pcmd 1618 drivers/staging/rtl8188eu/core/rtw_mlme.c pcmd->cmdcode = _SetKey_CMD_; pcmd 1619 drivers/staging/rtl8188eu/core/rtw_mlme.c pcmd->parmbuf = (u8 *)psetkeyparm; pcmd 1620 drivers/staging/rtl8188eu/core/rtw_mlme.c pcmd->cmdsz = sizeof(struct setkey_parm); pcmd 1621 drivers/staging/rtl8188eu/core/rtw_mlme.c pcmd->rsp = NULL; pcmd 1622 drivers/staging/rtl8188eu/core/rtw_mlme.c pcmd->rspsz = 0; pcmd 1623 drivers/staging/rtl8188eu/core/rtw_mlme.c INIT_LIST_HEAD(&pcmd->list); pcmd 1624 drivers/staging/rtl8188eu/core/rtw_mlme.c return rtw_enqueue_cmd(pcmdpriv, pcmd); pcmd 1629 drivers/staging/rtl8188eu/core/rtw_mlme.c kfree(pcmd); pcmd 41 drivers/staging/rtl8188eu/include/rtw_cmd.h #define init_h2fwcmd_w_parm_no_rsp(pcmd, pparm, code) \ pcmd 43 drivers/staging/rtl8188eu/include/rtw_cmd.h INIT_LIST_HEAD(&pcmd->list);\ pcmd 44 drivers/staging/rtl8188eu/include/rtw_cmd.h pcmd->cmdcode = code;\ pcmd 45 drivers/staging/rtl8188eu/include/rtw_cmd.h pcmd->parmbuf = (u8 *)(pparm);\ pcmd 46 drivers/staging/rtl8188eu/include/rtw_cmd.h pcmd->cmdsz = sizeof(*pparm);\ pcmd 47 drivers/staging/rtl8188eu/include/rtw_cmd.h pcmd->rsp = NULL;\ pcmd 48 drivers/staging/rtl8188eu/include/rtw_cmd.h pcmd->rspsz = 0;\ pcmd 53 drivers/staging/rtl8188eu/include/rtw_cmd.h void rtw_free_cmd_obj(struct cmd_obj *pcmd); pcmd 329 drivers/staging/rtl8188eu/include/rtw_cmd.h void rtw_survey_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); pcmd 330 drivers/staging/rtl8188eu/include/rtw_cmd.h void rtw_disassoc_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); pcmd 331 drivers/staging/rtl8188eu/include/rtw_cmd.h void rtw_joinbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); pcmd 332 drivers/staging/rtl8188eu/include/rtw_cmd.h void rtw_createbss_cmd_callback(struct adapter *adapt, struct cmd_obj *pcmd); pcmd 2118 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c struct cmd_obj *pcmd; pcmd 2125 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c pcmd = kzalloc(sizeof(struct cmd_obj), GFP_KERNEL); pcmd 2126 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c if (!pcmd) { pcmd 2132 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c kfree(pcmd); pcmd 2159 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c pcmd->cmdcode = _SetKey_CMD_; pcmd 2160 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c pcmd->parmbuf = (u8 *)psetkeyparm; pcmd 2161 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c pcmd->cmdsz = (sizeof(struct setkey_parm)); pcmd 2162 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c pcmd->rsp = NULL; pcmd 2163 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c pcmd->rspsz = 0; pcmd 2165 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c INIT_LIST_HEAD(&pcmd->list); pcmd 2167 drivers/staging/rtl8188eu/os_dep/ioctl_linux.c res = rtw_enqueue_cmd(pcmdpriv, pcmd); pcmd 122 drivers/staging/rtl8712/rtl8712_cmd.c void (*pcmd_callback)(struct _adapter *dev, struct cmd_obj *pcmd); pcmd 123 drivers/staging/rtl8712/rtl8712_cmd.c struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; pcmd 126 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback = cmd_callback[pcmd->cmdcode].callback; pcmd 128 drivers/staging/rtl8712/rtl8712_cmd.c r8712_free_cmd_obj(pcmd); pcmd 130 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback(padapter, pcmd); pcmd 136 drivers/staging/rtl8712/rtl8712_cmd.c void (*pcmd_callback)(struct _adapter *dev, struct cmd_obj *pcmd); pcmd 137 drivers/staging/rtl8712/rtl8712_cmd.c struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; pcmd 140 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback = cmd_callback[pcmd->cmdcode].callback; pcmd 142 drivers/staging/rtl8712/rtl8712_cmd.c r8712_free_cmd_obj(pcmd); pcmd 144 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback(padapter, pcmd); pcmd 150 drivers/staging/rtl8712/rtl8712_cmd.c struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; pcmd 152 drivers/staging/rtl8712/rtl8712_cmd.c r8712_free_cmd_obj(pcmd); pcmd 158 drivers/staging/rtl8712/rtl8712_cmd.c void (*pcmd_callback)(struct _adapter *dev, struct cmd_obj *pcmd); pcmd 159 drivers/staging/rtl8712/rtl8712_cmd.c struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; pcmd 161 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback = cmd_callback[pcmd->cmdcode].callback; pcmd 163 drivers/staging/rtl8712/rtl8712_cmd.c r8712_free_cmd_obj(pcmd); pcmd 165 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback(padapter, pcmd); pcmd 172 drivers/staging/rtl8712/rtl8712_cmd.c void (*pcmd_callback)(struct _adapter *dev, struct cmd_obj *pcmd); pcmd 173 drivers/staging/rtl8712/rtl8712_cmd.c struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; pcmd 175 drivers/staging/rtl8712/rtl8712_cmd.c if (pcmd->rsp && pcmd->rspsz > 0) pcmd 176 drivers/staging/rtl8712/rtl8712_cmd.c memcpy(pcmd->rsp, (u8 *)&val, pcmd->rspsz); pcmd 177 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback = cmd_callback[pcmd->cmdcode].callback; pcmd 179 drivers/staging/rtl8712/rtl8712_cmd.c r8712_free_cmd_obj(pcmd); pcmd 181 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback(padapter, pcmd); pcmd 187 drivers/staging/rtl8712/rtl8712_cmd.c void (*pcmd_callback)(struct _adapter *dev, struct cmd_obj *pcmd); pcmd 188 drivers/staging/rtl8712/rtl8712_cmd.c struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; pcmd 190 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback = cmd_callback[pcmd->cmdcode].callback; pcmd 192 drivers/staging/rtl8712/rtl8712_cmd.c r8712_free_cmd_obj(pcmd); pcmd 194 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback(padapter, pcmd); pcmd 200 drivers/staging/rtl8712/rtl8712_cmd.c struct cmd_obj *pcmd = (struct cmd_obj *)pbuf; pcmd 202 drivers/staging/rtl8712/rtl8712_cmd.c r8712_free_cmd_obj(pcmd); pcmd 207 drivers/staging/rtl8712/rtl8712_cmd.c struct cmd_obj *pcmd) pcmd 211 drivers/staging/rtl8712/rtl8712_cmd.c if (!pcmd) pcmd 212 drivers/staging/rtl8712/rtl8712_cmd.c return pcmd; pcmd 215 drivers/staging/rtl8712/rtl8712_cmd.c switch (pcmd->cmdcode) { pcmd 217 drivers/staging/rtl8712/rtl8712_cmd.c read_macreg_hdl(padapter, (u8 *)pcmd); pcmd 218 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_r = pcmd; pcmd 221 drivers/staging/rtl8712/rtl8712_cmd.c write_macreg_hdl(padapter, (u8 *)pcmd); pcmd 222 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_r = pcmd; pcmd 225 drivers/staging/rtl8712/rtl8712_cmd.c read_bbreg_hdl(padapter, (u8 *)pcmd); pcmd 228 drivers/staging/rtl8712/rtl8712_cmd.c write_bbreg_hdl(padapter, (u8 *)pcmd); pcmd 231 drivers/staging/rtl8712/rtl8712_cmd.c read_rfreg_hdl(padapter, (u8 *)pcmd); pcmd 234 drivers/staging/rtl8712/rtl8712_cmd.c write_rfreg_hdl(padapter, (u8 *)pcmd); pcmd 237 drivers/staging/rtl8712/rtl8712_cmd.c sys_suspend_hdl(padapter, (u8 *)pcmd); pcmd 252 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_r = pcmd; pcmd 255 drivers/staging/rtl8712/rtl8712_cmd.c r871x_internal_cmd_hdl(padapter, pcmd->parmbuf); pcmd 256 drivers/staging/rtl8712/rtl8712_cmd.c r8712_free_cmd_obj(pcmd); pcmd 260 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_r = pcmd; pcmd 292 drivers/staging/rtl8712/rtl8712_cmd.c struct cmd_obj *pcmd; pcmd 296 drivers/staging/rtl8712/rtl8712_cmd.c void (*pcmd_callback)(struct _adapter *dev, struct cmd_obj *pcmd); pcmd 312 drivers/staging/rtl8712/rtl8712_cmd.c pcmd = r8712_dequeue_cmd(&pcmdpriv->cmd_queue); pcmd 313 drivers/staging/rtl8712/rtl8712_cmd.c if (!(pcmd)) { pcmd 320 drivers/staging/rtl8712/rtl8712_cmd.c pcmd = cmd_hdl_filter(padapter, pcmd); pcmd 321 drivers/staging/rtl8712/rtl8712_cmd.c if (pcmd) { /* if pcmd != NULL, cmd will be handled by f/w */ pcmd 324 drivers/staging/rtl8712/rtl8712_cmd.c u16 cmdcode = pcmd->cmdcode; pcmd 327 drivers/staging/rtl8712/rtl8712_cmd.c cmdsz = round_up(pcmd->cmdsz, 8); pcmd 353 drivers/staging/rtl8712/rtl8712_cmd.c (pcmd->cmdcode << 16) | pcmd 356 drivers/staging/rtl8712/rtl8712_cmd.c memcpy((u8 *)pcmdbuf, pcmd->parmbuf, pcmd->cmdsz); pcmd 363 drivers/staging/rtl8712/rtl8712_cmd.c pcmd->res = H2C_SUCCESS; pcmd 366 drivers/staging/rtl8712/rtl8712_cmd.c pcmd_callback(padapter, pcmd); pcmd 376 drivers/staging/rtl8712/rtl8712_cmd.c r8712_free_cmd_obj(pcmd); pcmd 390 drivers/staging/rtl8712/rtl8712_cmd.c pcmd = r8712_dequeue_cmd(&pcmdpriv->cmd_queue); pcmd 391 drivers/staging/rtl8712/rtl8712_cmd.c if (!pcmd) pcmd 393 drivers/staging/rtl8712/rtl8712_cmd.c r8712_free_cmd_obj(pcmd); pcmd 159 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_free_cmd_obj(struct cmd_obj *pcmd) pcmd 161 drivers/staging/rtl8712/rtl871x_cmd.c if ((pcmd->cmdcode != _JoinBss_CMD_) && pcmd 162 drivers/staging/rtl8712/rtl871x_cmd.c (pcmd->cmdcode != _CreateBss_CMD_)) pcmd 163 drivers/staging/rtl8712/rtl871x_cmd.c kfree(pcmd->parmbuf); pcmd 164 drivers/staging/rtl8712/rtl871x_cmd.c if (pcmd->rsp != NULL) { pcmd 165 drivers/staging/rtl8712/rtl871x_cmd.c if (pcmd->rspsz != 0) pcmd 166 drivers/staging/rtl8712/rtl871x_cmd.c kfree(pcmd->rsp); pcmd 168 drivers/staging/rtl8712/rtl871x_cmd.c kfree(pcmd); pcmd 301 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_obj *pcmd) pcmd 303 drivers/staging/rtl8712/rtl871x_cmd.c kfree(pcmd->parmbuf); pcmd 304 drivers/staging/rtl8712/rtl871x_cmd.c kfree(pcmd); pcmd 309 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_obj *pcmd) pcmd 311 drivers/staging/rtl8712/rtl871x_cmd.c kfree(pcmd->parmbuf); pcmd 312 drivers/staging/rtl8712/rtl871x_cmd.c kfree(pcmd); pcmd 319 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_obj *pcmd; pcmd 325 drivers/staging/rtl8712/rtl871x_cmd.c pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); pcmd 326 drivers/staging/rtl8712/rtl871x_cmd.c if (!pcmd) pcmd 328 drivers/staging/rtl8712/rtl871x_cmd.c INIT_LIST_HEAD(&pcmd->list); pcmd 329 drivers/staging/rtl8712/rtl871x_cmd.c pcmd->cmdcode = _CreateBss_CMD_; pcmd 330 drivers/staging/rtl8712/rtl871x_cmd.c pcmd->parmbuf = (unsigned char *)pdev_network; pcmd 331 drivers/staging/rtl8712/rtl871x_cmd.c pcmd->cmdsz = r8712_get_wlan_bssid_ex_sz(pdev_network); pcmd 332 drivers/staging/rtl8712/rtl871x_cmd.c pcmd->rsp = NULL; pcmd 333 drivers/staging/rtl8712/rtl871x_cmd.c pcmd->rspsz = 0; pcmd 335 drivers/staging/rtl8712/rtl871x_cmd.c pdev_network->Length = pcmd->cmdsz; pcmd 338 drivers/staging/rtl8712/rtl871x_cmd.c r8712_enqueue_cmd(pcmdpriv, pcmd); pcmd 345 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_obj *pcmd; pcmd 355 drivers/staging/rtl8712/rtl871x_cmd.c pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); pcmd 356 drivers/staging/rtl8712/rtl871x_cmd.c if (!pcmd) pcmd 438 drivers/staging/rtl8712/rtl871x_cmd.c pcmd->cmdsz = r8712_get_wlan_bssid_ex_sz(psecnetwork); pcmd 468 drivers/staging/rtl8712/rtl871x_cmd.c INIT_LIST_HEAD(&pcmd->list); pcmd 469 drivers/staging/rtl8712/rtl871x_cmd.c pcmd->cmdcode = _JoinBss_CMD_; pcmd 470 drivers/staging/rtl8712/rtl871x_cmd.c pcmd->parmbuf = (unsigned char *)psecnetwork; pcmd 471 drivers/staging/rtl8712/rtl871x_cmd.c pcmd->rsp = NULL; pcmd 472 drivers/staging/rtl8712/rtl871x_cmd.c pcmd->rspsz = 0; pcmd 473 drivers/staging/rtl8712/rtl871x_cmd.c r8712_enqueue_cmd(pcmdpriv, pcmd); pcmd 621 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_survey_cmd_callback(struct _adapter *padapter, struct cmd_obj *pcmd) pcmd 625 drivers/staging/rtl8712/rtl871x_cmd.c if (pcmd->res != H2C_SUCCESS) pcmd 627 drivers/staging/rtl8712/rtl871x_cmd.c r8712_free_cmd_obj(pcmd); pcmd 631 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_obj *pcmd) pcmd 636 drivers/staging/rtl8712/rtl871x_cmd.c if (pcmd->res != H2C_SUCCESS) { pcmd 642 drivers/staging/rtl8712/rtl871x_cmd.c r8712_free_cmd_obj(pcmd); pcmd 645 drivers/staging/rtl8712/rtl871x_cmd.c void r8712_joinbss_cmd_callback(struct _adapter *padapter, struct cmd_obj *pcmd) pcmd 649 drivers/staging/rtl8712/rtl871x_cmd.c if (pcmd->res != H2C_SUCCESS) pcmd 652 drivers/staging/rtl8712/rtl871x_cmd.c r8712_free_cmd_obj(pcmd); pcmd 656 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_obj *pcmd) pcmd 662 drivers/staging/rtl8712/rtl871x_cmd.c struct wlan_bssid_ex *pnetwork = (struct wlan_bssid_ex *)pcmd->parmbuf; pcmd 665 drivers/staging/rtl8712/rtl871x_cmd.c if (pcmd->res != H2C_SUCCESS) pcmd 731 drivers/staging/rtl8712/rtl871x_cmd.c r8712_free_cmd_obj(pcmd); pcmd 735 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_obj *pcmd) pcmd 739 drivers/staging/rtl8712/rtl871x_cmd.c (pcmd->rsp); pcmd 747 drivers/staging/rtl8712/rtl871x_cmd.c r8712_free_cmd_obj(pcmd); pcmd 751 drivers/staging/rtl8712/rtl871x_cmd.c struct cmd_obj *pcmd) pcmd 757 drivers/staging/rtl8712/rtl871x_cmd.c (struct set_assocsta_parm *)(pcmd->parmbuf); pcmd 759 drivers/staging/rtl8712/rtl871x_cmd.c (struct set_assocsta_rsp *) (pcmd->rsp); pcmd 772 drivers/staging/rtl8712/rtl871x_cmd.c r8712_free_cmd_obj(pcmd); pcmd 72 drivers/staging/rtl8712/rtl871x_cmd.h #define init_h2fwcmd_w_parm_no_rsp(pcmd, pparm, code) \ pcmd 74 drivers/staging/rtl8712/rtl871x_cmd.h INIT_LIST_HEAD(&pcmd->list);\ pcmd 75 drivers/staging/rtl8712/rtl871x_cmd.h pcmd->cmdcode = code;\ pcmd 76 drivers/staging/rtl8712/rtl871x_cmd.h pcmd->parmbuf = (u8 *)(pparm);\ pcmd 77 drivers/staging/rtl8712/rtl871x_cmd.h pcmd->cmdsz = sizeof(*pparm);\ pcmd 78 drivers/staging/rtl8712/rtl871x_cmd.h pcmd->rsp = NULL;\ pcmd 79 drivers/staging/rtl8712/rtl871x_cmd.h pcmd->rspsz = 0;\ pcmd 85 drivers/staging/rtl8712/rtl871x_cmd.h void r8712_free_cmd_obj(struct cmd_obj *pcmd); pcmd 728 drivers/staging/rtl8712/rtl871x_cmd.h struct cmd_obj *pcmd); pcmd 730 drivers/staging/rtl8712/rtl871x_cmd.h struct cmd_obj *pcmd); pcmd 732 drivers/staging/rtl8712/rtl871x_cmd.h struct cmd_obj *pcmd); pcmd 734 drivers/staging/rtl8712/rtl871x_cmd.h struct cmd_obj *pcmd); pcmd 736 drivers/staging/rtl8712/rtl871x_cmd.h struct cmd_obj *pcmd); pcmd 738 drivers/staging/rtl8712/rtl871x_cmd.h struct cmd_obj *pcmd); pcmd 740 drivers/staging/rtl8712/rtl871x_cmd.h struct cmd_obj *pcmd); pcmd 742 drivers/staging/rtl8712/rtl871x_cmd.h struct cmd_obj *pcmd); pcmd 1151 drivers/staging/rtl8712/rtl871x_mlme.c struct cmd_obj *pcmd; pcmd 1154 drivers/staging/rtl8712/rtl871x_mlme.c pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); pcmd 1155 drivers/staging/rtl8712/rtl871x_mlme.c if (!pcmd) pcmd 1160 drivers/staging/rtl8712/rtl871x_mlme.c kfree(pcmd); pcmd 1164 drivers/staging/rtl8712/rtl871x_mlme.c pcmd->cmdcode = _SetAuth_CMD_; pcmd 1165 drivers/staging/rtl8712/rtl871x_mlme.c pcmd->parmbuf = (unsigned char *)psetauthparm; pcmd 1166 drivers/staging/rtl8712/rtl871x_mlme.c pcmd->cmdsz = sizeof(struct setauth_parm); pcmd 1167 drivers/staging/rtl8712/rtl871x_mlme.c pcmd->rsp = NULL; pcmd 1168 drivers/staging/rtl8712/rtl871x_mlme.c pcmd->rspsz = 0; pcmd 1169 drivers/staging/rtl8712/rtl871x_mlme.c INIT_LIST_HEAD(&pcmd->list); pcmd 1170 drivers/staging/rtl8712/rtl871x_mlme.c r8712_enqueue_cmd(pcmdpriv, pcmd); pcmd 1179 drivers/staging/rtl8712/rtl871x_mlme.c struct cmd_obj *pcmd; pcmd 1184 drivers/staging/rtl8712/rtl871x_mlme.c pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); pcmd 1185 drivers/staging/rtl8712/rtl871x_mlme.c if (!pcmd) pcmd 1236 drivers/staging/rtl8712/rtl871x_mlme.c pcmd->cmdcode = _SetKey_CMD_; pcmd 1237 drivers/staging/rtl8712/rtl871x_mlme.c pcmd->parmbuf = (u8 *)psetkeyparm; pcmd 1238 drivers/staging/rtl8712/rtl871x_mlme.c pcmd->cmdsz = (sizeof(struct setkey_parm)); pcmd 1239 drivers/staging/rtl8712/rtl871x_mlme.c pcmd->rsp = NULL; pcmd 1240 drivers/staging/rtl8712/rtl871x_mlme.c pcmd->rspsz = 0; pcmd 1241 drivers/staging/rtl8712/rtl871x_mlme.c INIT_LIST_HEAD(&pcmd->list); pcmd 1242 drivers/staging/rtl8712/rtl871x_mlme.c r8712_enqueue_cmd(pcmdpriv, pcmd); pcmd 1248 drivers/staging/rtl8712/rtl871x_mlme.c kfree(pcmd); pcmd 264 drivers/staging/rtl8712/rtl871x_mp.c struct cmd_obj *pcmd = NULL; pcmd 268 drivers/staging/rtl8712/rtl871x_mp.c pcmd = kmalloc(sizeof(*pcmd), GFP_ATOMIC); pcmd 269 drivers/staging/rtl8712/rtl871x_mp.c if (!pcmd) pcmd 273 drivers/staging/rtl8712/rtl871x_mp.c kfree(pcmd); pcmd 277 drivers/staging/rtl8712/rtl871x_mp.c init_h2fwcmd_w_parm_no_rsp(pcmd, pparm, code); pcmd 278 drivers/staging/rtl8712/rtl871x_mp.c r8712_enqueue_cmd(pcmdpriv, pcmd); pcmd 1485 drivers/staging/rtl8723bs/core/rtw_ap.c struct cmd_obj *pcmd; pcmd 1492 drivers/staging/rtl8723bs/core/rtw_ap.c pcmd = rtw_zmalloc(sizeof(struct cmd_obj)); pcmd 1493 drivers/staging/rtl8723bs/core/rtw_ap.c if (pcmd == NULL) { pcmd 1499 drivers/staging/rtl8723bs/core/rtw_ap.c kfree((unsigned char *)pcmd); pcmd 1528 drivers/staging/rtl8723bs/core/rtw_ap.c pcmd->cmdcode = _SetKey_CMD_; pcmd 1529 drivers/staging/rtl8723bs/core/rtw_ap.c pcmd->parmbuf = (u8 *)psetkeyparm; pcmd 1530 drivers/staging/rtl8723bs/core/rtw_ap.c pcmd->cmdsz = (sizeof(struct setkey_parm)); pcmd 1531 drivers/staging/rtl8723bs/core/rtw_ap.c pcmd->rsp = NULL; pcmd 1532 drivers/staging/rtl8723bs/core/rtw_ap.c pcmd->rspsz = 0; pcmd 1534 drivers/staging/rtl8723bs/core/rtw_ap.c INIT_LIST_HEAD(&pcmd->list); pcmd 1536 drivers/staging/rtl8723bs/core/rtw_ap.c res = rtw_enqueue_cmd(pcmdpriv, pcmd); pcmd 370 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_free_cmd_obj(struct cmd_obj *pcmd) pcmd 372 drivers/staging/rtl8723bs/core/rtw_cmd.c if ((pcmd->cmdcode != _JoinBss_CMD_) && pcmd 373 drivers/staging/rtl8723bs/core/rtw_cmd.c (pcmd->cmdcode != _CreateBss_CMD_)) { pcmd 375 drivers/staging/rtl8723bs/core/rtw_cmd.c kfree((unsigned char *)pcmd->parmbuf); pcmd 378 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd->rsp != NULL) { pcmd 379 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd->rspsz != 0) { pcmd 381 drivers/staging/rtl8723bs/core/rtw_cmd.c kfree((unsigned char *)pcmd->rsp); pcmd 386 drivers/staging/rtl8723bs/core/rtw_cmd.c kfree(pcmd); pcmd 404 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_obj *pcmd; pcmd 409 drivers/staging/rtl8723bs/core/rtw_cmd.c void (*pcmd_callback)(struct adapter *dev, struct cmd_obj *pcmd); pcmd 459 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd = rtw_dequeue_cmd(pcmdpriv); pcmd 460 drivers/staging/rtl8723bs/core/rtw_cmd.c if (!pcmd) { pcmd 467 drivers/staging/rtl8723bs/core/rtw_cmd.c if (_FAIL == rtw_cmd_filter(pcmdpriv, pcmd)) { pcmd 468 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->res = H2C_DROPPED; pcmd 474 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->cmdsz = _RND4((pcmd->cmdsz));/* _RND4 */ pcmd 476 drivers/staging/rtl8723bs/core/rtw_cmd.c memcpy(pcmdbuf, pcmd->parmbuf, pcmd->cmdsz); pcmd 478 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd->cmdcode < ARRAY_SIZE(wlancmds)) { pcmd 479 drivers/staging/rtl8723bs/core/rtw_cmd.c cmd_hdl = wlancmds[pcmd->cmdcode].h2cfuns; pcmd 482 drivers/staging/rtl8723bs/core/rtw_cmd.c ret = cmd_hdl(pcmd->padapter, pcmdbuf); pcmd 483 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->res = ret; pcmd 488 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->res = H2C_PARAMETERS_ERROR; pcmd 495 drivers/staging/rtl8723bs/core/rtw_cmd.c if (mutex_lock_interruptible(&(pcmd->padapter->cmdpriv.sctx_mutex)) == 0) { pcmd 496 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd->sctx) { pcmd 498 drivers/staging/rtl8723bs/core/rtw_cmd.c FUNC_ADPT_ARG(pcmd->padapter)); pcmd 500 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd->res == H2C_SUCCESS) pcmd 501 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_sctx_done(&pcmd->sctx); pcmd 503 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_sctx_done_err(&pcmd->sctx, RTW_SCTX_DONE_CMD_ERROR); pcmd 505 drivers/staging/rtl8723bs/core/rtw_cmd.c mutex_unlock(&(pcmd->padapter->cmdpriv.sctx_mutex)); pcmd 510 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd->cmdcode == GEN_CMD_CODE(_Set_Drv_Extra)) { pcmd 512 drivers/staging/rtl8723bs/core/rtw_cmd.c ADPT_ARG(pcmd->padapter), pcmd->cmdcode, cmd_process_time); pcmd 514 drivers/staging/rtl8723bs/core/rtw_cmd.c } else if (pcmd->cmdcode == GEN_CMD_CODE(_Set_MLME_EVT)) { pcmd 516 drivers/staging/rtl8723bs/core/rtw_cmd.c ADPT_ARG(pcmd->padapter), pcmd->cmdcode, cmd_process_time); pcmd 520 drivers/staging/rtl8723bs/core/rtw_cmd.c ADPT_ARG(pcmd->padapter), pcmd->cmdcode, cmd_process_time); pcmd 526 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd->cmdcode < ARRAY_SIZE(rtw_cmd_callback)) { pcmd 527 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd_callback = rtw_cmd_callback[pcmd->cmdcode].callback; pcmd 529 drivers/staging/rtl8723bs/core/rtw_cmd.c RT_TRACE(_module_rtl871x_cmd_c_, _drv_info_, ("mlme_cmd_hdl(): pcmd_callback = 0x%p, cmdcode = 0x%x\n", pcmd_callback, pcmd->cmdcode)); pcmd 530 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 533 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd_callback(pcmd->padapter, pcmd);/* need conider that free cmd_obj in rtw_cmd_callback */ pcmd 536 drivers/staging/rtl8723bs/core/rtw_cmd.c RT_TRACE(_module_rtl871x_cmd_c_, _drv_err_, ("%s: cmdcode = 0x%x callback not defined!\n", __func__, pcmd->cmdcode)); pcmd 537 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 548 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd = rtw_dequeue_cmd(pcmdpriv); pcmd 549 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd == NULL) { pcmd 556 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd->cmdcode == GEN_CMD_CODE(_Set_Drv_Extra)) { pcmd 557 drivers/staging/rtl8723bs/core/rtw_cmd.c extra_parm = (struct drvextra_cmd_parm *)pcmd->parmbuf; pcmd 563 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 680 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_getbbrfreg_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 683 drivers/staging/rtl8723bs/core/rtw_cmd.c kfree(pcmd->parmbuf); pcmd 684 drivers/staging/rtl8723bs/core/rtw_cmd.c kfree(pcmd); pcmd 689 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_obj *pcmd; pcmd 701 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd = rtw_zmalloc(sizeof(struct cmd_obj)); pcmd 702 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd == NULL) { pcmd 707 drivers/staging/rtl8723bs/core/rtw_cmd.c INIT_LIST_HEAD(&pcmd->list); pcmd 708 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->cmdcode = _CreateBss_CMD_; pcmd 709 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->parmbuf = (unsigned char *)pdev_network; pcmd 710 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->cmdsz = get_wlan_bssid_ex_sz((struct wlan_bssid_ex *)pdev_network); pcmd 711 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->rsp = NULL; pcmd 712 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->rspsz = 0; pcmd 714 drivers/staging/rtl8723bs/core/rtw_cmd.c pdev_network->Length = pcmd->cmdsz; pcmd 716 drivers/staging/rtl8723bs/core/rtw_cmd.c res = rtw_enqueue_cmd(pcmdpriv, pcmd); pcmd 724 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_obj *pcmd; pcmd 734 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd = rtw_zmalloc(sizeof(struct cmd_obj)); pcmd 735 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd == NULL) { pcmd 740 drivers/staging/rtl8723bs/core/rtw_cmd.c INIT_LIST_HEAD(&pcmd->list); pcmd 741 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->cmdcode = GEN_CMD_CODE(_CreateBss); pcmd 742 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->parmbuf = NULL; pcmd 743 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->cmdsz = 0; pcmd 744 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->rsp = NULL; pcmd 745 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->rspsz = 0; pcmd 748 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->sctx = &sctx; pcmd 752 drivers/staging/rtl8723bs/core/rtw_cmd.c res = rtw_enqueue_cmd(pcmdpriv, pcmd); pcmd 758 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->sctx = NULL; pcmd 773 drivers/staging/rtl8723bs/core/rtw_cmd.c struct cmd_obj *pcmd; pcmd 792 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd = rtw_zmalloc(sizeof(struct cmd_obj)); pcmd 793 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd == NULL) { pcmd 885 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->cmdsz = get_wlan_bssid_ex_sz(psecnetwork);/* get cmdsz before endian conversion */ pcmd 887 drivers/staging/rtl8723bs/core/rtw_cmd.c INIT_LIST_HEAD(&pcmd->list); pcmd 888 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->cmdcode = _JoinBss_CMD_;/* GEN_CMD_CODE(_JoinBss) */ pcmd 889 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->parmbuf = (unsigned char *)psecnetwork; pcmd 890 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->rsp = NULL; pcmd 891 drivers/staging/rtl8723bs/core/rtw_cmd.c pcmd->rspsz = 0; pcmd 893 drivers/staging/rtl8723bs/core/rtw_cmd.c res = rtw_enqueue_cmd(pcmdpriv, pcmd); pcmd 1999 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_survey_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 2003 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd->res == H2C_DROPPED) { pcmd 2007 drivers/staging/rtl8723bs/core/rtw_cmd.c } else if (pcmd->res != H2C_SUCCESS) { pcmd 2013 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 2016 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_disassoc_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 2020 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd->res != H2C_SUCCESS) { pcmd 2029 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 2032 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_joinbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 2036 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd->res == H2C_DROPPED) { pcmd 2040 drivers/staging/rtl8723bs/core/rtw_cmd.c } else if (pcmd->res != H2C_SUCCESS) { pcmd 2044 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 2047 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_createbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 2053 drivers/staging/rtl8723bs/core/rtw_cmd.c struct wlan_bssid_ex *pnetwork = (struct wlan_bssid_ex *)pcmd->parmbuf; pcmd 2056 drivers/staging/rtl8723bs/core/rtw_cmd.c if (pcmd->parmbuf == NULL) pcmd 2059 drivers/staging/rtl8723bs/core/rtw_cmd.c if ((pcmd->res != H2C_SUCCESS)) { pcmd 2118 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 2123 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_setstaKey_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 2127 drivers/staging/rtl8723bs/core/rtw_cmd.c struct set_stakey_rsp *psetstakey_rsp = (struct set_stakey_rsp *) (pcmd->rsp); pcmd 2135 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 2138 drivers/staging/rtl8723bs/core/rtw_cmd.c void rtw_setassocsta_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd) pcmd 2142 drivers/staging/rtl8723bs/core/rtw_cmd.c struct set_assocsta_parm *passocsta_parm = (struct set_assocsta_parm *)(pcmd->parmbuf); pcmd 2143 drivers/staging/rtl8723bs/core/rtw_cmd.c struct set_assocsta_rsp *passocsta_rsp = (struct set_assocsta_rsp *) (pcmd->rsp); pcmd 2162 drivers/staging/rtl8723bs/core/rtw_cmd.c rtw_free_cmd_obj(pcmd); pcmd 2204 drivers/staging/rtl8723bs/core/rtw_mlme.c struct cmd_obj *pcmd; pcmd 2209 drivers/staging/rtl8723bs/core/rtw_mlme.c pcmd = rtw_zmalloc(sizeof(struct cmd_obj)); pcmd 2210 drivers/staging/rtl8723bs/core/rtw_mlme.c if (pcmd == NULL) { pcmd 2217 drivers/staging/rtl8723bs/core/rtw_mlme.c kfree((unsigned char *)pcmd); pcmd 2224 drivers/staging/rtl8723bs/core/rtw_mlme.c pcmd->cmdcode = _SetAuth_CMD_; pcmd 2225 drivers/staging/rtl8723bs/core/rtw_mlme.c pcmd->parmbuf = (unsigned char *)psetauthparm; pcmd 2226 drivers/staging/rtl8723bs/core/rtw_mlme.c pcmd->cmdsz = (sizeof(struct setauth_parm)); pcmd 2227 drivers/staging/rtl8723bs/core/rtw_mlme.c pcmd->rsp = NULL; pcmd 2228 drivers/staging/rtl8723bs/core/rtw_mlme.c pcmd->rspsz = 0; pcmd 2231 drivers/staging/rtl8723bs/core/rtw_mlme.c INIT_LIST_HEAD(&pcmd->list); pcmd 2235 drivers/staging/rtl8723bs/core/rtw_mlme.c res = rtw_enqueue_cmd(pcmdpriv, pcmd); pcmd 2244 drivers/staging/rtl8723bs/core/rtw_mlme.c struct cmd_obj *pcmd; pcmd 2300 drivers/staging/rtl8723bs/core/rtw_mlme.c pcmd = rtw_zmalloc(sizeof(struct cmd_obj)); pcmd 2301 drivers/staging/rtl8723bs/core/rtw_mlme.c if (pcmd == NULL) { pcmd 2307 drivers/staging/rtl8723bs/core/rtw_mlme.c pcmd->cmdcode = _SetKey_CMD_; pcmd 2308 drivers/staging/rtl8723bs/core/rtw_mlme.c pcmd->parmbuf = (u8 *)psetkeyparm; pcmd 2309 drivers/staging/rtl8723bs/core/rtw_mlme.c pcmd->cmdsz = (sizeof(struct setkey_parm)); pcmd 2310 drivers/staging/rtl8723bs/core/rtw_mlme.c pcmd->rsp = NULL; pcmd 2311 drivers/staging/rtl8723bs/core/rtw_mlme.c pcmd->rspsz = 0; pcmd 2313 drivers/staging/rtl8723bs/core/rtw_mlme.c INIT_LIST_HEAD(&pcmd->list); pcmd 2315 drivers/staging/rtl8723bs/core/rtw_mlme.c res = rtw_enqueue_cmd(pcmdpriv, pcmd); pcmd 73 drivers/staging/rtl8723bs/include/rtw_cmd.h #define init_h2fwcmd_w_parm_no_rsp(pcmd, pparm, code) \ pcmd 75 drivers/staging/rtl8723bs/include/rtw_cmd.h INIT_LIST_HEAD(&pcmd->list);\ pcmd 76 drivers/staging/rtl8723bs/include/rtw_cmd.h pcmd->cmdcode = code;\ pcmd 77 drivers/staging/rtl8723bs/include/rtw_cmd.h pcmd->parmbuf = (u8 *)(pparm);\ pcmd 78 drivers/staging/rtl8723bs/include/rtw_cmd.h pcmd->cmdsz = sizeof (*pparm);\ pcmd 79 drivers/staging/rtl8723bs/include/rtw_cmd.h pcmd->rsp = NULL;\ pcmd 80 drivers/staging/rtl8723bs/include/rtw_cmd.h pcmd->rspsz = 0;\ pcmd 83 drivers/staging/rtl8723bs/include/rtw_cmd.h #define init_h2fwcmd_w_parm_no_parm_rsp(pcmd, code) \ pcmd 85 drivers/staging/rtl8723bs/include/rtw_cmd.h INIT_LIST_HEAD(&pcmd->list);\ pcmd 86 drivers/staging/rtl8723bs/include/rtw_cmd.h pcmd->cmdcode = code;\ pcmd 87 drivers/staging/rtl8723bs/include/rtw_cmd.h pcmd->parmbuf = NULL;\ pcmd 88 drivers/staging/rtl8723bs/include/rtw_cmd.h pcmd->cmdsz = 0;\ pcmd 89 drivers/staging/rtl8723bs/include/rtw_cmd.h pcmd->rsp = NULL;\ pcmd 90 drivers/staging/rtl8723bs/include/rtw_cmd.h pcmd->rspsz = 0;\ pcmd 127 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_free_cmd_obj(struct cmd_obj *pcmd); pcmd 868 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_survey_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); pcmd 869 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_disassoc_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); pcmd 870 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_joinbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); pcmd 871 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_createbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd); pcmd 872 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_getbbrfreg_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd); pcmd 874 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_setstaKey_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd); pcmd 875 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_setassocsta_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd); pcmd 876 drivers/staging/rtl8723bs/include/rtw_cmd.h extern void rtw_getrttbl_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd); pcmd 128 include/net/caif/caif_spi.h u16 pcmd; pcmd 20 include/uapi/linux/if_plip.h unsigned short pcmd;