Lines Matching refs:cmd
208 __le32 cmd; member
496 desc->cmd = cpu_to_le32(DESC_VLD_FREE | in hix5hd2_rx_refill()
535 len = (le32_to_cpu(desc->cmd) >> DESC_DATA_LEN_OFF) & in hix5hd2_rx()
685 u32 cmd = 0; in hix5hd2_get_desc_cmd() local
689 cmd |= DESC_SG; in hix5hd2_get_desc_cmd()
690 cmd |= skb_shinfo(skb)->nr_frags << DESC_FRAGS_NUM_OFF; in hix5hd2_get_desc_cmd()
692 cmd |= DESC_FL_FULL | in hix5hd2_get_desc_cmd()
696 cmd |= (skb->len & DESC_DATA_MASK) << DESC_DATA_LEN_OFF; in hix5hd2_get_desc_cmd()
697 cmd |= DESC_VLD_BUSY; in hix5hd2_get_desc_cmd()
699 return cmd; in hix5hd2_get_desc_cmd()
741 u32 cmd; in hix5hd2_net_xmit() local
755 cmd = hix5hd2_get_desc_cmd(skb, priv->hw_cap); in hix5hd2_net_xmit()
756 desc->cmd = cpu_to_le32(cmd); in hix5hd2_net_xmit()