• Home
  • Raw
  • Download

Lines Matching refs:devices

278     hh_cb.devices[i].conn.process_repage_timer =  in HID_HostRegister()
300 alarm_free(hh_cb.devices[i].conn.process_repage_timer); in HID_HostDeregister()
325 if ((hh_cb.devices[i].in_use) && addr == hh_cb.devices[i].addr) break; in HID_HostAddDev()
330 if (!hh_cb.devices[i].in_use) break; in HID_HostAddDev()
336 if (!hh_cb.devices[i].in_use) { in HID_HostAddDev()
337 hh_cb.devices[i].in_use = true; in HID_HostAddDev()
338 hh_cb.devices[i].addr = addr; in HID_HostAddDev()
339 hh_cb.devices[i].state = HID_DEV_NO_CONN; in HID_HostAddDev()
340 hh_cb.devices[i].conn_tries = 0; in HID_HostAddDev()
343 if (attr_mask != HID_ATTR_MASK_IGNORE) hh_cb.devices[i].attr_mask = attr_mask; in HID_HostAddDev()
364 (!hh_cb.devices[dev_handle].in_use)) in HID_HostRemoveDev()
368 hh_cb.devices[dev_handle].in_use = false; in HID_HostRemoveDev()
369 hh_cb.devices[dev_handle].conn.conn_state = HID_CONN_STATE_UNUSED; in HID_HostRemoveDev()
370 hh_cb.devices[dev_handle].conn.ctrl_cid = in HID_HostRemoveDev()
371 hh_cb.devices[dev_handle].conn.intr_cid = 0; in HID_HostRemoveDev()
372 hh_cb.devices[dev_handle].attr_mask = 0; in HID_HostRemoveDev()
390 (!hh_cb.devices[dev_handle].in_use)) in HID_HostOpenDev()
393 if (hh_cb.devices[dev_handle].state != HID_DEV_NO_CONN) in HID_HostOpenDev()
396 hh_cb.devices[dev_handle].conn_tries = 1; in HID_HostOpenDev()
422 (!hh_cb.devices[dev_handle].in_use)) { in HID_HostWriteDev()
427 else if (hh_cb.devices[dev_handle].state != HID_DEV_CONNECTED) { in HID_HostWriteDev()
454 (!hh_cb.devices[dev_handle].in_use)) in HID_HostCloseDev()
457 if (hh_cb.devices[dev_handle].state != HID_DEV_CONNECTED) in HID_HostCloseDev()
460 alarm_cancel(hh_cb.devices[dev_handle].conn.process_repage_timer); in HID_HostCloseDev()
461 hh_cb.devices[dev_handle].conn_tries = HID_HOST_MAX_CONN_RETRY + 1; in HID_HostCloseDev()