Lines Matching refs:cmd_params

28 	struct dprc_cmd_open *cmd_params;  in dprc_open()  local
34 cmd_params = (struct dprc_cmd_open *)cmd.params; in dprc_open()
35 cmd_params->container_id = cpu_to_le32(container_id); in dprc_open()
92 struct dprc_cmd_set_irq *cmd_params; in dprc_set_irq() local
98 cmd_params = (struct dprc_cmd_set_irq *)cmd.params; in dprc_set_irq()
99 cmd_params->irq_val = cpu_to_le32(irq_cfg->val); in dprc_set_irq()
100 cmd_params->irq_index = irq_index; in dprc_set_irq()
101 cmd_params->irq_addr = cpu_to_le64(irq_cfg->paddr); in dprc_set_irq()
102 cmd_params->irq_num = cpu_to_le32(irq_cfg->irq_num); in dprc_set_irq()
130 struct dprc_cmd_set_irq_enable *cmd_params; in dprc_set_irq_enable() local
135 cmd_params = (struct dprc_cmd_set_irq_enable *)cmd.params; in dprc_set_irq_enable()
136 cmd_params->enable = en & DPRC_ENABLE; in dprc_set_irq_enable()
137 cmd_params->irq_index = irq_index; in dprc_set_irq_enable()
166 struct dprc_cmd_set_irq_mask *cmd_params; in dprc_set_irq_mask() local
171 cmd_params = (struct dprc_cmd_set_irq_mask *)cmd.params; in dprc_set_irq_mask()
172 cmd_params->mask = cpu_to_le32(mask); in dprc_set_irq_mask()
173 cmd_params->irq_index = irq_index; in dprc_set_irq_mask()
198 struct dprc_cmd_get_irq_status *cmd_params; in dprc_get_irq_status() local
205 cmd_params = (struct dprc_cmd_get_irq_status *)cmd.params; in dprc_get_irq_status()
206 cmd_params->status = cpu_to_le32(*status); in dprc_get_irq_status()
207 cmd_params->irq_index = irq_index; in dprc_get_irq_status()
240 struct dprc_cmd_clear_irq_status *cmd_params; in dprc_clear_irq_status() local
245 cmd_params = (struct dprc_cmd_clear_irq_status *)cmd.params; in dprc_clear_irq_status()
246 cmd_params->status = cpu_to_le32(status); in dprc_clear_irq_status()
247 cmd_params->irq_index = irq_index; in dprc_clear_irq_status()
348 struct dprc_cmd_get_obj *cmd_params; in dprc_get_obj() local
356 cmd_params = (struct dprc_cmd_get_obj *)cmd.params; in dprc_get_obj()
357 cmd_params->obj_index = cpu_to_le32(obj_index); in dprc_get_obj()
403 struct dprc_cmd_set_obj_irq *cmd_params; in dprc_set_obj_irq() local
409 cmd_params = (struct dprc_cmd_set_obj_irq *)cmd.params; in dprc_set_obj_irq()
410 cmd_params->irq_val = cpu_to_le32(irq_cfg->val); in dprc_set_obj_irq()
411 cmd_params->irq_index = irq_index; in dprc_set_obj_irq()
412 cmd_params->irq_addr = cpu_to_le64(irq_cfg->paddr); in dprc_set_obj_irq()
413 cmd_params->irq_num = cpu_to_le32(irq_cfg->irq_num); in dprc_set_obj_irq()
414 cmd_params->obj_id = cpu_to_le32(obj_id); in dprc_set_obj_irq()
415 strncpy(cmd_params->obj_type, obj_type, 16); in dprc_set_obj_irq()
416 cmd_params->obj_type[15] = '\0'; in dprc_set_obj_irq()
444 struct dprc_cmd_get_obj_region *cmd_params; in dprc_get_obj_region() local
451 cmd_params = (struct dprc_cmd_get_obj_region *)cmd.params; in dprc_get_obj_region()
452 cmd_params->obj_id = cpu_to_le32(obj_id); in dprc_get_obj_region()
453 cmd_params->region_index = region_index; in dprc_get_obj_region()
454 strncpy(cmd_params->obj_type, obj_type, 16); in dprc_get_obj_region()
455 cmd_params->obj_type[15] = '\0'; in dprc_get_obj_region()