/linux-2.4.37.9/drivers/usb/storage/ |
D | shuttle_usbat.c | 92 int result; in usbat_send_control() local 98 result = usb_stor_control_msg(us, pipe, in usbat_send_control() 105 if (result < 0) { in usbat_send_control() 107 if (result == -ECONNRESET) in usbat_send_control() 111 if (result == -EPIPE) { in usbat_send_control() 113 result = usb_stor_clear_halt(us, pipe); in usbat_send_control() 114 US_DEBUGP("-- usb_stor_clear_halt() returns %d\n", result); in usbat_send_control() 130 int result; in usbat_raw_bulk() local 139 result = usb_stor_bulk_msg(us, data, pipe, len, &act_len); in usbat_raw_bulk() 142 if (result == -EPIPE) { in usbat_raw_bulk() [all …]
|
D | transport.c | 471 int result; in usb_stor_clear_halt() local 474 result = usb_stor_control_msg(us, in usb_stor_clear_halt() 478 US_DEBUGP("usb_stor_clear_halt: result=%d\n", result); in usb_stor_clear_halt() 481 if (result < 0) in usb_stor_clear_halt() 482 return result; in usb_stor_clear_halt() 506 int result; in usb_stor_transfer_partial() local 518 result = usb_stor_bulk_msg(us, buf, pipe, length, &partial); in usb_stor_transfer_partial() 520 result, partial, length); in usb_stor_transfer_partial() 523 if (result == -EPIPE) { in usb_stor_transfer_partial() 529 if (result == -ECONNRESET) { in usb_stor_transfer_partial() [all …]
|
D | freecom.c | 118 int result = -1; in us_transfer_freecom() local 146 result = usb_stor_transfer_partial(us, in us_transfer_freecom() 150 result = usb_stor_transfer_partial(us, in us_transfer_freecom() 157 if (result) in us_transfer_freecom() 163 result = usb_stor_transfer_partial(us, srb->request_buffer, in us_transfer_freecom() 167 srb->result = result; in us_transfer_freecom() 179 int result, partial; 198 result = usb_stor_bulk_msg (us, ideout, opipe, 200 if (result != 0) { 201 if (result == -ECONNRESET) [all …]
|
D | sddr09.c | 232 int result; in sddr09_send_control() local 238 result = usb_stor_control_msg(us, pipe, in sddr09_send_control() 245 if (result < 0) { in sddr09_send_control() 247 if (result == -ECONNRESET) in sddr09_send_control() 251 if (result == -EPIPE) { in sddr09_send_control() 253 result = usb_clear_halt(us->pusb_dev, pipe); in sddr09_send_control() 254 US_DEBUGP("-- usb_clear_halt() returns %d\n", result); in sddr09_send_control() 297 int result; in sddr09_raw_bulk() local 306 result = usb_stor_bulk_msg(us, data, pipe, len, &act_len); in sddr09_raw_bulk() 309 if (result == -EPIPE) { in sddr09_raw_bulk() [all …]
|
D | sddr55.c | 80 int result; in sddr55_raw_bulk() local 89 result = usb_stor_bulk_msg(us, data, pipe, len, &act_len); in sddr55_raw_bulk() 92 if (result == -EPIPE) { in sddr55_raw_bulk() 99 if (result) { in sddr55_raw_bulk() 102 if (result == -ETIMEDOUT) { in sddr55_raw_bulk() 110 if (result == -ECONNRESET) { in sddr55_raw_bulk() 116 if (result == -EPIPE) { in sddr55_raw_bulk() 147 int result = USB_STOR_TRANSPORT_GOOD; in sddr55_bulk_transport() local 182 result = sddr55_raw_bulk(us, direction, data, len); in sddr55_bulk_transport() 205 return result; in sddr55_bulk_transport() [all …]
|
/linux-2.4.37.9/arch/parisc/math-emu/ |
D | sfsub.c | 55 register unsigned int left, right, result, extent; in sgl_fsub() local 86 Sgl_makequietnan(result); in sgl_fsub() 87 *dstptr = result; in sgl_fsub() 228 Sgl_subtract(left,/*minus*/right,/*into*/result); in sgl_fsub() 229 if(Sgl_iszero_mantissa(result)) in sgl_fsub() 233 Sgl_setone_sign(result); in sgl_fsub() 237 Sgl_setzero_sign(result); in sgl_fsub() 239 *dstptr = result; in sgl_fsub() 245 Sgl_addition(left,right,/*into*/result); in sgl_fsub() 246 if(Sgl_isone_hidden(result)) in sgl_fsub() [all …]
|
D | sfadd.c | 55 register unsigned int left, right, result, extent; in sgl_fadd() local 88 Sgl_makequietnan(result); in sgl_fadd() 89 *dstptr = result; in sgl_fadd() 226 Sgl_subtract(left,/*minus*/right,/*into*/result); in sgl_fadd() 227 if(Sgl_iszero_mantissa(result)) in sgl_fadd() 231 Sgl_setone_sign(result); in sgl_fadd() 235 Sgl_setzero_sign(result); in sgl_fadd() 237 *dstptr = result; in sgl_fadd() 243 Sgl_addition(left,right,/*into*/result); in sgl_fadd() 244 if(Sgl_isone_hidden(result)) in sgl_fadd() [all …]
|
D | fcnvxf.c | 65 register unsigned int result = 0; in sgl_to_sgl_fcnvxf() local 72 Sgl_setone_sign(result); in sgl_to_sgl_fcnvxf() 76 Sgl_setzero_sign(result); in sgl_to_sgl_fcnvxf() 79 Sgl_setzero(result); in sgl_to_sgl_fcnvxf() 80 *dstptr = result; in sgl_to_sgl_fcnvxf() 97 Sgl_set_mantissa(result, src >> (SGL_EXP_LENGTH-1)); in sgl_to_sgl_fcnvxf() 98 Sgl_set_exponent(result, 30+SGL_BIAS - dst_exponent); in sgl_to_sgl_fcnvxf() 104 if (Sgl_iszero_sign(result)) in sgl_to_sgl_fcnvxf() 105 Sgl_increment(result); in sgl_to_sgl_fcnvxf() 108 if (Sgl_isone_sign(result)) in sgl_to_sgl_fcnvxf() [all …]
|
D | sfsqrt.c | 57 register unsigned int src, result; in sgl_fsqrt() local 133 Sgl_setzero(result); in sgl_fsqrt() 136 Sgl_addition(result,newbit,sum); in sgl_fsqrt() 139 Sgl_addition(result,(newbit<<1),result); in sgl_fsqrt() 147 Sgl_rightshiftby1(result); in sgl_fsqrt() 152 if (!even_exponent && Sgl_islessthan(result,src)) in sgl_fsqrt() 153 Sgl_increment(result); in sgl_fsqrt() 154 guardbit = Sgl_lowmantissa(result); in sgl_fsqrt() 155 Sgl_rightshiftby1(result); in sgl_fsqrt() 160 Sgl_increment(result); in sgl_fsqrt() [all …]
|
D | fcnvfu.c | 65 register unsigned int src, result; in sgl_to_sgl_fcnvfu() local 77 result = 0; in sgl_to_sgl_fcnvfu() 79 result = 0xffffffff; in sgl_to_sgl_fcnvfu() 85 *dstptr = result; in sgl_to_sgl_fcnvfu() 97 result = 0; in sgl_to_sgl_fcnvfu() 102 *dstptr = result; in sgl_to_sgl_fcnvfu() 106 Suint_from_sgl_mantissa(src,src_exponent,result); in sgl_to_sgl_fcnvfu() 114 result++; in sgl_to_sgl_fcnvfu() 121 (result & 1))) { in sgl_to_sgl_fcnvfu() 122 result++; in sgl_to_sgl_fcnvfu() [all …]
|
D | sfdiv.c | 53 register unsigned int opnd1, opnd2, opnd3, result; in sgl_fdiv() local 63 if (Sgl_sign(opnd1) ^ Sgl_sign(opnd2)) Sgl_setnegativezero(result); in sgl_fdiv() 64 else Sgl_setzero(result); in sgl_fdiv() 79 Sgl_makequietnan(result); in sgl_fdiv() 80 *dstptr = result; in sgl_fdiv() 86 Sgl_setinfinity_exponentmantissa(result); in sgl_fdiv() 87 *dstptr = result; in sgl_fdiv() 131 Sgl_setzero_exponentmantissa(result); in sgl_fdiv() 132 *dstptr = result; in sgl_fdiv() 159 Sgl_makequietnan(result); in sgl_fdiv() [all …]
|
/linux-2.4.37.9/arch/alpha/lib/ |
D | checksum.c | 60 unsigned long result; in csum_tcpudp_nofold() local 62 result = (saddr + daddr + sum + in csum_tcpudp_nofold() 69 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold() 71 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold() 72 return result; in csum_tcpudp_nofold() 85 unsigned long result = 0; in do_csum() local 91 result = *buff << 8; in do_csum() 98 result += *(unsigned short *) buff; in do_csum() 106 result += *(unsigned int *) buff; in do_csum() 118 result += carry; in do_csum() [all …]
|
/linux-2.4.37.9/arch/sh64/lib/ |
D | c-checksum.c | 93 unsigned long long result = 0; 99 result = *buff << 8; 106 result += *(unsigned short *) buff; 114 result += *(unsigned int *) buff; 127 result += carry; 128 result += w; 129 carry = (w > result); 131 result += carry; 132 result = (result & 0xffffffff) + (result >> 32); 135 result += *(unsigned int *) buff; [all …]
|
/linux-2.4.37.9/crypto/ |
D | tcrypt.h | 55 char result[48]; member 820 .result = { 0xc9, 0x57, 0x44, 0x25, 0x6a, 0x5e, 0xd3, 0x1d }, 827 .result = { 0xf7, 0x9c, 0x89, 0x2a, 0x33, 0x8f, 0x4a, 0x8b }, 834 .result = { 0x69, 0x0f, 0x5b, 0x0d, 0x9a, 0x26, 0x93, 0x9b }, 843 .result = { 0xc9, 0x57, 0x44, 0x25, 0x6a, 0x5e, 0xd3, 0x1d, 854 .result = { 0xc9, 0x57, 0x44, 0x25, 0x6a, 0x5e, 0xd3, 0x1d }, 862 .result = { 0xc9, 0x57, 0x44, 0x25, 0x6a, 0x5e, 0xd3, 0x1d, 875 .result = { 0xc9, 0x57, 0x44, 0x25, 0x6a, 0x5e, 0xd3, 0x1d, 889 .result = { 0xc9, 0x57, 0x44, 0x25, 0x6a, 0x5e, 0xd3, 0x1d, 901 .result = { 0xc9, 0x57, 0x44, 0x25, 0x6a, 0x5e, 0xd3, 0x1d, [all …]
|
/linux-2.4.37.9/drivers/hotplug/ |
D | pci_hotplug_util.c | 84 int result; in pci_bus_read_config_byte() local 93 result = build_dev(bus, devfn, &dev); in pci_bus_read_config_byte() 94 if (result) in pci_bus_read_config_byte() 95 return result; in pci_bus_read_config_byte() 96 result = pci_read_config_byte(dev, where, value); in pci_bus_read_config_byte() 98 return result; in pci_bus_read_config_byte() 115 int result; in pci_bus_read_config_word() local 124 result = build_dev(bus, devfn, &dev); in pci_bus_read_config_word() 125 if (result) in pci_bus_read_config_word() 126 return result; in pci_bus_read_config_word() [all …]
|
/linux-2.4.37.9/arch/ia64/lib/ |
D | csum_partial_copy.c | 36 unsigned long result = (unsigned long)psum; in do_csum_c() local 42 result = *buff << 8; in do_csum_c() 49 result += *(unsigned short *) buff; in do_csum_c() 57 result += *(unsigned int *) buff; in do_csum_c() 69 result += carry; in do_csum_c() 70 result += w; in do_csum_c() 71 carry = (w > result); in do_csum_c() 73 result += carry; in do_csum_c() 74 result = (result & 0xffffffff) + (result >> 32); in do_csum_c() 77 result += *(unsigned int *) buff; in do_csum_c() [all …]
|
D | checksum.c | 52 unsigned long result; in csum_tcpudp_nofold() local 54 result = (saddr + daddr + sum + in csum_tcpudp_nofold() 60 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold() 62 result = (result & 0xffffffff) + (result >> 32); in csum_tcpudp_nofold() 63 return result; in csum_tcpudp_nofold() 82 unsigned long result = do_csum(buff, len); in csum_partial() local 85 result += sum; in csum_partial() 87 result = (result & 0xffffffff) + (result >> 32); in csum_partial() 88 return result; in csum_partial()
|
/linux-2.4.37.9/arch/x86_64/lib/ |
D | csum-partial.c | 39 unsigned long result = 0; in do_csum() local 42 return result; in do_csum() 45 result = *buff << 8; in do_csum() 52 result += *(unsigned short *)buff; in do_csum() 60 result += *(unsigned int *) buff; in do_csum() 80 : [res] "=r" (result) in do_csum() 82 "[res]" (result)); in do_csum() 92 : "=r" (result) in do_csum() 94 "r" (zero), "0" (result)); in do_csum() 98 result = add32_with_carry(result>>32, in do_csum() [all …]
|
/linux-2.4.37.9/arch/parisc/lib/ |
D | checksum.c | 37 unsigned int result = 0; in do_csum() local 43 result = be16_to_cpu(*buff); in do_csum() 50 result += *(unsigned short *) buff; in do_csum() 62 result += carry; in do_csum() 63 result += w; in do_csum() 64 carry = (w > result); in do_csum() 66 result += carry; in do_csum() 67 result = (result & 0xffff) + (result >> 16); in do_csum() 70 result += *(unsigned short *) buff; in do_csum() 75 result += le16_to_cpu(*buff); in do_csum() [all …]
|
/linux-2.4.37.9/fs/ncpfs/ |
D | sock.c | 87 int result; in do_ncp_rpc_call() local 132 result = _send(sock, (void *) start, size); in do_ncp_rpc_call() 133 if (result < 0) { in do_ncp_rpc_call() 134 printk(KERN_ERR "ncp_rpc_call: send error = %d\n", result); in do_ncp_rpc_call() 158 result = -ERESTARTSYS; in do_ncp_rpc_call() 162 result = wait_table.error; in do_ncp_rpc_call() 170 result = -EIO; in do_ncp_rpc_call() 191 result = _recv(sock, (void *) &reply, sizeof(reply), in do_ncp_rpc_call() 193 if (result < 0) { in do_ncp_rpc_call() 194 if (result == -EAGAIN) { in do_ncp_rpc_call() [all …]
|
/linux-2.4.37.9/drivers/acpi/ |
D | power.c | 77 int result = 0; in acpi_power_get_context() local 85 result = acpi_bus_get_device(handle, &device); in acpi_power_get_context() 86 if (result) { in acpi_power_get_context() 89 return_VALUE(result); in acpi_power_get_context() 133 int result = 0; in acpi_power_get_list_state() local 145 result = acpi_power_get_context(list->handles[i], &resource); in acpi_power_get_list_state() 146 if (result) in acpi_power_get_list_state() 147 return_VALUE(result); in acpi_power_get_list_state() 148 result = acpi_power_get_state(resource); in acpi_power_get_list_state() 149 if (result) in acpi_power_get_list_state() [all …]
|
/linux-2.4.37.9/fs/smbfs/ |
D | proc.c | 325 int result; in smb_encode_path() local 327 result = smb_build_path(server, buf, maxlen, dir, name); in smb_encode_path() 328 if (result < 0) in smb_encode_path() 331 str_upper(buf, result); in smb_encode_path() 333 return result; in smb_encode_path() 731 int error, result = 0; in smb_retry() local 777 result = 1; in smb_retry() 784 return result; in smb_retry() 795 int result = -EIO; in smb_request_ok() local 819 result = smb_errno(s); in smb_request_ok() [all …]
|
D | sock.c | 114 int result = 0; in smb_data_callback() local 126 result = -EIO; in smb_data_callback() 132 result = _recvfrom(socket, (void *) peek_buf, 1, in smb_data_callback() 134 if (result < 0) in smb_data_callback() 140 result = _recvfrom(socket, (void *) peek_buf, 4, in smb_data_callback() 145 if (result < 0) in smb_data_callback() 152 DEBUG1("found=%d, count=%d, result=%d\n", found, count, result); in smb_data_callback() 318 int result = 0; in smb_receive_poll() local 338 result = wait_table.error; in smb_receive_poll() 346 result = -ERESTARTSYS; in smb_receive_poll() [all …]
|
/linux-2.4.37.9/arch/ppc64/kernel/ |
D | bitops.c | 46 unsigned long result = offset & ~63UL; in find_next_zero_bit() local 51 size -= result; in find_next_zero_bit() 62 result += 64; in find_next_zero_bit() 67 result += 64; in find_next_zero_bit() 71 return result; in find_next_zero_bit() 77 return result+size; in find_next_zero_bit() 79 return result + ffz(tmp); in find_next_zero_bit() 85 unsigned long result = offset & ~63UL; in find_next_bit() local 90 size -= result; in find_next_bit() 100 result += 64; in find_next_bit() [all …]
|
/linux-2.4.37.9/include/asm-s390x/ |
D | byteorder.h | 18 __u64 result; in ___arch__swab64() local 22 : "=&d" (result) : "m" (x) ); in ___arch__swab64() 23 return result; in ___arch__swab64() 28 __u64 result; in ___arch__swab64p() local 32 : "=d" (result) : "m" (*x) ); in ___arch__swab64p() 33 return result; in ___arch__swab64p() 46 __u32 result; in ___arch__swab32() local 50 : "=&d" (result) : "m" (x) ); in ___arch__swab32() 51 return result; in ___arch__swab32() 56 __u32 result; in ___arch__swab32p() local [all …]
|