• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/pci/hotplug/

Lines Matching defs:rc

192 	int rc = 0;
195 if ((rc = p_slot->hpc_ops->set_bus_speed_mode(p_slot, speed))) {
200 return rc;
207 int rc = 0;
217 rc = WRONG_BUS_FREQUENCY;
219 return rc;
224 rc = change_bus_speed(ctrl, pslot, asp);
227 rc = change_bus_speed(ctrl, pslot, msp);
229 return rc;
243 int rc = 0;
254 rc = p_slot->hpc_ops->power_on_slot(p_slot);
255 if (rc) {
264 if ((rc = p_slot->hpc_ops->set_bus_speed_mode(p_slot, PCI_SPEED_33MHz))) {
270 if ((rc = p_slot->hpc_ops->slot_enable(p_slot))) {
272 return rc;
276 rc = p_slot->hpc_ops->get_adapter_speed(p_slot, &asp);
277 if (rc) {
283 rc = p_slot->hpc_ops->get_cur_bus_speed(p_slot, &bsp);
284 if (rc) {
289 rc = p_slot->hpc_ops->get_max_bus_speed(p_slot, &msp);
290 if (rc) {
303 rc = fix_bus_speed(ctrl, p_slot, slots_not_empty, asp, bsp, msp);
304 if (rc)
305 return rc;
308 if ((rc = p_slot->hpc_ops->slot_enable(p_slot))) {
310 return rc;
321 rc = POWER_FAILURE;
342 rc = p_slot->hpc_ops->slot_disable(p_slot);
343 if (rc) {
345 return rc;
348 return(rc);
360 int rc;
375 rc = p_slot->hpc_ops->slot_disable(p_slot);
376 if (rc) {
378 return rc;
381 rc = p_slot->hpc_ops->set_attention_status(p_slot, 0);
382 if (rc) {
384 return rc;
571 int rc, retval = -ENODEV;
575 rc = p_slot->hpc_ops->get_adapter_status(p_slot, &getstatus);
576 if (rc || !getstatus) {
580 rc = p_slot->hpc_ops->get_latch_status(p_slot, &getstatus);
581 if (rc || getstatus) {
585 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus);
586 if (rc || getstatus) {
626 int rc, retval = -ENODEV;
634 rc = p_slot->hpc_ops->get_adapter_status(p_slot, &getstatus);
635 if (rc || !getstatus) {
639 rc = p_slot->hpc_ops->get_latch_status(p_slot, &getstatus);
640 if (rc || getstatus) {
644 rc = p_slot->hpc_ops->get_power_status(p_slot, &getstatus);
645 if (rc || !getstatus) {