Exemplo n.º 1
0
static void unipro_backend_init(void)
{
    int i;

    /* unipro_init() will initialize any non-display, non-camera CPorts */
    unipro_init();

    /* Now register a driver for those CPorts */
    for (i = 0; i < unipro_cport_count(); i++) {
        /* These cports are already allocated for display and camera */
        if (i == CPORTID_CDSI0 || i == CPORTID_CDSI1)
            continue;
        unipro_driver_register(&unipro_driver, i);
    }
}
Exemplo n.º 2
0
int bringup_entry(int argc, char *argv[])
{
    unipro_init();
    tsb_unipro_mbox_send(TSB_MAIL_READY_OTHER);
    return nsh_main(argc, argv);
}
Exemplo n.º 3
0
int bringup_entry(int argc, char *argv[])
{
    unipro_init();
    return nsh_main(argc, argv);
}
Exemplo n.º 4
0
void unipro_init_with_event_handler(unipro_event_handler_t handler)
{
    unipro_set_event_handler(handler);
    unipro_init();
}