• Home
  • Raw
  • Download

Lines Matching refs:cnt

3879 		int cnt, q;  in hci_low_sent()  local
3883 cnt = hdev->acl_cnt; in hci_low_sent()
3887 cnt = hdev->sco_cnt; in hci_low_sent()
3890 cnt = hdev->le_mtu ? hdev->le_cnt : hdev->acl_cnt; in hci_low_sent()
3893 cnt = 0; in hci_low_sent()
3897 q = cnt / num; in hci_low_sent()
3934 int cnt, q, conn_num = 0; in hci_chan_sent() local
3986 cnt = hdev->acl_cnt; in hci_chan_sent()
3989 cnt = hdev->block_cnt; in hci_chan_sent()
3993 cnt = hdev->sco_cnt; in hci_chan_sent()
3996 cnt = hdev->le_mtu ? hdev->le_cnt : hdev->acl_cnt; in hci_chan_sent()
3999 cnt = 0; in hci_chan_sent()
4003 q = cnt / num; in hci_chan_sent()
4065 static void __check_timeout(struct hci_dev *hdev, unsigned int cnt) in __check_timeout() argument
4070 if (!cnt && time_after(jiffies, hdev->acl_last_tx + in __check_timeout()
4078 unsigned int cnt = hdev->acl_cnt; in hci_sched_acl_pkt() local
4083 __check_timeout(hdev, cnt); in hci_sched_acl_pkt()
4110 if (cnt != hdev->acl_cnt) in hci_sched_acl_pkt()
4116 unsigned int cnt = hdev->block_cnt; in hci_sched_acl_blk() local
4122 __check_timeout(hdev, cnt); in hci_sched_acl_blk()
4164 if (cnt != hdev->block_cnt) in hci_sched_acl_blk()
4243 int quote, cnt, tmp; in hci_sched_le() local
4258 cnt = hdev->le_pkts ? hdev->le_cnt : hdev->acl_cnt; in hci_sched_le()
4259 tmp = cnt; in hci_sched_le()
4260 while (cnt && (chan = hci_chan_sent(hdev, LE_LINK, &quote))) { in hci_sched_le()
4275 cnt--; in hci_sched_le()
4282 hdev->le_cnt = cnt; in hci_sched_le()
4284 hdev->acl_cnt = cnt; in hci_sched_le()
4286 if (cnt != tmp) in hci_sched_le()