Lines Matching refs:ioc
584 struct carm_msg_ioctl *ioc; in carm_array_info() local
599 ioc = carm_ref_msg(host, idx); in carm_array_info()
610 memset(ioc, 0, sizeof(*ioc)); in carm_array_info()
611 ioc->type = CARM_MSG_ARRAY; in carm_array_info()
612 ioc->subtype = CARM_ARRAY_INFO; in carm_array_info()
613 ioc->array_id = (u8) array_idx; in carm_array_info()
614 ioc->handle = cpu_to_le32(TAG_ENCODE(idx)); in carm_array_info()
615 ioc->data_addr = cpu_to_le32(msg_data); in carm_array_info()
641 struct carm_msg_ioctl *ioc; in carm_send_special() local
656 ioc = mem; in carm_send_special()
657 crq->msg_type = ioc->type; in carm_send_special()
658 crq->msg_subtype = ioc->subtype; in carm_send_special()
716 struct carm_msg_ioctl *ioc = mem; in carm_fill_scan_channels() local
720 memset(ioc, 0, sizeof(*ioc)); in carm_fill_scan_channels()
721 ioc->type = CARM_MSG_IOCTL; in carm_fill_scan_channels()
722 ioc->subtype = CARM_IOC_SCAN_CHAN; in carm_fill_scan_channels()
723 ioc->handle = cpu_to_le32(TAG_ENCODE(idx)); in carm_fill_scan_channels()
724 ioc->data_addr = cpu_to_le32(msg_data); in carm_fill_scan_channels()
736 struct carm_msg_get_fw_ver *ioc = mem; in carm_fill_get_fw_ver() local
737 u32 msg_data = (u32) (carm_ref_msg_dma(host, idx) + sizeof(*ioc)); in carm_fill_get_fw_ver()
739 memset(ioc, 0, sizeof(*ioc)); in carm_fill_get_fw_ver()
740 ioc->type = CARM_MSG_MISC; in carm_fill_get_fw_ver()
741 ioc->subtype = MISC_GET_FW_VER; in carm_fill_get_fw_ver()
742 ioc->handle = cpu_to_le32(TAG_ENCODE(idx)); in carm_fill_get_fw_ver()
743 ioc->data_addr = cpu_to_le32(msg_data); in carm_fill_get_fw_ver()