Lines Matching defs:rc

181 	int rc = 0;
184 rc = p_slot->hpc_ops->set_bus_speed_mode(p_slot, speed);
185 if (rc) {
190 return rc;
197 int rc = 0;
207 rc = WRONG_BUS_FREQUENCY;
209 return rc;
214 rc = change_bus_speed(ctrl, pslot, asp);
217 rc = change_bus_speed(ctrl, pslot, msp);
219 return rc;
233 int rc = 0;
244 rc = p_slot->hpc_ops->power_on_slot(p_slot);
245 if (rc) {
251 rc = p_slot->hpc_ops->set_bus_speed_mode(p_slot, PCI_SPEED_33MHz);
252 if (rc) {
259 rc = p_slot->hpc_ops->slot_enable(p_slot);
260 if (rc) {
262 return rc;
266 rc = p_slot->hpc_ops->get_adapter_speed(p_slot, &asp);
267 if (rc) {
283 rc = fix_bus_speed(ctrl, p_slot, slots_not_empty, asp, bsp, msp);
284 if (rc)
285 return rc;
288 rc = p_slot->hpc_ops->slot_enable(p_slot);
289 if (rc) {
291 return rc;
322 rc = p_slot->hpc_ops->slot_disable(p_slot);
323 if (rc) {
326 return rc;
329 return(rc);
341 int rc;
355 rc = p_slot->hpc_ops->slot_disable(p_slot);
356 if (rc) {
359 return rc;
362 rc = p_slot->hpc_ops->set_attention_status(p_slot, 0);
363 if (rc) {
365 return rc;
545 int rc, retval = -ENODEV;
550 rc = p_slot->hpc_ops->get_adapter_status(p_slot, &getstatus);
551 if (rc || !getstatus) {
555 rc = p_slot->hpc_ops->get_latch_status(p_slot, &getstatus);
556 if (rc || getstatus) {
560 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus);
561 if (rc || getstatus) {
602 int rc, retval = -ENODEV;
611 rc = p_slot->hpc_ops->get_adapter_status(p_slot, &getstatus);
612 if (rc || !getstatus) {
616 rc = p_slot->hpc_ops->get_latch_status(p_slot, &getstatus);
617 if (rc || getstatus) {
621 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus);
622 if (rc || !getstatus) {