Lines Matching refs:direction
40 if (brg_tbl[k].direction != 0) { in brg_tbl_compact()
179 brg_tbl[i].direction = 0; in brg_tbl_netkey_removed_evt()
236 int bt_mesh_brg_cfg_tbl_add(uint8_t direction, uint16_t net_idx1, uint16_t net_idx2, uint16_t addr1, in bt_mesh_brg_cfg_tbl_add() argument
245 if (direction != BT_MESH_BRG_CFG_DIR_ONEWAY && direction != BT_MESH_BRG_CFG_DIR_TWOWAY) { in bt_mesh_brg_cfg_tbl_add()
249 if ((direction == BT_MESH_BRG_CFG_DIR_ONEWAY && in bt_mesh_brg_cfg_tbl_add()
251 (direction == BT_MESH_BRG_CFG_DIR_TWOWAY && !BT_MESH_ADDR_IS_UNICAST(addr2))) { in bt_mesh_brg_cfg_tbl_add()
269 brg_tbl[i].direction = direction; in bt_mesh_brg_cfg_tbl_add()
281 brg_tbl[bt_mesh_brg_cfg_row_cnt].direction = direction; in bt_mesh_brg_cfg_tbl_add()
302 if ((brg_tbl[i].direction == BT_MESH_BRG_CFG_DIR_ONEWAY || in bt_mesh_brg_cfg_tbl_foreach_subnet()
303 brg_tbl[i].direction == BT_MESH_BRG_CFG_DIR_TWOWAY) && in bt_mesh_brg_cfg_tbl_foreach_subnet()
307 } else if ((brg_tbl[i].direction == BT_MESH_BRG_CFG_DIR_TWOWAY && in bt_mesh_brg_cfg_tbl_foreach_subnet()
354 brg_tbl[i].direction = 0; in bt_mesh_brg_cfg_tbl_remove()