| /rk3399_rockchip-uboot/drivers/video/drm/ |
| H A D | drm_dsc.c | 107 pps_payload->pic_height = cpu_to_be16(dsc_cfg->pic_height); in drm_dsc_pps_payload_pack() 110 pps_payload->pic_width = cpu_to_be16(dsc_cfg->pic_width); in drm_dsc_pps_payload_pack() 113 pps_payload->slice_height = cpu_to_be16(dsc_cfg->slice_height); in drm_dsc_pps_payload_pack() 116 pps_payload->slice_width = cpu_to_be16(dsc_cfg->slice_width); in drm_dsc_pps_payload_pack() 119 pps_payload->chunk_size = cpu_to_be16(dsc_cfg->slice_chunk_size); in drm_dsc_pps_payload_pack() 133 cpu_to_be16(dsc_cfg->initial_dec_delay); in drm_dsc_pps_payload_pack() 143 cpu_to_be16(dsc_cfg->scale_increment_interval); in drm_dsc_pps_payload_pack() 163 cpu_to_be16(dsc_cfg->nfl_bpg_offset); in drm_dsc_pps_payload_pack() 167 cpu_to_be16(dsc_cfg->slice_bpg_offset); in drm_dsc_pps_payload_pack() 171 cpu_to_be16(dsc_cfg->initial_offset); in drm_dsc_pps_payload_pack() [all …]
|
| H A D | dw_mipi_dsi2.c | 827 dsi2->pps->pic_width = cpu_to_be16(pic_width); in dw_mipi_dsi2_get_dsc_params_from_sink()
|
| /rk3399_rockchip-uboot/drivers/mmc/ |
| H A D | rpmb.c | 143 rpmb_frame->request = cpu_to_be16(RPMB_REQ_STATUS); in mmc_rpmb_status() 201 rpmb_frame->request = cpu_to_be16(RPMB_REQ_WCOUNTER); in mmc_rpmb_get_counter() 218 rpmb_frame->request = cpu_to_be16(RPMB_REQ_KEY); in mmc_rpmb_set_key() 243 rpmb_frame->address = cpu_to_be16(blk); in mmc_rpmb_read() 244 rpmb_frame->request = cpu_to_be16(RPMB_REQ_READ_DATA); in mmc_rpmb_read() 319 rpmb_frame->address = cpu_to_be16(blk); in mmc_rpmb_write() 320 rpmb_frame_vrify->address = cpu_to_be16(blk); in mmc_rpmb_write() 321 rpmb_frame->block_count = cpu_to_be16(cnt); in mmc_rpmb_write() 322 rpmb_frame_vrify->block_count = cpu_to_be16(cnt); in mmc_rpmb_write() 325 rpmb_frame->request = cpu_to_be16(RPMB_REQ_WRITE_DATA); in mmc_rpmb_write() [all …]
|
| H A D | mmc_spi.c | 124 crc = cpu_to_be16(crc16_ccitt(0, (u8 *)buf, bsize)); in mmc_spi_writedata()
|
| /rk3399_rockchip-uboot/lib/ |
| H A D | uuid.c | 163 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 9, NULL, 16)); in uuid_str_to_bin() 166 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 14, NULL, 16)); in uuid_str_to_bin() 179 tmp16 = cpu_to_be16(simple_strtoul(uuid_str + 19, NULL, 16)); in uuid_str_to_bin()
|
| /rk3399_rockchip-uboot/include/ |
| H A D | compiler.h | 97 # define cpu_to_be16(x) uswap_16(x) macro 110 # define cpu_to_be16(x) (x) macro
|
| H A D | zfs_common.h | 39 #define cpu_to_zfs16(x, a) (((a) == BIG_ENDIAN) ? cpu_to_be16(x) \
|
| /rk3399_rockchip-uboot/lib/optee_clientApi/ |
| H A D | tee_mmc_rpmb.c | 37 req_type = cpu_to_be16(req_packets->request); in rpmb_data_req() 116 req_num = cpu_to_be16(req_packets->block_count); in emmc_rpmb_process()
|
| /rk3399_rockchip-uboot/tools/ |
| H A D | imximage.c | 196 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2() 205 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2() 214 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2() 223 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2() 229 d->write_dcd_command.length = cpu_to_be16(4); in set_dcd_param_v2() 254 d->write_dcd_command.length = cpu_to_be16((off << 3) + 4); in set_dcd_val_v2() 295 dcd_v2->header.length = cpu_to_be16(len); in set_dcd_rst_v2() 335 fhdr_v2->header.length = cpu_to_be16(sizeof(flash_header_v2_t)); in set_imx_hdr_v2() 405 cpu_to_be16(sizeof(flash_header_v2_t)); in set_imx_hdr_v2()
|
| /rk3399_rockchip-uboot/include/linux/unaligned/ |
| H A D | access_ok.h | 53 *((__be16 *)p) = cpu_to_be16(val); in put_unaligned_be16()
|
| /rk3399_rockchip-uboot/board/corscience/tricorder/ |
| H A D | tricorder-eeprom.c | 142 eeprom.length = cpu_to_be16(TRICORDER_EEPROM_SIZE); in tricorder_eeprom_write() 143 eeprom.version = cpu_to_be16(TRICORDER_EEPROM_VERSION); in tricorder_eeprom_write()
|
| /rk3399_rockchip-uboot/include/linux/byteorder/ |
| H A D | generic.h | 97 #define cpu_to_be16 __cpu_to_be16 macro
|
| /rk3399_rockchip-uboot/drivers/mtd/ubi/ |
| H A D | fastmap.c | 1170 fmpl->size = cpu_to_be16(ubi->fm_pool.size); in ubi_write_fastmap() 1171 fmpl->max_size = cpu_to_be16(ubi->fm_pool.max_size); in ubi_write_fastmap() 1181 fmpl_wl->size = cpu_to_be16(ubi->fm_wl_pool.size); in ubi_write_fastmap() 1182 fmpl_wl->max_size = cpu_to_be16(ubi->fm_wl_pool.max_size); in ubi_write_fastmap()
|
| H A D | vtbl.c | 144 vtbl_rec->name_len = cpu_to_be16(re->new_name_len); in ubi_vtbl_rename_volumes()
|
| H A D | vmt.c | 294 vtbl_rec.name_len = cpu_to_be16(vol->name_len); in ubi_create_volume()
|
| /rk3399_rockchip-uboot/drivers/scsi/ |
| H A D | scsi.c | 435 um_list->um_data_len = cpu_to_be16(sizeof(struct unmap_para_list) - 2); in scsi_erase() 436 um_list->um_block_desc_len = cpu_to_be16(sizeof(struct um_block_descriptor)); in scsi_erase()
|
| /rk3399_rockchip-uboot/arch/mips/include/asm/ |
| H A D | io.h | 381 __raw_writew(cpu_to_be16((val)), (__force unsigned *)(addr)) in BUILDIO_MEM()
|
| /rk3399_rockchip-uboot/drivers/ufs/ |
| H A D | ufs.c | 1173 request->upiu_req.length = cpu_to_be16(*buf_len); in __ufshcd_query_descriptor()
|
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | ohci-hcd.c | 102 # define m16_swap(x) cpu_to_be16(x)
|