Home
last modified time | relevance | path

Searched refs:kdev (Results 1 – 7 of 7) sorted by relevance

/external/bluetooth/bluedroid/bta/hh/
Dbta_hh_utils.c71 if ((!bdcmp (bda, bta_hh_cb.kdev[xx].addr) && in bta_hh_find_cb()
76 bta_hh_cb.kdev[xx].hid_handle) in bta_hh_find_cb()
83 bta_hh_cb.kdev[xx].in_use, xx, in bta_hh_find_cb()
84 bta_hh_cb.kdev[xx].hid_handle, in bta_hh_find_cb()
85 bta_hh_cb.kdev[xx].state); in bta_hh_find_cb()
92 if (!bta_hh_cb.kdev[xx].in_use) in bta_hh_find_cb()
94 bdcpy(bta_hh_cb.kdev[xx].addr, bda); in bta_hh_find_cb()
418 if (memcmp(p_cb->kdev[i].addr, bd_addr, BD_ADDR_LEN) == 0) in bta_hh_read_ssr_param()
423 if (p_cb->kdev[i].dscp_info.ssr_max_latency == HID_SSR_PARAM_INVALID) in bta_hh_read_ssr_param()
427 BTM_GetLinkSuperTout(p_cb->kdev[i].addr, &ssr_max_latency) ; in bta_hh_read_ssr_param()
[all …]
Dbta_hh_act.c90 bta_hh_cb.kdev[xx].state = BTA_HH_IDLE_ST; in bta_hh_api_enable()
91 bta_hh_cb.kdev[xx].hid_handle = BTA_HH_INVALID_HANDLE; in bta_hh_api_enable()
92 bta_hh_cb.kdev[xx].index = xx; in bta_hh_api_enable()
140 if ( bta_hh_cb.kdev[xx].state == BTA_HH_CONN_ST ) in bta_hh_api_disable()
143 bta_hh_sm_execute(&bta_hh_cb.kdev[xx], in bta_hh_api_disable()
1223 if (bta_hh_cb.kdev[xx].hid_handle == dev_handle) in bta_hh_cback()
1225 bta_hh_cb.kdev[xx].vp = TRUE; in bta_hh_cback()
Dbta_hh_main.c467 (bta_hh_cb.kdev[index].in_use == FALSE)) { in bta_hh_hdl_event()
481 p_cb = &bta_hh_cb.kdev[index]; in bta_hh_hdl_event()
Dbta_hh_int.h306 tBTA_HH_DEV_CB kdev[BTA_HH_MAX_DEVICE]; /* device control block */ member
Dbta_hh_le.c400 tBTA_HH_DEV_CB *p_dev_cb = &bta_hh_cb.kdev[0]; in bta_hh_le_find_dev_cb_by_conn_id()
420 tBTA_HH_DEV_CB *p_dev_cb = &bta_hh_cb.kdev[0]; in bta_hh_le_find_dev_cb_by_bda()
1261 p_dev_cb = &bta_hh_cb.kdev[idx]; in bta_hh_le_encrypt_cback()
2950 p_cb = &bta_hh_cb.kdev[index]; in bta_hh_le_hid_read_rpt_clt_cfg()
/external/e2fsprogs/e2fsck/
Djournal.c68 struct buffer_head *getblk(kdev_t kdev, blk64_t blocknr, int blocksize) in getblk() argument
71 int bufsize = sizeof(*bh) + kdev->k_ctx->fs->blocksize - in getblk()
74 bh = e2fsck_allocate_memory(kdev->k_ctx, bufsize, "block buffer"); in getblk()
85 bh->b_ctx = kdev->k_ctx; in getblk()
86 if (kdev->k_dev == K_DEV_FS) in getblk()
87 bh->b_io = kdev->k_ctx->fs->io; in getblk()
89 bh->b_io = kdev->k_ctx->journal_io; in getblk()
96 void sync_blockdev(kdev_t kdev) in sync_blockdev() argument
100 if (kdev->k_dev == K_DEV_FS) in sync_blockdev()
101 io = kdev->k_ctx->fs->io; in sync_blockdev()
[all …]
Djfs_user.h139 void sync_blockdev(kdev_t kdev);