Lines Matching refs:phy_params
797 struct hci_cp_le_scan_phy_params *phy_params; in hci_req_start_scan() local
798 u8 data[sizeof(*ext_param_cp) + sizeof(*phy_params) * 2]; in hci_req_start_scan()
802 phy_params = (void *)ext_param_cp->data; in hci_req_start_scan()
813 memset(phy_params, 0, sizeof(*phy_params)); in hci_req_start_scan()
814 phy_params->type = type; in hci_req_start_scan()
815 phy_params->interval = cpu_to_le16(interval); in hci_req_start_scan()
816 phy_params->window = cpu_to_le16(window); in hci_req_start_scan()
818 plen += sizeof(*phy_params); in hci_req_start_scan()
819 phy_params++; in hci_req_start_scan()
825 memset(phy_params, 0, sizeof(*phy_params)); in hci_req_start_scan()
826 phy_params->type = type; in hci_req_start_scan()
827 phy_params->interval = cpu_to_le16(interval); in hci_req_start_scan()
828 phy_params->window = cpu_to_le16(window); in hci_req_start_scan()
830 plen += sizeof(*phy_params); in hci_req_start_scan()
831 phy_params++; in hci_req_start_scan()