Home
last modified time | relevance | path

Searched refs:cmd_desc (Results 1 – 8 of 8) sorted by relevance

/drivers/net/ethernet/3com/
Dtyphoon.h317 struct cmd_desc { struct
365 do { struct cmd_desc *_ptr = (x); \ argument
366 memset(_ptr, 0, sizeof(struct cmd_desc)); \
373 do { struct cmd_desc *_ptr = (x); \
374 memset(_ptr, 0, sizeof(struct cmd_desc)); \
Dtyphoon.c81 #define COMMAND_RING_SIZE (COMMAND_ENTRIES * sizeof(struct cmd_desc))
248 struct cmd_desc cmd[COMMAND_ENTRIES] __3xp_aligned;
342 *index += count * sizeof(struct cmd_desc); in typhoon_inc_index()
343 *index %= num_entries * sizeof(struct cmd_desc); in typhoon_inc_index()
464 struct cmd_desc *cmd; in typhoon_hello()
471 cmd = (struct cmd_desc *)(ring->ringBase + ring->lastWrite); in typhoon_hello()
546 lastWrite /= sizeof(struct cmd_desc); in typhoon_num_free()
547 lastRead /= sizeof(struct cmd_desc); in typhoon_num_free()
577 typhoon_issue_command(struct typhoon *tp, int num_cmd, struct cmd_desc *cmd, in typhoon_issue_command()
620 struct cmd_desc *wrap_ptr = cmd; in typhoon_issue_command()
[all …]
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic.h311 #define netxen_set_tx_vlan_tci(cmd_desc, v) \ argument
312 (cmd_desc)->vlan_TCI = cpu_to_le16(v);
314 #define netxen_set_cmd_desc_port(cmd_desc, var) \ argument
315 ((cmd_desc)->port_ctxid |= ((var) & 0x0F))
316 #define netxen_set_cmd_desc_ctxid(cmd_desc, var) \ argument
317 ((cmd_desc)->port_ctxid |= ((var) << 4 & 0xF0))
Dnetxen_nic_hw.c584 struct cmd_desc_type0 *cmd_desc; in netxen_send_cmd_descs() local
611 cmd_desc = &cmd_desc_arr[i]; in netxen_send_cmd_descs()
/drivers/net/wireless/realtek/rtl818x/rtl8180/
Ddev.c214 struct rtl818x_rx_cmd_desc *cmd_desc; in rtl8180_handle_rx() local
331 cmd_desc = entry; in rtl8180_handle_rx()
332 cmd_desc->rx_buf = cpu_to_le32(*((dma_addr_t *)skb->cb)); in rtl8180_handle_rx()
333 cmd_desc->flags = cpu_to_le32(RTL818X_RX_DESC_FLAG_OWN | in rtl8180_handle_rx()
336 cmd_desc->flags |= in rtl8180_handle_rx()
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c31 #define qlcnic_set_tx_vlan_tci(cmd_desc, v) \ argument
32 (cmd_desc)->vlan_TCI = cpu_to_le16(v);
33 #define qlcnic_set_cmd_desc_port(cmd_desc, var) \ argument
34 ((cmd_desc)->port_ctxid |= ((var) & 0x0F))
35 #define qlcnic_set_cmd_desc_ctxid(cmd_desc, var) \ argument
36 ((cmd_desc)->port_ctxid |= ((var) << 4 & 0xF0))
Dqlcnic_hw.c394 struct cmd_desc_type0 *cmd_desc; in qlcnic_send_cmd_descs() local
421 cmd_desc = &cmd_desc_arr[i]; in qlcnic_send_cmd_descs()
428 cmd_desc, sizeof(struct cmd_desc_type0)); in qlcnic_send_cmd_descs()
/drivers/ata/
Dsata_fsl.c442 static unsigned int sata_fsl_fill_sg(struct ata_queued_cmd *qc, void *cmd_desc, in sata_fsl_fill_sg() argument
454 cmd_desc)->prdt; in sata_fsl_fill_sg()
461 VPRINTK("SATA FSL : cd = 0x%p, prd = 0x%p\n", cmd_desc, prd); in sata_fsl_fill_sg()