Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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))
247 struct cmd_desc cmd[COMMAND_ENTRIES] __3xp_aligned;
340 *index += count * sizeof(struct cmd_desc); in typhoon_inc_index()
341 *index %= num_entries * sizeof(struct cmd_desc); in typhoon_inc_index()
462 struct cmd_desc *cmd; in typhoon_hello()
469 cmd = (struct cmd_desc *)(ring->ringBase + ring->lastWrite); in typhoon_hello()
544 lastWrite /= sizeof(struct cmd_desc); in typhoon_num_free()
545 lastRead /= sizeof(struct cmd_desc); in typhoon_num_free()
575 typhoon_issue_command(struct typhoon *tp, int num_cmd, struct cmd_desc *cmd, in typhoon_issue_command()
618 struct cmd_desc *wrap_ptr = cmd; in typhoon_issue_command()
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic.h295 #define netxen_set_tx_vlan_tci(cmd_desc, v) \ argument
296 (cmd_desc)->vlan_TCI = cpu_to_le16(v);
298 #define netxen_set_cmd_desc_port(cmd_desc, var) \ argument
299 ((cmd_desc)->port_ctxid |= ((var) & 0x0F))
300 #define netxen_set_cmd_desc_ctxid(cmd_desc, var) \ argument
301 ((cmd_desc)->port_ctxid |= ((var) << 4 & 0xF0))
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_io.c30 #define qlcnic_set_tx_vlan_tci(cmd_desc, v) \ argument
31 (cmd_desc)->vlan_TCI = cpu_to_le16(v);
32 #define qlcnic_set_cmd_desc_port(cmd_desc, var) \ argument
33 ((cmd_desc)->port_ctxid |= ((var) & 0x0F))
34 #define qlcnic_set_cmd_desc_ctxid(cmd_desc, var) \ argument
35 ((cmd_desc)->port_ctxid |= ((var) << 4 & 0xF0))
Dqlcnic_hw.c386 struct cmd_desc_type0 *cmd_desc; in qlcnic_send_cmd_descs() local
413 cmd_desc = &cmd_desc_arr[i]; in qlcnic_send_cmd_descs()
420 cmd_desc, sizeof(struct cmd_desc_type0)); in qlcnic_send_cmd_descs()
/kernel/linux/linux-5.10/arch/alpha/kernel/
Dcore_cia.c1080 static const char * const cmd_desc[16] = { in cia_decode_parity_error() local
1095 cmd = cmd_desc[(cia->cpu_err1 >> 8) & 0xF]; in cia_decode_parity_error()
/kernel/linux/linux-5.10/drivers/ata/
Dsata_fsl.c431 static unsigned int sata_fsl_fill_sg(struct ata_queued_cmd *qc, void *cmd_desc, in sata_fsl_fill_sg() argument
443 cmd_desc)->prdt; in sata_fsl_fill_sg()
450 VPRINTK("SATA FSL : cd = 0x%p, prd = 0x%p\n", cmd_desc, prd); in sata_fsl_fill_sg()