Lines Matching refs:cpu_to_le32
125 writel(cpu_to_le32(command), priv->iobase + addr); in dc2114x_outl()
298 for (i = 0; priv->tx_ring[priv->tx_new].status & cpu_to_le32(T_OWN); i++) { in send_setup_frame()
306 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in send_setup_frame()
308 priv->tx_ring[priv->tx_new].des1 = cpu_to_le32(TD_TER | TD_SET | SETUP_FRAME_LEN); in send_setup_frame()
309 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame()
313 for (i = 0; priv->tx_ring[priv->tx_new].status & cpu_to_le32(T_OWN); i++) { in send_setup_frame()
339 for (i = 0; priv->tx_ring[priv->tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send_common()
347 priv->tx_ring[priv->tx_new].buf = cpu_to_le32(phys_to_bus(priv->devno, in dc21x4x_send_common()
349 priv->tx_ring[priv->tx_new].des1 = cpu_to_le32(TD_TER | TD_LS | TD_FS | length); in dc21x4x_send_common()
350 priv->tx_ring[priv->tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send_common()
354 for (i = 0; priv->tx_ring[priv->tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send_common()
416 priv->rx_ring[i].status = cpu_to_le32(R_OWN); in dc21x4x_init_common()
417 priv->rx_ring[i].des1 = cpu_to_le32(RX_BUFF_SZ); in dc21x4x_init_common()
418 priv->rx_ring[i].buf = cpu_to_le32(phys_to_bus(priv->devno, in dc21x4x_init_common()
434 priv->rx_ring[priv->rx_ring_size - 1].des1 |= cpu_to_le32(RD_RER); in dc21x4x_init_common()
435 priv->tx_ring[priv->tx_ring_size - 1].des1 |= cpu_to_le32(TD_TER); in dc21x4x_init_common()
536 priv->rx_ring[priv->rx_new].status = cpu_to_le32(R_OWN); in dc21x4x_recv()
683 priv->rx_ring[priv->rx_new].status = cpu_to_le32(R_OWN); in dc2114x_free_pkt()