Lines Matching refs:header
368 pc_header_t header = PB_MSG_DISCONNECT; in pb_phy_disconnect_devices() local
371 write(this->ff_ptd[d], &header, sizeof(header)); in pb_phy_disconnect_devices()
423 pc_header_t header = PB_MSG_WAIT_END; in pb_phy_resp_wait() local
424 write(this->ff_ptd[d], &header, sizeof(header)); in pb_phy_resp_wait()
432 pc_header_t header = PB_MSG_DISCONNECT; in pb_phy_get_next_request() local
435 int n = read(this->ff_dtp[d], &header, sizeof(header)); in pb_phy_get_next_request()
436 if (n < sizeof(header)) { in pb_phy_get_next_request()
440 if ((header == PB_MSG_DISCONNECT) || (header == PB_MSG_TERMINATE)) { in pb_phy_get_next_request()
445 return header; in pb_phy_get_next_request()
527 pc_header_t header = PB_MSG_TERMINATE; in pb_dev_terminate() local
529 write(this->ff_dtp, &header, sizeof(header)); in pb_dev_terminate()
539 pc_header_t header = PB_MSG_DISCONNECT; in pb_dev_disconnect() local
541 write(this->ff_dtp, &header, sizeof(header)); in pb_dev_disconnect()
624 pc_header_t header = PB_MSG_DISCONNECT; in pb_dev_pick_wait_resp() local
626 if (pb_dev_read(this, &header, sizeof(header)) == -1) { in pb_dev_pick_wait_resp()
630 if (header == PB_MSG_DISCONNECT) { in pb_dev_pick_wait_resp()
633 } else if (header == PB_MSG_WAIT_END) { in pb_dev_pick_wait_resp()
636 INVALID_RESP(header); in pb_dev_pick_wait_resp()