Lines Matching refs:hid_type

404     const u8 hid_type = data[0];  in ExecuteL2capCmd()  local
405 if (hid_type == ((WiimoteCommon::HID_TYPE_SET_REPORT << 4) | WiimoteCommon::HID_PARAM_OUTPUT)) in ExecuteL2capCmd()
410 u8 hid_type; in ExecuteL2capCmd() member
413 static_assert(sizeof(data_frame) == sizeof(data_frame.hid_type) + sizeof(l2cap_hdr_t)); in ExecuteL2capCmd()
416 data_frame.header.length = sizeof(data_frame.hid_type); in ExecuteL2capCmd()
417 data_frame.hid_type = WiimoteCommon::HID_HANDSHAKE_SUCCESS; in ExecuteL2capCmd()
422 m_hid_source->InterruptDataOutput(data + sizeof(hid_type), data_size - sizeof(hid_type)); in ExecuteL2capCmd()
426 ERROR_LOG(IOS_WIIMOTE, "Unknown HID-type (0x%x) on L2CAP_PSM_HID_CNTL", hid_type); in ExecuteL2capCmd()
433 const u8 hid_type = data[0]; in ExecuteL2capCmd() local
434 if (hid_type == ((WiimoteCommon::HID_TYPE_DATA << 4) | WiimoteCommon::HID_PARAM_OUTPUT)) in ExecuteL2capCmd()
435 m_hid_source->InterruptDataOutput(data + sizeof(hid_type), data_size - sizeof(hid_type)); in ExecuteL2capCmd()
437 ERROR_LOG(IOS_WIIMOTE, "Unknown HID-type (0x%x) on L2CAP_PSM_HID_INTR", hid_type); in ExecuteL2capCmd()
948 void WiimoteDevice::InterruptDataInputCallback(u8 hid_type, const u8* data, u32 size) in InterruptDataInputCallback() argument
961 u8 hid_type; in InterruptDataInputCallback() member
962 std::array<u8, WiimoteCommon::MAX_PAYLOAD - sizeof(hid_type)> data; in InterruptDataInputCallback()
968 data_frame.header.length = u16(sizeof(hid_type) + size); in InterruptDataInputCallback()
969 data_frame.hid_type = hid_type; in InterruptDataInputCallback()