Lines Matching refs:result

568 	int offset, result = 0;
569 for (offset = 0; offset < SRAM_BYTES && result == 0; offset += 4)
570 result = sram_test_word(lanai, offset, pattern);
571 return result;
577 int result;
579 if ((result = sram_test_pass(lanai, 0x5555)) != 0)
580 return result;
581 if ((result = sram_test_pass(lanai, 0xAAAA)) != 0)
582 return result;
904 /* read back result */
1099 int result;
1100 result = pci_read_config_word(lanai->pci, PCI_STATUS, &s);
1101 if (result != PCIBIOS_SUCCESSFUL) {
1103 "%d\n", lanai->number, result);
1111 result = pci_write_config_word(lanai->pci, PCI_STATUS, s);
1112 if (result != PCIBIOS_SUCCESSFUL)
1114 "%d\n", lanai->number, result);
1934 int result;
1947 result = check_board_id_and_rev("PCI", pci->subsystem_device, NULL);
1948 if (result != 0)
1949 return result;
1951 result = pci_write_config_byte(pci, PCI_LATENCY_TIMER, 0);
1952 if (result != PCIBIOS_SUCCESSFUL) {
1954 "PCI_LATENCY_TIMER: %d\n", lanai->number, result);
2047 * Note that storing a number greater than 2046.0 will result in
2063 * The end result is supposed to be a fixed-point number with FRAC_BITS
2111 int result;
2134 if ((result = lanai_pci_start(lanai)) != 0)
2140 result = -ENOMEM;
2162 result = check_board_id_and_rev("register",
2164 if (result != 0)
2168 if ((result = eeprom_read(lanai)) != 0)
2170 if ((result = eeprom_validate(lanai)) != 0)
2182 if ((result = sram_test_and_clear(lanai)) != 0)
2188 if ((result = service_buffer_allocate(lanai)) != 0)
2190 if ((result = vcc_table_allocate(lanai)) != 0)
2197 if ((result = request_irq(lanai->pci->irq, lanai_int, IRQF_SHARED,
2241 return result;
2314 int result = 0;
2322 result = lanai_normalize_ci(lanai, atmvcc, &vpi, &vci);
2323 if (unlikely(result != 0))
2343 result = aal0_buffer_allocate(lanai);
2345 result = lanai_setup_rx_vci_aal5(
2347 if (unlikely(result != 0))
2361 result = lanai_setup_tx_vci(lanai, lvcc, &atmvcc->qos);
2362 if (unlikely(result != 0))
2389 return result;
2557 int result;
2578 result = lanai_dev_open(atmdev);
2579 if (result != 0) {
2580 DPRINTK("lanai_start() failed, err=%d\n", -result);
2584 return result;