Lines Matching refs:p_cfg
58 static void hidh_l2cif_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg);
59 static void hidh_l2cif_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg);
457 static void hidh_l2cif_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { in hidh_l2cif_config_ind() argument
477 if ((!p_cfg->mtu_present) || (p_cfg->mtu > HID_HOST_MTU)) in hidh_l2cif_config_ind()
480 p_hcon->rem_mtu_size = p_cfg->mtu; in hidh_l2cif_config_ind()
483 p_cfg->flush_to_present = false; in hidh_l2cif_config_ind()
484 p_cfg->mtu_present = false; in hidh_l2cif_config_ind()
485 p_cfg->result = L2CAP_CFG_OK; in hidh_l2cif_config_ind()
487 L2CA_ConfigRsp(l2cap_cid, p_cfg); in hidh_l2cif_config_ind()
542 static void hidh_l2cif_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { in hidh_l2cif_config_cfm() argument
548 p_cfg->result); in hidh_l2cif_config_cfm()
561 if (p_cfg->result != L2CAP_CFG_OK) { in hidh_l2cif_config_cfm()
563 reason = HID_L2CAP_CFG_FAIL | (uint32_t)p_cfg->result; in hidh_l2cif_config_cfm()