Lines Matching refs:phy_packet

200 	struct fw_cdev_event_phy_packet phy_packet;  member
205 struct fw_cdev_event_phy_packet phy_packet; member
1486 case ACK_COMPLETE: e->phy_packet.rcode = RCODE_COMPLETE; break; in outbound_phy_packet_callback()
1488 case ACK_PENDING: e->phy_packet.rcode = RCODE_COMPLETE; break; in outbound_phy_packet_callback()
1491 case ACK_BUSY_B: e->phy_packet.rcode = RCODE_BUSY; break; in outbound_phy_packet_callback()
1492 case ACK_DATA_ERROR: e->phy_packet.rcode = RCODE_DATA_ERROR; break; in outbound_phy_packet_callback()
1493 case ACK_TYPE_ERROR: e->phy_packet.rcode = RCODE_TYPE_ERROR; break; in outbound_phy_packet_callback()
1495 default: e->phy_packet.rcode = status; break; in outbound_phy_packet_callback()
1497 e->phy_packet.data[0] = packet->timestamp; in outbound_phy_packet_callback()
1499 queue_event(e->client, &e->event, &e->phy_packet, in outbound_phy_packet_callback()
1500 sizeof(e->phy_packet) + e->phy_packet.length, NULL, 0); in outbound_phy_packet_callback()
1527 e->phy_packet.closure = a->closure; in ioctl_send_phy_packet()
1528 e->phy_packet.type = FW_CDEV_EVENT_PHY_PACKET_SENT; in ioctl_send_phy_packet()
1530 e->phy_packet.length = 4; in ioctl_send_phy_packet()
1569 e->phy_packet.closure = client->phy_receiver_closure; in fw_cdev_handle_phy_packet()
1570 e->phy_packet.type = FW_CDEV_EVENT_PHY_PACKET_RECEIVED; in fw_cdev_handle_phy_packet()
1571 e->phy_packet.rcode = RCODE_COMPLETE; in fw_cdev_handle_phy_packet()
1572 e->phy_packet.length = 8; in fw_cdev_handle_phy_packet()
1573 e->phy_packet.data[0] = p->header[1]; in fw_cdev_handle_phy_packet()
1574 e->phy_packet.data[1] = p->header[2]; in fw_cdev_handle_phy_packet()
1576 &e->phy_packet, sizeof(e->phy_packet) + 8, NULL, 0); in fw_cdev_handle_phy_packet()