mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-16 06:48:13 +07:00
53c96b4174
Based on patch "the scheduled removal of RAW1394_REQ_ISO_{SEND,LISTEN}" from Adrian Bunk, November 20 2006. This patch also removes the underlying facilities in ohci1394 and disables them in pcilynx. That is, hpsb_host_driver.devctl() and hpsb_host_driver.transmit_packet() are no longer used for iso reception and transmission. Since video1394 and dv1394 only work with ohci1394 and raw1394's rawiso interface has never been implemented in pcilynx, pcilynx is now no longer useful for isochronous applications. raw1394 will still handle the request types but will complete the requests with errors that indicate API version conflicts. Signed-off-by: Stefan Richter <stefanr@s5r6.in-berlin.de>
39 lines
1.5 KiB
C
39 lines
1.5 KiB
C
#ifndef _IEEE1394_TRANSACTIONS_H
|
|
#define _IEEE1394_TRANSACTIONS_H
|
|
|
|
#include <linux/types.h>
|
|
|
|
#include "ieee1394_types.h"
|
|
|
|
struct hpsb_packet;
|
|
struct hpsb_host;
|
|
|
|
int hpsb_get_tlabel(struct hpsb_packet *packet);
|
|
void hpsb_free_tlabel(struct hpsb_packet *packet);
|
|
struct hpsb_packet *hpsb_make_readpacket(struct hpsb_host *host, nodeid_t node,
|
|
u64 addr, size_t length);
|
|
struct hpsb_packet *hpsb_make_lockpacket(struct hpsb_host *host, nodeid_t node,
|
|
u64 addr, int extcode, quadlet_t *data,
|
|
quadlet_t arg);
|
|
struct hpsb_packet *hpsb_make_lock64packet(struct hpsb_host *host,
|
|
nodeid_t node, u64 addr, int extcode,
|
|
octlet_t *data, octlet_t arg);
|
|
struct hpsb_packet *hpsb_make_phypacket(struct hpsb_host *host, quadlet_t data);
|
|
struct hpsb_packet *hpsb_make_writepacket(struct hpsb_host *host,
|
|
nodeid_t node, u64 addr,
|
|
quadlet_t *buffer, size_t length);
|
|
struct hpsb_packet *hpsb_make_streampacket(struct hpsb_host *host, u8 *buffer,
|
|
int length, int channel, int tag,
|
|
int sync);
|
|
int hpsb_packet_success(struct hpsb_packet *packet);
|
|
int hpsb_read(struct hpsb_host *host, nodeid_t node, unsigned int generation,
|
|
u64 addr, quadlet_t *buffer, size_t length);
|
|
int hpsb_write(struct hpsb_host *host, nodeid_t node, unsigned int generation,
|
|
u64 addr, quadlet_t *buffer, size_t length);
|
|
|
|
#ifdef HPSB_DEBUG_TLABELS
|
|
extern spinlock_t hpsb_tlabel_lock;
|
|
#endif
|
|
|
|
#endif /* _IEEE1394_TRANSACTIONS_H */
|