Home
last modified time | relevance | path

Searched refs:link_policy (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/include/net/bluetooth/
H A Dhci_sock.h120 __u32 link_policy; member
H A Dhci_core.h448 __u16 link_policy; member
684 __u16 link_policy; member
/openbmc/linux/net/bluetooth/
H A Dhci_sync.c4108 u16 link_policy = 0; in hci_setup_link_policy_sync() local
4116 link_policy |= HCI_LP_RSWITCH; in hci_setup_link_policy_sync()
4118 link_policy |= HCI_LP_HOLD; in hci_setup_link_policy_sync()
4120 link_policy |= HCI_LP_SNIFF; in hci_setup_link_policy_sync()
4122 link_policy |= HCI_LP_PARK; in hci_setup_link_policy_sync()
4124 cp.policy = cpu_to_le16(link_policy); in hci_setup_link_policy_sync()
6782 conn->link_policy = hdev->link_policy; in hci_acl_create_conn_sync()
H A Dhci_event.c201 conn->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_link_policy()
228 conn->link_policy = get_unaligned_le16(sent + 2); in hci_cc_write_link_policy()
245 hdev->link_policy = __le16_to_cpu(rp->policy); in hci_cc_read_def_link_policy()
265 hdev->link_policy = get_unaligned_le16(sent); in hci_cc_write_def_link_policy()
H A Dhci_core.c878 di.link_policy = hdev->link_policy; in hci_get_dev_info()
H A Dhci_conn.c595 if (conn->mode != HCI_CM_ACTIVE || !(conn->link_policy & HCI_LP_SNIFF)) in hci_conn_idle()