Searched refs:usbatm_instance (Results 1 - 2 of 2) sorted by relevance
/linux-4.1.27/drivers/usb/atm/ |
H A D | cxacru.c | 742 static void cxacru_remove_device_files(struct usbatm_data *usbatm_instance, cxacru_remove_device_files() argument 745 struct usb_interface *intf = usbatm_instance->usb_intf; cxacru_remove_device_files() 753 static int cxacru_atm_start(struct usbatm_data *usbatm_instance, cxacru_atm_start() argument 756 struct cxacru_data *instance = usbatm_instance->driver_data; cxacru_atm_start() 757 struct usb_interface *intf = usbatm_instance->usb_intf; cxacru_atm_start() 767 atm_err(usbatm_instance, "cxacru_atm_start: CARD_GET_MAC_ADDRESS returned %d\n", ret); cxacru_atm_start() 782 atm_err(usbatm_instance, "cxacru_atm_start: CHIP_ADSL_LINE_START returned %d\n", ret); cxacru_atm_start() 804 usbatm_instance->description, atm_dev->esi); cxacru_atm_start() 811 usb_err(usbatm_instance, "cxacru_atm_start: device_create_file failed (%d)\n", ret); cxacru_atm_start() 812 cxacru_remove_device_files(usbatm_instance, atm_dev); cxacru_atm_start() 1089 static int cxacru_heavy_init(struct usbatm_data *usbatm_instance, cxacru_heavy_init() argument 1093 struct cxacru_data *instance = usbatm_instance->driver_data; cxacru_heavy_init() 1097 usb_warn(usbatm_instance, "firmware (cxacru-fw.bin) unavailable (system misconfigured?)\n"); cxacru_heavy_init() 1104 usb_warn(usbatm_instance, "boot ROM patch (cxacru-bp.bin) unavailable (system misconfigured?)\n"); cxacru_heavy_init() 1118 usb_dbg(usbatm_instance, "modem initialisation failed\n"); cxacru_heavy_init() 1120 usb_dbg(usbatm_instance, "done setting up the modem\n"); cxacru_heavy_init() 1125 static int cxacru_bind(struct usbatm_data *usbatm_instance, cxacru_bind() argument 1136 usb_dbg(usbatm_instance, "cxacru_bind: no memory for instance data\n"); cxacru_bind() 1140 instance->usbatm = usbatm_instance; cxacru_bind() 1152 usb_dbg(usbatm_instance, "cxacru_bind: no memory for rcv_buf\n"); cxacru_bind() 1158 usb_dbg(usbatm_instance, "cxacru_bind: no memory for snd_buf\n"); cxacru_bind() 1164 usb_dbg(usbatm_instance, "cxacru_bind: no memory for rcv_urb\n"); cxacru_bind() 1170 usb_dbg(usbatm_instance, "cxacru_bind: no memory for snd_urb\n"); cxacru_bind() 1176 usb_dbg(usbatm_instance, "cxacru_bind: no command endpoint\n"); cxacru_bind() 1208 usbatm_instance->driver_data = instance; cxacru_bind() 1210 usbatm_instance->flags = (cxacru_card_status(instance) ? 0 : UDSL_SKIP_HEAVY_INIT); cxacru_bind() 1224 static void cxacru_unbind(struct usbatm_data *usbatm_instance, cxacru_unbind() argument 1227 struct cxacru_data *instance = usbatm_instance->driver_data; cxacru_unbind() 1230 usb_dbg(usbatm_instance, "cxacru_unbind entered\n"); cxacru_unbind() 1233 usb_dbg(usbatm_instance, "cxacru_unbind: NULL instance!\n"); cxacru_unbind() 1262 usbatm_instance->driver_data = NULL; cxacru_unbind()
|
H A D | usbatm.h | 186 struct usbatm_data *usbatm_instance; to_usbatm_driver_data() local 191 usbatm_instance = usb_get_intfdata(intf); to_usbatm_driver_data() 193 if (usbatm_instance == NULL) /* set NULL before unbind() */ to_usbatm_driver_data() 196 return usbatm_instance->driver_data; /* set NULL after unbind() */ to_usbatm_driver_data()
|
Completed in 109 milliseconds