Searched refs:cmd_desc (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/3com/ |
D | typhoon.h | 317 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)); \
|
D | typhoon.c | 81 #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/ |
D | netxen_nic.h | 311 #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))
|
D | netxen_nic_hw.c | 584 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/ |
D | dev.c | 214 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/ |
D | qlcnic_io.c | 31 #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))
|
D | qlcnic_hw.c | 394 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/ |
D | sata_fsl.c | 442 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()
|