Searched refs:le16_to_cpu (Results 1 – 19 of 19) sorted by relevance
84 if ((le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0018) || in radeon_lookup_i2c_gpio_quirks()85 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x0019) || in radeon_lookup_i2c_gpio_quirks()86 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x001a)) { in radeon_lookup_i2c_gpio_quirks()95 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1936) && in radeon_lookup_i2c_gpio_quirks()108 (le16_to_cpu(gpio->usClkMaskRegisterIndex) == 0x1fda) && in radeon_lookup_i2c_gpio_quirks()120 i2c.mask_clk_reg = le16_to_cpu(gpio->usClkMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()121 i2c.mask_data_reg = le16_to_cpu(gpio->usDataMaskRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()122 i2c.en_clk_reg = le16_to_cpu(gpio->usClkEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()123 i2c.en_data_reg = le16_to_cpu(gpio->usDataEnRegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()124 i2c.y_clk_reg = le16_to_cpu(gpio->usClkY_RegisterIndex) * 4; in radeon_get_bus_rec_for_i2c_gpio()[all …]
86 if (le16_to_cpu(info->info.usK8MemoryClock)) in rs690_pm_info()87 rdev->pm.igp_system_mclk.full = dfixed_const(le16_to_cpu(info->info.usK8MemoryClock)); in rs690_pm_info()93 rdev->pm.igp_ht_link_clk.full = dfixed_const(le16_to_cpu(info->info.usFSBClock)); in rs690_pm_info()109 rdev->pm.igp_ht_link_width.full = dfixed_const(le16_to_cpu(info->info_v2.usMinHTLinkWidth)); in rs690_pm_info()
1390 le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb)); in atom_allocate_fb_scratch()1392 usage_bytes = le16_to_cpu(firmware_usage->asFirmwareVramReserveInfo[0].usFirmwareUseInKb) * 1024; in atom_allocate_fb_scratch()
646 adjusted_clock = le16_to_cpu(args.v1.usPixelClock) * 10; in atombios_adjust_pll()
486 hw->eeprom[i] = le16_to_cpu (ee_data); in ixgb_get_eeprom_data()494 if ((ee_map->init_ctrl_reg_1 & le16_to_cpu(EEPROM_ICW1_SIGNATURE_MASK)) in ixgb_get_eeprom_data()495 != le16_to_cpu(EEPROM_ICW1_SIGNATURE_VALID)) { in ixgb_get_eeprom_data()520 if ((ee_map->init_ctrl_reg_1 & le16_to_cpu(EEPROM_ICW1_SIGNATURE_MASK)) in ixgb_check_and_get_eeprom_data()521 == le16_to_cpu(EEPROM_ICW1_SIGNATURE_VALID)) { in ixgb_check_and_get_eeprom_data()606 return ( le16_to_cpu(hw->eeprom[EEPROM_PBA_1_2_REG]) in ixgb_get_ee_pba_number()607 | (le16_to_cpu(hw->eeprom[EEPROM_PBA_3_4_REG])<<16)); in ixgb_get_ee_pba_number()
87 #define le16_to_cpu macro
7 #define le16_to_cpu le_to_host16 macro18 #define get_unaligned_le16(p) le16_to_cpu(get_unaligned((uint16_t *)(p)))
11 #undef le16_to_cpu
45 #define le16_to_cpu le16toh macro
49 #define le16_to_cpu le16toh macro
96 #define le16_to_cpu(x) le16toh(x) macro
231 #define le16_to_cpu(x) le16toh(x) macro
139 #define le16_to_cpu macro
141 #define le16_to_cpu macro
4752 txq.rdylist = le16_to_cpu(vf->vsi.info.qs_handle[0]); in ixl_vf_config_tx_queue()
34 #define le16_to_cpu(x) le16toh(x) macro
949 mode->clock = le16_to_cpu(timing->pixel_clock) * 10; in drm_mode_detailed()
1308 le16_to_cpu(*(u16*)header->pcir_offset)]; in modify_device_id()1416 pcir_offset = le16_to_cpu(*(u16 *)header->pcir_offset); in t4_load_boot()1433 if (le16_to_cpu(*(u16*)header->signature) != BOOT_SIGNATURE ) { in t4_load_boot()1449 if (le16_to_cpu(*(u16*)pcir_header->vendor_id) != VENDOR_ID) { in t4_load_boot()1464 if (le16_to_cpu(*(u16*)pcir_header->device_id) != device_id) { in t4_load_boot()
1377 if (le16_to_cpu(*(u16*)header->signature) != BOOT_SIGNATURE) { in t3_load_boot()