Lines Matching refs:dr
1917 struct hci_dev_req dr; in hci_dev_cmd() local
1920 if (copy_from_user(&dr, arg, sizeof(dr))) in hci_dev_cmd()
1923 hdev = hci_dev_get(dr.dev_id); in hci_dev_cmd()
1949 err = hci_req_sync(hdev, hci_auth_req, dr.dev_opt, in hci_dev_cmd()
1961 err = hci_req_sync(hdev, hci_auth_req, dr.dev_opt, in hci_dev_cmd()
1967 err = hci_req_sync(hdev, hci_encrypt_req, dr.dev_opt, in hci_dev_cmd()
1972 err = hci_req_sync(hdev, hci_scan_req, dr.dev_opt, in hci_dev_cmd()
1979 hci_update_scan_state(hdev, dr.dev_opt); in hci_dev_cmd()
1983 err = hci_req_sync(hdev, hci_linkpol_req, dr.dev_opt, in hci_dev_cmd()
1988 hdev->link_mode = ((__u16) dr.dev_opt) & in hci_dev_cmd()
1993 hdev->pkt_type = (__u16) dr.dev_opt; in hci_dev_cmd()
1997 hdev->acl_mtu = *((__u16 *) &dr.dev_opt + 1); in hci_dev_cmd()
1998 hdev->acl_pkts = *((__u16 *) &dr.dev_opt + 0); in hci_dev_cmd()
2002 hdev->sco_mtu = *((__u16 *) &dr.dev_opt + 1); in hci_dev_cmd()
2003 hdev->sco_pkts = *((__u16 *) &dr.dev_opt + 0); in hci_dev_cmd()
2020 struct hci_dev_req *dr; in hci_get_dev_list() local
2027 if (!dev_num || dev_num > (PAGE_SIZE * 2) / sizeof(*dr)) in hci_get_dev_list()
2030 size = sizeof(*dl) + dev_num * sizeof(*dr); in hci_get_dev_list()
2036 dr = dl->dev_req; in hci_get_dev_list()
2049 (dr + n)->dev_id = hdev->id; in hci_get_dev_list()
2050 (dr + n)->dev_opt = flags; in hci_get_dev_list()
2058 size = sizeof(*dl) + n * sizeof(*dr); in hci_get_dev_list()