Lines Matching refs:chan_opt
94 enum bt_att_chan_opt chan_opt; member
425 static bool att_chan_matches_chan_opt(struct bt_att_chan *chan, enum bt_att_chan_opt chan_opt) in att_chan_matches_chan_opt() argument
427 __ASSERT_NO_MSG(chan_opt <= BT_ATT_CHAN_OPT_ENHANCED_ONLY); in att_chan_matches_chan_opt()
429 if (chan_opt == BT_ATT_CHAN_OPT_NONE) { in att_chan_matches_chan_opt()
434 return (chan_opt & BT_ATT_CHAN_OPT_ENHANCED_ONLY); in att_chan_matches_chan_opt()
436 return (chan_opt & BT_ATT_CHAN_OPT_UNENHANCED_ONLY); in att_chan_matches_chan_opt()
453 att_chan_matches_chan_opt(chan, meta->chan_opt)) { in get_first_buf_matching_chan()
482 if (att_chan_matches_chan_opt(chan, meta->chan_opt)) { in get_first_req_matching_chan()
742 !att_chan_matches_chan_opt(chan, bt_att_get_tx_meta_data(buf)->chan_opt)) { in bt_att_chan_send()
4103 enum bt_att_chan_opt chan_opt) in bt_att_set_tx_meta_data() argument
4110 data->chan_opt = chan_opt; in bt_att_set_tx_meta_data()
4121 const void *user_data, enum bt_att_chan_opt chan_opt) in bt_att_tx_meta_data_match() argument
4127 (meta->chan_opt == chan_opt)); in bt_att_tx_meta_data_match()
4130 bool bt_att_chan_opt_valid(struct bt_conn *conn, enum bt_att_chan_opt chan_opt) in bt_att_chan_opt_valid() argument
4132 if ((chan_opt & (BT_ATT_CHAN_OPT_ENHANCED_ONLY | BT_ATT_CHAN_OPT_UNENHANCED_ONLY)) == in bt_att_chan_opt_valid()
4139 if (chan_opt & BT_ATT_CHAN_OPT_ENHANCED_ONLY) { in bt_att_chan_opt_valid()