Lines Matching defs:ioc
573 struct carm_msg_ioctl *ioc;
588 ioc = carm_ref_msg(host, idx);
599 memset(ioc, 0, sizeof(*ioc));
600 ioc->type = CARM_MSG_ARRAY;
601 ioc->subtype = CARM_ARRAY_INFO;
602 ioc->array_id = (u8) array_idx;
603 ioc->handle = cpu_to_le32(TAG_ENCODE(idx));
604 ioc->data_addr = cpu_to_le32(msg_data);
628 struct carm_msg_ioctl *ioc;
643 ioc = mem;
644 crq->msg_type = ioc->type;
645 crq->msg_subtype = ioc->subtype;
701 struct carm_msg_ioctl *ioc = mem;
705 memset(ioc, 0, sizeof(*ioc));
706 ioc->type = CARM_MSG_IOCTL;
707 ioc->subtype = CARM_IOC_SCAN_CHAN;
708 ioc->handle = cpu_to_le32(TAG_ENCODE(idx));
709 ioc->data_addr = cpu_to_le32(msg_data);
721 struct carm_msg_get_fw_ver *ioc = mem;
722 u32 msg_data = (u32) (carm_ref_msg_dma(host, idx) + sizeof(*ioc));
724 memset(ioc, 0, sizeof(*ioc));
725 ioc->type = CARM_MSG_MISC;
726 ioc->subtype = MISC_GET_FW_VER;
727 ioc->handle = cpu_to_le32(TAG_ENCODE(idx));
728 ioc->data_addr = cpu_to_le32(msg_data);