Lines Matching refs:cpu_to_le32
182 *(volatile u_long *)(addr + dev->iobase) = cpu_to_le32(command); in OUTL()
334 rx_ring[i].status = cpu_to_le32(R_OWN); in dc21x4x_init()
335 rx_ring[i].des1 = cpu_to_le32(RX_BUFF_SZ); in dc21x4x_init()
336 rx_ring[i].buf = cpu_to_le32( in dc21x4x_init()
339 rx_ring[i].next = cpu_to_le32( in dc21x4x_init()
352 tx_ring[i].next = cpu_to_le32(phys_to_bus((u32) &tx_ring[(i+1) % NUM_TX_DESC])); in dc21x4x_init()
362 rx_ring[rxRingSize - 1].des1 |= cpu_to_le32(RD_RER); in dc21x4x_init()
363 tx_ring[txRingSize - 1].des1 |= cpu_to_le32(TD_TER); in dc21x4x_init()
389 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send()
396 tx_ring[tx_new].buf = cpu_to_le32(phys_to_bus((u32) packet)); in dc21x4x_send()
397 tx_ring[tx_new].des1 = cpu_to_le32(TD_TER | TD_LS | TD_FS | length); in dc21x4x_send()
398 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in dc21x4x_send()
402 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in dc21x4x_send()
460 rx_ring[rx_new].status = cpu_to_le32(R_OWN); in dc21x4x_recv()
496 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in send_setup_frame()
503 tx_ring[tx_new].buf = cpu_to_le32(phys_to_bus((u32) &setup_frame[0])); in send_setup_frame()
504 tx_ring[tx_new].des1 = cpu_to_le32(TD_TER | TD_SET| SETUP_FRAME_LEN); in send_setup_frame()
505 tx_ring[tx_new].status = cpu_to_le32(T_OWN); in send_setup_frame()
509 for(i = 0; tx_ring[tx_new].status & cpu_to_le32(T_OWN); i++) { in send_setup_frame()