Lines Matching refs:func
87 return container_of(f, struct f_ncm, port.func); in func_to_ncm()
478 struct usb_composite_dev *cdev = ncm->port.func.config->cdev; in ncm_do_notify()
560 struct usb_composite_dev *cdev = ncm->port.func.config->cdev; in ncm_notify_complete()
955 struct f_ncm *ncm = func_to_ncm(&port->func); in ncm_wrap_ntb()
1132 struct f_ncm *ncm = func_to_ncm(&port->func); in ncm_unwrap_ntb()
1147 INFO(port->func.config->cdev, "Wrong NTH SIGN, skblen %d\n", in ncm_unwrap_ntb()
1157 INFO(port->func.config->cdev, "Wrong NTB headersize\n"); in ncm_unwrap_ntb()
1164 INFO(port->func.config->cdev, "OUT size exceeded\n"); in ncm_unwrap_ntb()
1175 INFO(port->func.config->cdev, "Bad index: %#X\n", in ncm_unwrap_ntb()
1183 INFO(port->func.config->cdev, "Wrong NDP SIGN\n"); in ncm_unwrap_ntb()
1199 INFO(port->func.config->cdev, "Bad NDP length: %#X\n", in ncm_unwrap_ntb()
1217 INFO(port->func.config->cdev, in ncm_unwrap_ntb()
1231 INFO(port->func.config->cdev, in ncm_unwrap_ntb()
1264 VDBG(port->func.config->cdev, in ncm_unwrap_ntb()
1315 struct f_ncm *ncm = func_to_ncm(&geth->func); in ncm_open()
1317 DBG(ncm->port.func.config->cdev, "%s\n", __func__); in ncm_open()
1327 struct f_ncm *ncm = func_to_ncm(&geth->func); in ncm_close()
1329 DBG(ncm->port.func.config->cdev, "%s\n", __func__); in ncm_close()
1614 ncm->port.func.name = "cdc_network"; in ncm_alloc()
1616 ncm->port.func.bind = ncm_bind; in ncm_alloc()
1617 ncm->port.func.unbind = ncm_unbind; in ncm_alloc()
1618 ncm->port.func.set_alt = ncm_set_alt; in ncm_alloc()
1619 ncm->port.func.get_alt = ncm_get_alt; in ncm_alloc()
1620 ncm->port.func.setup = ncm_setup; in ncm_alloc()
1621 ncm->port.func.disable = ncm_disable; in ncm_alloc()
1622 ncm->port.func.free_func = ncm_free; in ncm_alloc()
1627 return &ncm->port.func; in ncm_alloc()