Lines Matching refs:result

530 	u32 result;
534 result = HSO_PORT_CONTROL;
537 result = HSO_PORT_APP;
540 result = HSO_PORT_PCSC;
543 result = HSO_PORT_GPS;
546 result = HSO_PORT_APP2;
549 result = HSO_PORT_NO_PORT;
551 return result;
557 u32 result;
561 result = 0x0;
564 result = 0x1;
567 result = 0x2;
570 result = 0x3;
573 result = 0x4;
576 result = 0x0;
578 return result;
773 int result;
801 result = usb_submit_urb(odev->mux_bulk_tx_urb, GFP_ATOMIC);
802 if (result) {
804 "failed mux_bulk_tx_urb %d\n", result);
984 int result;
1034 result = usb_submit_urb(urb, GFP_ATOMIC);
1035 if (result)
1038 result);
1112 int result;
1123 result = usb_submit_urb(urb, GFP_ATOMIC);
1124 if (result) {
1126 __func__, result);
1238 int result;
1249 result = usb_autopm_get_interface(serial->parent->interface);
1250 if (result < 0)
1267 result = hso_start_serial_device(serial->parent, GFP_KERNEL);
1268 if (result) {
1281 if (result)
1285 return result;
1420 int result;
1432 result = usb_submit_urb(tiocmget->urb, GFP_ATOMIC);
1433 if (result) {
1435 result);
1437 return result;
1749 int result;
1791 result = usb_submit_urb(ctrl_urb, GFP_ATOMIC);
1792 if (result) {
1795 result, type);
1796 return result;
1930 int result;
1940 result = usb_submit_urb(serial->tx_urb, GFP_ATOMIC);
1941 if (result) {
1943 "Failed to submit urb - res %d\n", result);
1944 return result;
2084 int i, result = 0;
2104 result = usb_submit_urb(hso_net->mux_bulk_rx_urb_pool[i],
2106 if (result)
2109 i, result);
2112 return result;
2136 int i, result = 0;
2156 result = usb_submit_urb(serial->rx_urb[i], flags);
2157 if (result) {
2160 result);
2167 result =
2178 return result;
2477 int result, i;
2533 result = add_net_device(hso_dev);
2534 if (result) {
2540 result = register_netdev(net);
2541 if (result) {
2797 s32 result;
2816 result = 0;
2819 result = HSO_PORT_DIAG;
2822 result = HSO_PORT_GPS;
2825 result = HSO_PORT_GPS_CONTROL;
2828 result = HSO_PORT_APP;
2831 result = HSO_PORT_APP2;
2834 result = HSO_PORT_CONTROL;
2837 result = HSO_PORT_NETWORK;
2840 result = HSO_PORT_MODEM;
2843 result = HSO_PORT_MSD;
2846 result = HSO_PORT_PCSC;
2849 result = HSO_PORT_VOICE;
2852 result = 0;
2855 if (result)
2856 result |= HSO_INTF_BULK;
2859 result |= HSO_INFO_CRC_BUG;
2862 return result;
3021 int i, result;
3026 result = hso_stop_serial_device(serial_table[i]);
3027 if (result)
3036 result = hso_stop_net_device(network_table[i]);
3037 if (result)
3049 int i, result = 0;
3056 result =
3059 if (result)
3081 result = hso_start_net_device(network_table[i]);
3082 if (result)
3089 return result;
3183 int result;
3193 result = usb_submit_urb(shared_int->shared_intr_urb, gfp);
3194 if (result)
3196 result);
3198 return result;
3232 int result;
3263 result = tty_register_driver(tty_drv);
3264 if (result) {
3266 __func__, result);
3271 result = usb_register(&hso_driver);
3272 if (result) {
3273 pr_err("Could not register hso driver - error: %d\n", result);
3283 return result;