Lines Matching refs:ctrl
145 struct epf_ntb_ctrl *ctrl;
157 ctrl = ntb_epc->reg;
159 ctrl->link_status |= LINK_STATUS_UP;
161 ctrl->link_status &= ~LINK_STATUS_UP;
227 * be provided by HOST2 in ctrl->addr and ctrl->size of epf_ntb_epc that is
241 struct epf_ntb_ctrl *ctrl;
256 ctrl = ntb_epc->reg;
257 addr = ctrl->addr;
258 size = ctrl->size;
260 phys_addr += ctrl->mw1_offset;
300 struct epf_ntb_ctrl *ctrl;
313 ctrl = ntb_epc->reg;
315 phys_addr += ctrl->mw1_offset;
477 * the count of doorbell is in ctrl->argument of epf_ntb_epc that is connected
624 struct epf_ntb_ctrl *ctrl;
633 ctrl = ntb_epc->reg;
634 command = ctrl->command;
637 argument = ctrl->argument;
639 ctrl->command = 0;
640 ctrl->argument = 0;
642 ctrl = ntb_epc->reg;
653 ctrl->command_status = COMMAND_STATUS_ERROR;
655 ctrl->command_status = COMMAND_STATUS_OK;
659 ctrl->command_status = COMMAND_STATUS_OK;
664 ctrl->command_status = COMMAND_STATUS_ERROR;
666 ctrl->command_status = COMMAND_STATUS_OK;
670 ctrl->command_status = COMMAND_STATUS_OK;
678 ctrl->command_status = COMMAND_STATUS_ERROR;
680 ctrl->command_status = COMMAND_STATUS_OK;
683 ctrl->command_status = COMMAND_STATUS_OK;
689 ctrl->command_status = COMMAND_STATUS_ERROR;
691 ctrl->command_status = COMMAND_STATUS_OK;
1000 struct epf_ntb_ctrl *ctrl;
1079 ctrl = ntb_epc->reg;
1080 ctrl->spad_offset = ctrl_size;
1081 ctrl->spad_count = spad_count;
1082 ctrl->num_mws = ntb->num_mws;
1083 ctrl->db_entry_size = align ? align : 4;
1435 struct epf_ntb_ctrl *ctrl;
1463 ctrl = ntb_epc->reg;
1464 ctrl->mw1_offset = size;