Lines Matching refs:PARAM
1486 #define PARAM(cmd, param) (((cmd##_cp *) data)->param)
1487 #define PARAM16(cmd, param) le16_to_cpup(&PARAM(cmd, param))
1488 #define PARAMHANDLE(cmd) HNDL(PARAM(cmd, handle))
1496 if (PARAM(inquiry, length) < 1) {
1503 hci->lm.responses_left = PARAM(inquiry, num_rsp) ?: INT_MAX;
1506 bt_hci_inquiry_start(hci, PARAM(inquiry, length));
1528 if (!(PARAM(periodic_inquiry, length) <
1532 PARAM(periodic_inquiry, length) < 1 ||
1541 hci->lm.responses_left = PARAM(periodic_inquiry, num_rsp);
1545 bt_hci_inquiry_start(hci, PARAM(periodic_inquiry, length));
1573 if (bt_hci_connect(hci, &PARAM(create_conn, bdaddr)))
1574 bt_hci_connection_reject_event(hci, &PARAM(create_conn, bdaddr));
1587 PARAM(disconnect, reason));
1594 &PARAM(create_conn_cancel, bdaddr))) {
1598 &PARAM(create_conn_cancel, bdaddr)))
1603 &PARAM(create_conn_cancel, bdaddr));
1606 &PARAM(create_conn_cancel, bdaddr));
1613 bacmp(&PARAM(accept_conn_req, bdaddr),
1628 bacmp(&PARAM(reject_conn_req, bdaddr),
1636 PARAM
1661 PARAM(set_conn_encrypt, encrypt));
1668 if (bt_hci_name_req(hci, &PARAM(remote_name_req, bdaddr)))
1676 &PARAM(remote_name_req_cancel, bdaddr));
1780 memcpy(hci->event_mask, PARAM(set_event_mask, mask), 8);
1790 if (length >= 1 && PARAM(set_event_flt, flt_type) == FLT_CLEAR_ALL)
1808 &PARAM(flush, handle),
1820 hci->device.lmp_name = qemu_strndup(PARAM(change_local_name, name),
1821 sizeof(PARAM(change_local_name, name)));
1856 !!(PARAM(write_scan_enable, scan_enable) & SCAN_INQUIRY);
1858 !!(PARAM(write_scan_enable, scan_enable) & SCAN_PAGE);
1869 memcpy(hci->device.class, PARAM(write_class_of_dev, dev_class),
1870 sizeof(PARAM(write_class_of_dev, dev_class)));
1881 hci->voice_setting = PARAM(write_voice_setting, voice_setting);
1908 if (PARAM(write_inquiry_mode, mode) > 0x01) {
1913 hci->lm.inquiry_mode = PARAM(write_inquiry_mode, mode);
1933 PARAM(read_local_ext_features, page_num));