Searched refs:tcode (Results 1 - 16 of 16) sorted by relevance

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/firewire/
H A Dfw-transaction.h30 #define TCODE_IS_READ_REQUEST(tcode) (((tcode) & ~1) == 4)
31 #define TCODE_IS_BLOCK_PACKET(tcode) (((tcode) & 1) != 0)
32 #define TCODE_IS_REQUEST(tcode) (((tcode) & 2) == 0)
33 #define TCODE_IS_RESPONSE(tcode) (((tcode) & 2) != 0)
34 #define TCODE_HAS_REQUEST_DATA(tcode) (((tcode)
[all...]
H A Dfw-transaction.c38 #define HEADER_TCODE(tcode) ((tcode) << 4)
46 #define HEADER_EXTENDED_TCODE(tcode) ((tcode) << 0)
149 fw_fill_request(struct fw_packet *packet, int tcode, int tlabel, argument
155 if (tcode > 0x10) {
156 ext_tcode = tcode - 0x10;
157 tcode = TCODE_LOCK_REQUEST;
164 HEADER_TCODE(tcode) |
171 switch (tcode) {
208 fw_send_request(struct fw_card *card, struct fw_transaction *t, int tcode, int node_id, int generation, int speed, unsigned long long offset, void *payload, size_t length, fw_transaction_callback_t callback, void *callback_data) argument
450 int tcode, tlabel, extended_tcode, source, destination; local
593 int tcode, destination, source; local
638 int tcode, tlabel, destination, source, rcode; local
695 handle_topology_map(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, int speed, unsigned long long offset, void *payload, size_t length, void *callback_data) argument
733 handle_registers(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, int speed, unsigned long long offset, void *payload, size_t length, void *callback_data) argument
[all...]
H A Dfw-ohci.c285 u32 status, length, tcode; local
291 tcode = (p.header[0] >> 4) & 0x0f;
292 switch (tcode) {
609 int z, tcode; local
636 tcode = (packet->header[0] >> 4) & 0x0f;
637 if (TCODE_IS_BLOCK_PACKET(tcode))
772 int tcode, length, i; local
774 tcode = HEADER_GET_TCODE(packet->header[0]);
775 if (TCODE_IS_BLOCK_PACKET(tcode))
784 } else if (!TCODE_IS_READ_REQUEST(tcode)) {
799 int tcode, length, ext_tcode, sel; local
[all...]
H A Dfw-cdev.c397 request->tcode & 0x1f,
443 int tcode, int destination, int source,
470 e->request.tcode = tcode;
442 handle_request(struct fw_card *card, struct fw_request *r, int tcode, int destination, int source, int generation, int speed, unsigned long long offset, void *payload, size_t length, void *callback_data) argument
H A Dfw-sbp2.c270 int tcode, int destination, int source,
281 if (tcode != TCODE_WRITE_BLOCK_REQUEST ||
269 sbp2_status_write(struct fw_card *card, struct fw_request *request, int tcode, int destination, int source, int generation, int speed, unsigned long long offset, void *payload, size_t length, void *callback_data) argument
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/drivers/ieee1394/
H A Dieee1394_transactions.c31 packet->tcode = tc; \
101 packet->tcode = TCODE_ISO_DATA;
124 packet->tcode = TCODE_ISO_DATA;
261 if (packet->tcode == TCODE_WRITEQ
262 || packet->tcode == TCODE_WRITEB) {
266 "(tcode %d)", packet->node_id, packet->tcode);
271 if (packet->tcode == TCODE_WRITEB
272 || packet->tcode == TCODE_LOCK_REQUEST) {
276 "(tcode
[all...]
H A Dieee1394_core.c693 size_t buffer_size, int tcode)
701 HPSB_ERR("unexpected packet size %zd (tcode %d), bug?",
702 packet_size, tcode);
706 static void handle_packet_response(struct hpsb_host *host, int tcode, argument
728 switch (packet->tcode) {
731 if (unlikely(tcode != TCODE_WRITE_RESPONSE))
738 if (unlikely(tcode != TCODE_READQ_RESPONSE))
745 if (unlikely(tcode != TCODE_READB_RESPONSE))
750 tcode);
754 if (unlikely(tcode !
692 packet_size_to_data_size(size_t packet_size, size_t header_size, size_t buffer_size, int tcode) argument
861 handle_incoming_packet(struct hpsb_host *host, int tcode, quadlet_t *data, size_t size, int write_acked) argument
1001 int tcode; local
[all...]
H A Draw1394.h104 __u8 tcode; member in struct:arm_request
H A Dieee1394_core.h43 unsigned char tcode; member in struct:hpsb_packet
H A Dohci1394.c199 static inline void header_le32_to_cpu(quadlet_t *data, unsigned char tcode) argument
203 if (unlikely(tcode >= ARRAY_SIZE(hdr_sizes)))
206 size = hdr_sizes[tcode];
646 ", tlabel=%d, tcode=0x%x, speed=%d",
648 packet->tcode, packet->speed_code);
678 if (packet->tcode == TCODE_ISO_DATA) {
689 header_le32_to_cpu(d->prg_cpu[idx]->data, packet->tcode);
693 if (packet->tcode == TCODE_STREAM_DATA){
747 header_le32_to_cpu(d->prg_cpu[idx]->data, packet->tcode);
865 else if ((packet->tcode
2567 packet_length(struct dma_rcv_ctx *d, int idx, quadlet_t *buf_ptr, int offset, unsigned char tcode, int noswap) argument
2601 unsigned char tcode; local
[all...]
H A Deth1394.c1422 p->tcode = TCODE_WRITEB;
1441 p->tcode = TCODE_STREAM_DATA;
1460 if (packet->tcode != TCODE_STREAM_DATA)
1530 if (packet->tcode != TCODE_STREAM_DATA)
H A Draw1394.c968 packet->tcode = (packet->header[0] >> 4) & 0xf;
1134 arm_req->tcode = (flags >> 4) & 0x0f;
1267 arm_req->tcode = (flags >> 4) & 0x0f;
1476 arm_req->tcode = (flags >> 4) & 0x0f;
1704 arm_req->tcode = (flags >> 4) & 0x0f;
H A Dpcilynx.c481 if (packet->tcode == TCODE_WRITEQ
482 || packet->tcode == TCODE_READQ_RESPONSE) {
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/linux/
H A Dfirewire-cdev.h65 __u32 tcode; member in struct:fw_cdev_event_request
138 __u32 tcode; member in struct:fw_cdev_send_request
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/mips/kernel/
H A Dtraps.c696 unsigned int opcode, tcode = 0; local
704 tcode = ((opcode >> 6) & ((1 << 10) - 1));
712 switch (tcode) {
716 if (tcode == BRK_DIVZERO)
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/ap/gpl/minidlna/ffmpeg-0.5.1/libavcodec/
H A Dh263.c1781 int tcode; local
1801 tcode = (sval & (1 << (i-1))) >> (i-1);
1802 tcode = (tcode << 1) | 1;
1803 code = (code << 2) | tcode;

Completed in 217 milliseconds