Lines Matching refs:b91
110 struct b91_data *b91 = dev->data; in b91_get_mac() local
113 sys_rand_get(b91->mac_addr, sizeof(b91->mac_addr)); in b91_get_mac()
120 b91->mac_addr[0] = (b91->mac_addr[0] & ~0x01) | 0x02; in b91_get_mac()
123 b91->mac_addr[0] = 0xC4; in b91_get_mac()
124 b91->mac_addr[1] = 0x19; in b91_get_mac()
125 b91->mac_addr[2] = 0xD1; in b91_get_mac()
126 b91->mac_addr[3] = 0x00; in b91_get_mac()
129 b91->mac_addr[4] = CONFIG_IEEE802154_B91_MAC4; in b91_get_mac()
130 b91->mac_addr[5] = CONFIG_IEEE802154_B91_MAC5; in b91_get_mac()
131 b91->mac_addr[6] = CONFIG_IEEE802154_B91_MAC6; in b91_get_mac()
132 b91->mac_addr[7] = CONFIG_IEEE802154_B91_MAC7; in b91_get_mac()
135 return b91->mac_addr; in b91_get_mac()
368 struct b91_data *b91 = dev->data; in b91_init() local
371 k_sem_init(&b91->tx_wait, 0, 1); in b91_init()
372 k_sem_init(&b91->ack_wait, 0, 1); in b91_init()
399 struct b91_data *b91 = dev->data; in b91_iface_init() local
404 b91->iface = iface; in b91_iface_init()
536 struct b91_data *b91 = dev->data; in b91_tx() local
551 k_sem_reset(&b91->tx_wait); in b91_tx()
552 k_sem_reset(&b91->ack_wait); in b91_tx()
560 status = k_sem_take(&b91->tx_wait, K_MSEC(B91_TX_WAIT_TIME_MS)); in b91_tx()
569 status = k_sem_take(&b91->ack_wait, K_MSEC(B91_ACK_WAIT_TIME_MS)); in b91_tx()