Searched refs:s_priv (Results 1 - 1 of 1) sorted by relevance
/linux-4.1.27/drivers/usb/serial/ |
H A D | keyspan.c | 1334 struct keyspan_serial_private *s_priv; keyspan_setup_urbs() local 1338 s_priv = usb_get_serial_data(serial); keyspan_setup_urbs() 1339 d_details = s_priv->device_details; keyspan_setup_urbs() 1346 s_priv->instat_urb = keyspan_setup_urb keyspan_setup_urbs() 1348 serial, s_priv->instat_buf, INSTAT_BUFLEN, keyspan_setup_urbs() 1351 s_priv->indat_urb = keyspan_setup_urb keyspan_setup_urbs() 1353 serial, s_priv->indat_buf, INDAT49W_BUFLEN, keyspan_setup_urbs() 1356 s_priv->glocont_urb = keyspan_setup_urb keyspan_setup_urbs() 1358 serial, s_priv->glocont_buf, GLOCONT_BUFLEN, keyspan_setup_urbs() 1554 struct keyspan_serial_private *s_priv; keyspan_usa26_send_setup() local 1562 s_priv = usb_get_serial_data(serial); keyspan_usa26_send_setup() 1564 d_details = s_priv->device_details; keyspan_usa26_send_setup() 1700 struct keyspan_serial_private *s_priv; keyspan_usa28_send_setup() local 1706 s_priv = usb_get_serial_data(serial); keyspan_usa28_send_setup() 1708 d_details = s_priv->device_details; keyspan_usa28_send_setup() 1820 struct keyspan_serial_private *s_priv; keyspan_usa49_send_setup() local 1826 s_priv = usb_get_serial_data(serial); keyspan_usa49_send_setup() 1828 d_details = s_priv->device_details; keyspan_usa49_send_setup() 1830 this_urb = s_priv->glocont_urb; keyspan_usa49_send_setup() 1964 dr = (void *)(s_priv->ctrl_buf); keyspan_usa49_send_setup() 1971 memcpy(s_priv->glocont_buf, &msg, sizeof(msg)); keyspan_usa49_send_setup() 1975 (unsigned char *)dr, s_priv->glocont_buf, keyspan_usa49_send_setup() 1996 struct keyspan_serial_private *s_priv; keyspan_usa90_send_setup() local 2003 s_priv = usb_get_serial_data(serial); keyspan_usa90_send_setup() 2005 d_details = s_priv->device_details; keyspan_usa90_send_setup() 2126 struct keyspan_serial_private *s_priv; keyspan_usa67_send_setup() local 2132 s_priv = usb_get_serial_data(serial); keyspan_usa67_send_setup() 2134 d_details = s_priv->device_details; keyspan_usa67_send_setup() 2136 this_urb = s_priv->glocont_urb; keyspan_usa67_send_setup() 2267 struct keyspan_serial_private *s_priv; keyspan_send_setup() local 2270 s_priv = usb_get_serial_data(serial); keyspan_send_setup() 2271 d_details = s_priv->device_details; keyspan_send_setup() 2298 struct keyspan_serial_private *s_priv; keyspan_startup() local 2312 s_priv = kzalloc(sizeof(struct keyspan_serial_private), GFP_KERNEL); keyspan_startup() 2313 if (!s_priv) keyspan_startup() 2316 s_priv->instat_buf = kzalloc(INSTAT_BUFLEN, GFP_KERNEL); keyspan_startup() 2317 if (!s_priv->instat_buf) keyspan_startup() 2320 s_priv->indat_buf = kzalloc(INDAT49W_BUFLEN, GFP_KERNEL); keyspan_startup() 2321 if (!s_priv->indat_buf) keyspan_startup() 2324 s_priv->glocont_buf = kzalloc(GLOCONT_BUFLEN, GFP_KERNEL); keyspan_startup() 2325 if (!s_priv->glocont_buf) keyspan_startup() 2328 s_priv->ctrl_buf = kzalloc(sizeof(struct usb_ctrlrequest), GFP_KERNEL); keyspan_startup() 2329 if (!s_priv->ctrl_buf) keyspan_startup() 2332 s_priv->device_details = d_details; keyspan_startup() 2333 usb_set_serial_data(serial, s_priv); keyspan_startup() 2337 if (s_priv->instat_urb != NULL) { keyspan_startup() 2338 err = usb_submit_urb(s_priv->instat_urb, GFP_KERNEL); keyspan_startup() 2342 if (s_priv->indat_urb != NULL) { keyspan_startup() 2343 err = usb_submit_urb(s_priv->indat_urb, GFP_KERNEL); keyspan_startup() 2351 kfree(s_priv->glocont_buf); keyspan_startup() 2353 kfree(s_priv->indat_buf); keyspan_startup() 2355 kfree(s_priv->instat_buf); keyspan_startup() 2357 kfree(s_priv); keyspan_startup() 2364 struct keyspan_serial_private *s_priv; keyspan_disconnect() local 2366 s_priv = usb_get_serial_data(serial); keyspan_disconnect() 2368 stop_urb(s_priv->instat_urb); keyspan_disconnect() 2369 stop_urb(s_priv->glocont_urb); keyspan_disconnect() 2370 stop_urb(s_priv->indat_urb); keyspan_disconnect() 2375 struct keyspan_serial_private *s_priv; keyspan_release() local 2377 s_priv = usb_get_serial_data(serial); keyspan_release() 2380 usb_kill_urb(s_priv->instat_urb); keyspan_release() 2381 usb_kill_urb(s_priv->indat_urb); keyspan_release() 2383 usb_free_urb(s_priv->instat_urb); keyspan_release() 2384 usb_free_urb(s_priv->indat_urb); keyspan_release() 2385 usb_free_urb(s_priv->glocont_urb); keyspan_release() 2387 kfree(s_priv->ctrl_buf); keyspan_release() 2388 kfree(s_priv->glocont_buf); keyspan_release() 2389 kfree(s_priv->indat_buf); keyspan_release() 2390 kfree(s_priv->instat_buf); keyspan_release() 2392 kfree(s_priv); keyspan_release() 2398 struct keyspan_serial_private *s_priv; keyspan_port_probe() local 2406 s_priv = usb_get_serial_data(serial); keyspan_port_probe() 2407 d_details = s_priv->device_details; keyspan_port_probe()
|
Completed in 66 milliseconds