Lines Matching refs:result

531 	u32 result;
535 result = HSO_PORT_CONTROL;
538 result = HSO_PORT_APP;
541 result = HSO_PORT_PCSC;
544 result = HSO_PORT_GPS;
547 result = HSO_PORT_APP2;
550 result = HSO_PORT_NO_PORT;
552 return result;
558 u32 result;
562 result = 0x0;
565 result = 0x1;
568 result = 0x2;
571 result = 0x3;
574 result = 0x4;
577 result = 0x0;
579 return result;
774 int result;
802 result = usb_submit_urb(odev->mux_bulk_tx_urb, GFP_ATOMIC);
803 if (result) {
805 "failed mux_bulk_tx_urb %d\n", result);
985 int result;
1035 result = usb_submit_urb(urb, GFP_ATOMIC);
1036 if (result)
1039 result);
1114 int result;
1125 result = usb_submit_urb(urb, GFP_ATOMIC);
1126 if (result) {
1128 __func__, result);
1239 int result;
1250 result = usb_autopm_get_interface(serial->parent->interface);
1251 if (result < 0)
1269 result = hso_start_serial_device(serial->parent, GFP_KERNEL);
1270 if (result) {
1283 if (result)
1287 return result;
1427 int result;
1439 result = usb_submit_urb(tiocmget->urb, GFP_ATOMIC);
1440 if (result) {
1442 result);
1444 return result;
1756 int result;
1798 result = usb_submit_urb(ctrl_urb, GFP_ATOMIC);
1799 if (result) {
1802 result, type);
1803 return result;
1937 int result;
1947 result = usb_submit_urb(serial->tx_urb, GFP_ATOMIC);
1948 if (result) {
1950 "Failed to submit urb - res %d\n", result);
1951 return result;
2091 int i, result = 0;
2111 result = usb_submit_urb(hso_net->mux_bulk_rx_urb_pool[i],
2113 if (result)
2116 i, result);
2119 return result;
2143 int i, result = 0;
2163 result = usb_submit_urb(serial->rx_urb[i], flags);
2164 if (result) {
2167 result);
2174 result =
2185 return result;
2484 int result, i;
2540 result = add_net_device(hso_dev);
2541 if (result) {
2547 result = register_netdev(net);
2548 if (result) {
2804 s32 result;
2823 result = 0;
2826 result = HSO_PORT_DIAG;
2829 result = HSO_PORT_GPS;
2832 result = HSO_PORT_GPS_CONTROL;
2835 result = HSO_PORT_APP;
2838 result = HSO_PORT_APP2;
2841 result = HSO_PORT_CONTROL;
2844 result = HSO_PORT_NETWORK;
2847 result = HSO_PORT_MODEM;
2850 result = HSO_PORT_MSD;
2853 result = HSO_PORT_PCSC;
2856 result = HSO_PORT_VOICE;
2859 result = 0;
2862 if (result)
2863 result |= HSO_INTF_BULK;
2866 result |= HSO_INFO_CRC_BUG;
2869 return result;
3028 int i, result;
3033 result = hso_stop_serial_device(serial_table[i]);
3034 if (result)
3043 result = hso_stop_net_device(network_table[i]);
3044 if (result)
3056 int i, result = 0;
3063 result =
3066 if (result)
3088 result = hso_start_net_device(network_table[i]);
3089 if (result)
3096 return result;
3190 int result;
3200 result = usb_submit_urb(shared_int->shared_intr_urb, gfp);
3201 if (result)
3203 result);
3205 return result;
3239 int result;
3271 result = tty_register_driver(tty_drv);
3272 if (result) {
3274 __func__, result);
3279 result = usb_register(&hso_driver);
3280 if (result) {
3281 pr_err("Could not register hso driver - error: %d\n", result);
3291 return result;