Lines Matching refs:cpu_to_le16
784 return cpu_to_le16(data); in e100_eeprom_read()
804 if (cpu_to_le16(0xBABA - checksum) != nic->eeprom[nic->eeprom_wc - 1]) { in e100_eeprom_load()
832 nic->eeprom[nic->eeprom_wc - 1] = cpu_to_le16(0xBABA - checksum); in e100_eeprom_save()
901 cb->command |= cpu_to_le16(cb_s); in e100_exec_cb()
903 cb->prev->command &= cpu_to_le16(~cb_s); in e100_exec_cb()
1081 nic->tx_command = cpu_to_le16(cb_tx | cb_tx_sf | in e100_get_defaults()
1087 nic->blank_rfd.size = cpu_to_le16(VLAN_ETH_FRAME_LEN + ETH_FCS_LEN); in e100_get_defaults()
1103 cb->command = cpu_to_le16(cb_config); in e100_configure()
1361 cb->command = cpu_to_le16(cb_ucode | cb_el); in e100_setup_ucode()
1388 while (!(cb->status & cpu_to_le16(cb_complete))) { in e100_load_ucode_wait()
1397 if (!counter || !(cb->status & cpu_to_le16(cb_ok))) { in e100_load_ucode_wait()
1408 cb->command = cpu_to_le16(cb_iaaddr); in e100_setup_iaaddr()
1415 cb->command = cpu_to_le16(cb_dump); in e100_dump()
1594 cb->command = cpu_to_le16(cb_multi); in e100_multi()
1595 cb->u.multi.count = cpu_to_le16(count * ETH_ALEN); in e100_multi()
1784 cb->command |= cpu_to_le16(cb_tx_nc); in e100_xmit_prepare()
1786 cb->command &= ~cpu_to_le16(cb_tx_nc); in e100_xmit_prepare()
1790 cb->command |= cpu_to_le16(cb_i); in e100_xmit_prepare()
1796 cb->u.tcb.tbd.size = cpu_to_le16(skb->len); in e100_xmit_prepare()
1847 cb->status & cpu_to_le16(cb_complete); in e100_tx_clean()
2128 new_before_last_rfd->command |= cpu_to_le16(cb_el); in e100_rx_clean()
2136 old_before_last_rfd->command &= ~cpu_to_le16(cb_el); in e100_rx_clean()
2140 old_before_last_rfd->size = cpu_to_le16(VLAN_ETH_FRAME_LEN in e100_rx_clean()
2207 before_last->command |= cpu_to_le16(cb_el); in e100_rx_alloc_list()