Lines Matching refs:canch
324 struct gs_can *canch[GS_MAX_INTF]; member
599 dev = parent->canch[hf->channel]; in gs_usb_receive_bulk_callback()
697 if (parent->canch[rc]) in gs_usb_receive_bulk_callback()
698 netif_device_detach(parent->canch[rc]->netdev); in gs_usb_receive_bulk_callback()
1469 parent->canch[i] = gs_make_candev(i, intf, &dconf); in gs_usb_probe()
1470 if (IS_ERR_OR_NULL(parent->canch[i])) { in gs_usb_probe()
1472 rc = PTR_ERR(parent->canch[i]); in gs_usb_probe()
1477 gs_destroy_candev(parent->canch[i]); in gs_usb_probe()
1483 parent->canch[i]->parent = parent; in gs_usb_probe()
1488 if (parent->canch[i]->can.ctrlmode_supported & CAN_CTRLMODE_FD) { in gs_usb_probe()
1489 if (parent->canch[i]->feature & GS_CAN_FEATURE_HW_TIMESTAMP) in gs_usb_probe()
1494 if (parent->canch[i]->feature & GS_CAN_FEATURE_HW_TIMESTAMP) in gs_usb_probe()
1518 if (parent->canch[i]) in gs_usb_disconnect()
1519 gs_destroy_candev(parent->canch[i]); in gs_usb_disconnect()