Searched refs:swab16 (Results 1 – 3 of 3) sorted by relevance
7 # define swab16 __swab16 macro
166 return (value < 0) ? value : swab16(value); in i2c_smbus_read_word_swapped()173 return i2c_smbus_write_word_data(client, command, swab16(value)); in i2c_smbus_write_word_swapped()
853 return swab16(readw(addr)); in ioread16be()879 writew(swab16(value), addr); in iowrite16be()