Home
last modified time | relevance | path

Searched refs:link_mode (Results 1 – 8 of 8) sorted by relevance

/linux-2.4.37.9/net/bluetooth/
Dhci_conn.c70 conn->link_mode = HCI_LM_MASTER; in hci_acl_connect()
84 if (lmp_rswitch_capable(hdev) && !(hdev->link_mode & HCI_LM_MASTER)) in hci_acl_connect()
300 if (conn->link_mode & HCI_LM_AUTH) in hci_conn_auth()
317 if (conn->link_mode & HCI_LM_ENCRYPT) in hci_conn_encrypt()
391 (ci + n)->link_mode = c->link_mode; in hci_get_conn_list()
427 ci.link_mode = conn->link_mode; in hci_get_conn_info()
Dhci_event.c107 conn->link_mode &= ~HCI_LM_MASTER; in hci_cc_link_policy()
109 conn->link_mode |= HCI_LM_MASTER; in hci_cc_link_policy()
333 conn->link_mode |= HCI_LM_MASTER; in hci_cs_create_conn()
482 int mask = hdev->link_mode; in hci_conn_request_evt()
547 conn->link_mode |= HCI_LM_AUTH; in hci_conn_complete_evt()
550 conn->link_mode |= HCI_LM_ENCRYPT; in hci_conn_complete_evt()
678 conn->link_mode &= ~HCI_LM_MASTER; in hci_role_change_evt()
680 conn->link_mode |= HCI_LM_MASTER; in hci_role_change_evt()
700 conn->link_mode |= HCI_LM_AUTH; in hci_auth_complete_evt()
738 conn->link_mode |= HCI_LM_ENCRYPT; in hci_encrypt_change_evt()
[all …]
Dl2cap.c328 pi->link_mode = l2cap_pi(parent)->link_mode; in l2cap_sock_init()
332 pi->link_mode = 0; in l2cap_sock_init()
707 l2cap_pi(sk)->link_mode = opt; in l2cap_sock_setsockopt()
744 if (put_user(l2cap_pi(sk)->link_mode, (__u32 *)optval)) in l2cap_sock_getsockopt()
981 if (l2cap_pi(sk)->link_mode & L2CAP_LM_RELIABLE) in l2cap_conn_unreliable()
1428 if (l2cap_pi(sk)->link_mode & L2CAP_LM_ENCRYPT) { in l2cap_connect_req()
1431 } else if (l2cap_pi(sk)->link_mode & L2CAP_LM_AUTH) { in l2cap_connect_req()
1875 lm1 |= (HCI_LM_ACCEPT | l2cap_pi(sk)->link_mode); in l2cap_connect_ind()
1878 lm2 |= (HCI_LM_ACCEPT | l2cap_pi(sk)->link_mode); in l2cap_connect_ind()
1935 (l2cap_pi(sk)->link_mode & L2CAP_LM_ENCRYPT)) { in l2cap_auth_cfm()
[all …]
Dhci_core.c693 hdev->link_mode = ((__u16) dr.dev_opt) & (HCI_LM_MASTER | HCI_LM_ACCEPT); in hci_dev_cmd()
777 di.link_mode = hdev->link_mode; in hci_get_dev_info()
822 hdev->link_mode = (HCI_LM_ACCEPT); in hci_register_dev()
/linux-2.4.37.9/drivers/net/
Dsungem.c86 MODULE_PARM(link_mode, "i");
87 MODULE_PARM_DESC(link_mode, "default link mode");
90 static int link_mode; variable
1126 int link_mode; in gem_read_mii_link_mode() local
1129 link_mode = ((val & MII_BCM5400_AUXSTATUS_LINKMODE_MASK) >> in gem_read_mii_link_mode()
1131 *fd = phy_BCM5400_link_table[link_mode][0]; in gem_read_mii_link_mode()
1132 *spd = phy_BCM5400_link_table[link_mode][2] ? in gem_read_mii_link_mode()
1134 (phy_BCM5400_link_table[link_mode][1] ? 100 : 10); in gem_read_mii_link_mode()
2982 if (link_mode >= 0 && link_mode <= 6) in gem_init_one()
2983 gp->link_cntl = link_modes[link_mode]; in gem_init_one()
/linux-2.4.37.9/include/net/bluetooth/
Dl2cap.h238 __u32 link_mode; member
Dhci_core.h74 __u16 link_mode; member
135 __u32 link_mode; member
Dhci.h740 __u32 link_mode; member
756 __u32 link_mode; member