Lines Matching refs:devices

327     hh_cb.devices[i].conn.process_repage_timer =  in HID_HostRegister()
349 alarm_free(hh_cb.devices[i].conn.process_repage_timer); in HID_HostDeregister()
350 hh_cb.devices[i].conn.process_repage_timer = NULL; in HID_HostDeregister()
371 if (hh_cb.devices[i].in_use && (hh_cb.devices[i].addr == addr)) { in HID_HostSDPDisable()
372 return (hh_cb.devices[i].attr_mask & HID_SDP_DISABLE); in HID_HostSDPDisable()
394 if ((hh_cb.devices[i].in_use) && addr == hh_cb.devices[i].addr) break; in HID_HostAddDev()
399 if (!hh_cb.devices[i].in_use) break; in HID_HostAddDev()
410 if (!hh_cb.devices[i].in_use) { in HID_HostAddDev()
411 hh_cb.devices[i].in_use = true; in HID_HostAddDev()
412 hh_cb.devices[i].addr = addr; in HID_HostAddDev()
413 hh_cb.devices[i].state = HID_DEV_NO_CONN; in HID_HostAddDev()
414 hh_cb.devices[i].conn_tries = 0; in HID_HostAddDev()
417 hh_cb.devices[i].attr_mask = attr_mask; in HID_HostAddDev()
438 (!hh_cb.devices[dev_handle].in_use)) { in HID_HostRemoveDev()
446 hh_cb.devices[dev_handle].in_use = false; in HID_HostRemoveDev()
447 hh_cb.devices[dev_handle].conn.conn_state = HID_CONN_STATE_UNUSED; in HID_HostRemoveDev()
448 hh_cb.devices[dev_handle].conn.ctrl_cid = in HID_HostRemoveDev()
449 hh_cb.devices[dev_handle].conn.intr_cid = 0; in HID_HostRemoveDev()
450 hh_cb.devices[dev_handle].attr_mask = 0; in HID_HostRemoveDev()
468 (!hh_cb.devices[dev_handle].in_use)) { in HID_HostOpenDev()
475 if (hh_cb.devices[dev_handle].state != HID_DEV_NO_CONN) { in HID_HostOpenDev()
481 hh_cb.devices[dev_handle].conn_tries = 1; in HID_HostOpenDev()
507 (!hh_cb.devices[dev_handle].in_use)) { in HID_HostWriteDev()
515 else if (hh_cb.devices[dev_handle].state != HID_DEV_CONNECTED) { in HID_HostWriteDev()
545 (!hh_cb.devices[dev_handle].in_use)) { in HID_HostCloseDev()
552 if (hh_cb.devices[dev_handle].state != HID_DEV_CONNECTED) { in HID_HostCloseDev()
559 alarm_cancel(hh_cb.devices[dev_handle].conn.process_repage_timer); in HID_HostCloseDev()
560 hh_cb.devices[dev_handle].conn_tries = HID_HOST_MAX_CONN_RETRY + 1; in HID_HostCloseDev()