Lines Matching refs:cmd_params
36 struct dprc_cmd_open *cmd_params; in dprc_open() local
42 cmd_params = (struct dprc_cmd_open *)cmd.params; in dprc_open()
43 cmd_params->container_id = cpu_to_le32(container_id); in dprc_open()
119 struct dprc_cmd_reset_container *cmd_params; in dprc_reset_container() local
145 cmd_params = (struct dprc_cmd_reset_container *)cmd.params; in dprc_reset_container()
146 cmd_params->child_container_id = cpu_to_le32(child_container_id); in dprc_reset_container()
147 cmd_params->options = cpu_to_le32(options); in dprc_reset_container()
171 struct dprc_cmd_set_irq *cmd_params; in dprc_set_irq() local
177 cmd_params = (struct dprc_cmd_set_irq *)cmd.params; in dprc_set_irq()
178 cmd_params->irq_val = cpu_to_le32(irq_cfg->val); in dprc_set_irq()
179 cmd_params->irq_index = irq_index; in dprc_set_irq()
180 cmd_params->irq_addr = cpu_to_le64(irq_cfg->paddr); in dprc_set_irq()
181 cmd_params->irq_num = cpu_to_le32(irq_cfg->irq_num); in dprc_set_irq()
209 struct dprc_cmd_set_irq_enable *cmd_params; in dprc_set_irq_enable() local
214 cmd_params = (struct dprc_cmd_set_irq_enable *)cmd.params; in dprc_set_irq_enable()
215 cmd_params->enable = en & DPRC_ENABLE; in dprc_set_irq_enable()
216 cmd_params->irq_index = irq_index; in dprc_set_irq_enable()
245 struct dprc_cmd_set_irq_mask *cmd_params; in dprc_set_irq_mask() local
250 cmd_params = (struct dprc_cmd_set_irq_mask *)cmd.params; in dprc_set_irq_mask()
251 cmd_params->mask = cpu_to_le32(mask); in dprc_set_irq_mask()
252 cmd_params->irq_index = irq_index; in dprc_set_irq_mask()
277 struct dprc_cmd_get_irq_status *cmd_params; in dprc_get_irq_status() local
284 cmd_params = (struct dprc_cmd_get_irq_status *)cmd.params; in dprc_get_irq_status()
285 cmd_params->status = cpu_to_le32(*status); in dprc_get_irq_status()
286 cmd_params->irq_index = irq_index; in dprc_get_irq_status()
319 struct dprc_cmd_clear_irq_status *cmd_params; in dprc_clear_irq_status() local
324 cmd_params = (struct dprc_cmd_clear_irq_status *)cmd.params; in dprc_clear_irq_status()
325 cmd_params->status = cpu_to_le32(status); in dprc_clear_irq_status()
326 cmd_params->irq_index = irq_index; in dprc_clear_irq_status()
427 struct dprc_cmd_get_obj *cmd_params; in dprc_get_obj() local
435 cmd_params = (struct dprc_cmd_get_obj *)cmd.params; in dprc_get_obj()
436 cmd_params->obj_index = cpu_to_le32(obj_index); in dprc_get_obj()
482 struct dprc_cmd_set_obj_irq *cmd_params; in dprc_set_obj_irq() local
488 cmd_params = (struct dprc_cmd_set_obj_irq *)cmd.params; in dprc_set_obj_irq()
489 cmd_params->irq_val = cpu_to_le32(irq_cfg->val); in dprc_set_obj_irq()
490 cmd_params->irq_index = irq_index; in dprc_set_obj_irq()
491 cmd_params->irq_addr = cpu_to_le64(irq_cfg->paddr); in dprc_set_obj_irq()
492 cmd_params->irq_num = cpu_to_le32(irq_cfg->irq_num); in dprc_set_obj_irq()
493 cmd_params->obj_id = cpu_to_le32(obj_id); in dprc_set_obj_irq()
494 strncpy(cmd_params->obj_type, obj_type, 16); in dprc_set_obj_irq()
495 cmd_params->obj_type[15] = '\0'; in dprc_set_obj_irq()
523 struct dprc_cmd_get_obj_region *cmd_params; in dprc_get_obj_region() local
564 cmd_params = (struct dprc_cmd_get_obj_region *)cmd.params; in dprc_get_obj_region()
565 cmd_params->obj_id = cpu_to_le32(obj_id); in dprc_get_obj_region()
566 cmd_params->region_index = region_index; in dprc_get_obj_region()
567 strncpy(cmd_params->obj_type, obj_type, 16); in dprc_get_obj_region()
568 cmd_params->obj_type[15] = '\0'; in dprc_get_obj_region()
675 struct dprc_cmd_get_connection *cmd_params; in dprc_get_connection() local
684 cmd_params = (struct dprc_cmd_get_connection *)cmd.params; in dprc_get_connection()
685 cmd_params->ep1_id = cpu_to_le32(endpoint1->id); in dprc_get_connection()
686 cmd_params->ep1_interface_id = cpu_to_le16(endpoint1->if_id); in dprc_get_connection()
688 cmd_params->ep1_type[i] = endpoint1->type[i]; in dprc_get_connection()