Lines Matching refs:phy_packet
213 struct fw_cdev_event_phy_packet phy_packet; member
218 struct fw_cdev_event_phy_packet phy_packet; member
1501 case ACK_COMPLETE: e->phy_packet.rcode = RCODE_COMPLETE; break; in outbound_phy_packet_callback()
1503 case ACK_PENDING: e->phy_packet.rcode = RCODE_COMPLETE; break; in outbound_phy_packet_callback()
1506 case ACK_BUSY_B: e->phy_packet.rcode = RCODE_BUSY; break; in outbound_phy_packet_callback()
1507 case ACK_DATA_ERROR: e->phy_packet.rcode = RCODE_DATA_ERROR; break; in outbound_phy_packet_callback()
1508 case ACK_TYPE_ERROR: e->phy_packet.rcode = RCODE_TYPE_ERROR; break; in outbound_phy_packet_callback()
1510 default: e->phy_packet.rcode = status; break; in outbound_phy_packet_callback()
1512 e->phy_packet.data[0] = packet->timestamp; in outbound_phy_packet_callback()
1514 queue_event(e->client, &e->event, &e->phy_packet, in outbound_phy_packet_callback()
1515 sizeof(e->phy_packet) + e->phy_packet.length, NULL, 0); in outbound_phy_packet_callback()
1542 e->phy_packet.closure = a->closure; in ioctl_send_phy_packet()
1543 e->phy_packet.type = FW_CDEV_EVENT_PHY_PACKET_SENT; in ioctl_send_phy_packet()
1545 e->phy_packet.length = 4; in ioctl_send_phy_packet()
1584 e->phy_packet.closure = client->phy_receiver_closure; in fw_cdev_handle_phy_packet()
1585 e->phy_packet.type = FW_CDEV_EVENT_PHY_PACKET_RECEIVED; in fw_cdev_handle_phy_packet()
1586 e->phy_packet.rcode = RCODE_COMPLETE; in fw_cdev_handle_phy_packet()
1587 e->phy_packet.length = 8; in fw_cdev_handle_phy_packet()
1588 e->phy_packet.data[0] = p->header[1]; in fw_cdev_handle_phy_packet()
1589 e->phy_packet.data[1] = p->header[2]; in fw_cdev_handle_phy_packet()
1591 &e->phy_packet, sizeof(e->phy_packet) + 8, NULL, 0); in fw_cdev_handle_phy_packet()