Lines Matching refs:phy_params
567 struct hci_cp_le_scan_phy_params *phy_params; in hci_req_start_scan() local
568 u8 data[sizeof(*ext_param_cp) + sizeof(*phy_params) * 2]; in hci_req_start_scan()
572 phy_params = (void *)ext_param_cp->data; in hci_req_start_scan()
583 memset(phy_params, 0, sizeof(*phy_params)); in hci_req_start_scan()
584 phy_params->type = type; in hci_req_start_scan()
585 phy_params->interval = cpu_to_le16(interval); in hci_req_start_scan()
586 phy_params->window = cpu_to_le16(window); in hci_req_start_scan()
588 plen += sizeof(*phy_params); in hci_req_start_scan()
589 phy_params++; in hci_req_start_scan()
595 memset(phy_params, 0, sizeof(*phy_params)); in hci_req_start_scan()
596 phy_params->type = type; in hci_req_start_scan()
597 phy_params->interval = cpu_to_le16(interval); in hci_req_start_scan()
598 phy_params->window = cpu_to_le16(window); in hci_req_start_scan()
600 plen += sizeof(*phy_params); in hci_req_start_scan()
601 phy_params++; in hci_req_start_scan()