HelenOS sources

host2uint16_t_le  104 boot/generic/include/byteorder.h #define host2int16_t_le(n) host2uint16_t_le(n)
host2uint16_t_le  192 kernel/genarch/src/fb/fb.c 	*((uint16_t *) dst) = host2uint16_t_le(RED(rgb, 5) << 10 |
host2uint16_t_le  204 kernel/genarch/src/fb/fb.c 	*((uint16_t *) dst) = host2uint16_t_le(RED(rgb, 5) << 11 |
host2uint16_t_le  293 uspace/app/mkexfat/mkexfat.c 	mbs->volume_flags = host2uint16_t_le(0);
host2uint16_t_le  303 uspace/app/mkexfat/mkexfat.c 	mbs->signature = host2uint16_t_le(0xAA55);
host2uint16_t_le  510 uspace/app/mkfat/mkfat.c 	bs->bps = host2uint16_t_le(cfg->sector_size);
host2uint16_t_le  512 uspace/app/mkfat/mkfat.c 	bs->rscnt = host2uint16_t_le(cfg->reserved_sectors);
host2uint16_t_le  514 uspace/app/mkfat/mkfat.c 	bs->root_ent_max = host2uint16_t_le(cfg->root_ent_max);
host2uint16_t_le  517 uspace/app/mkfat/mkfat.c 		bs->totsec16 = host2uint16_t_le(cfg->total_sectors);
host2uint16_t_le  525 uspace/app/mkfat/mkfat.c 	bs->sec_per_track = host2uint16_t_le(63);
host2uint16_t_le  527 uspace/app/mkfat/mkfat.c 	bs->headcnt = host2uint16_t_le(6);
host2uint16_t_le  542 uspace/app/mkfat/mkfat.c 		bs->sec_per_fat = host2uint16_t_le(cfg->fat_sectors);
host2uint16_t_le  439 uspace/app/sysinst/sysinst.c 	first_bl->len = host2uint16_t_le(core_blocks - 1);
host2uint16_t_le  158 uspace/app/wavplay/wave.c 	header->subchunk1_size = host2uint16_t_le(PCM_SUBCHUNK1_SIZE);
host2uint16_t_le  159 uspace/app/wavplay/wave.c 	header->audio_format = host2uint16_t_le(FORMAT_LINEAR_PCM);
host2uint16_t_le  166 uspace/app/wavplay/wave.c 	    host2uint16_t_le(pcm_sample_format_size(format.sample_format) * 8);
host2uint16_t_le   63 uspace/drv/audio/hdaudio/regif.c 	pio_write_16(r, host2uint16_t_le(val));
host2uint16_t_le  250 uspace/drv/block/pci-ide/pci-ide.c 	chan->prdt->bcnt = host2uint16_t_le(chan->dma_buf_size);
host2uint16_t_le  251 uspace/drv/block/pci-ide/pci-ide.c 	chan->prdt->eot_res = host2uint16_t_le(pci_ide_prd_eot);
host2uint16_t_le  157 uspace/drv/nic/ar9271/ath_usb.c 	data_header->length = host2uint16_t_le(buffer_size);
host2uint16_t_le  158 uspace/drv/nic/ar9271/ath_usb.c 	data_header->tag = host2uint16_t_le(TX_TAG);
host2uint16_t_le  128 uspace/drv/nic/ar9271/htc.c 	id1 = (id1 & ~AR9271_STATION_ID1_MASK) | host2uint16_t_le(id1_addr);
host2uint16_t_le  104 uspace/lib/c/include/byteorder.h #define host2int16_t_le(n) host2uint16_t_le(n)
host2uint16_t_le   92 uspace/lib/c/include/ddi.h 	pio_write_16(reg, host2uint16_t_le(val));
host2uint16_t_le  183 uspace/lib/ext4/src/block_group.c 	bg->free_blocks_count_lo = host2uint16_t_le((value << 16) >> 16);
host2uint16_t_le  186 uspace/lib/ext4/src/block_group.c 		bg->free_blocks_count_hi = host2uint16_t_le(value >> 16);
host2uint16_t_le  219 uspace/lib/ext4/src/block_group.c 	bg->free_inodes_count_lo = host2uint16_t_le((value << 16) >> 16);
host2uint16_t_le  222 uspace/lib/ext4/src/block_group.c 		bg->free_inodes_count_hi = host2uint16_t_le(value >> 16);
host2uint16_t_le  255 uspace/lib/ext4/src/block_group.c 	bg->used_dirs_count_lo = host2uint16_t_le((count << 16) >> 16);
host2uint16_t_le  258 uspace/lib/ext4/src/block_group.c 		bg->used_dirs_count_hi = host2uint16_t_le(count >> 16);
host2uint16_t_le  281 uspace/lib/ext4/src/block_group.c 	bg->flags = host2uint16_t_le(flags);
host2uint16_t_le  314 uspace/lib/ext4/src/block_group.c 	bg->itable_unused_lo = host2uint16_t_le((value << 16) >> 16);
host2uint16_t_le  317 uspace/lib/ext4/src/block_group.c 		bg->itable_unused_hi = host2uint16_t_le(value >> 16);
host2uint16_t_le  340 uspace/lib/ext4/src/block_group.c 	bg->checksum = host2uint16_t_le(checksum);
host2uint16_t_le   94 uspace/lib/ext4/src/directory.c 	de->entry_length = host2uint16_t_le(length);
host2uint16_t_le  155 uspace/lib/ext4/src/directory_index.c 	countlimit->limit = host2uint16_t_le(limit);
host2uint16_t_le  180 uspace/lib/ext4/src/directory_index.c 	countlimit->count = host2uint16_t_le(count);
host2uint16_t_le   89 uspace/lib/ext4/src/extent.c 	extent->block_count = host2uint16_t_le(count);
host2uint16_t_le  114 uspace/lib/ext4/src/extent.c 	extent->start_hi = host2uint16_t_le((uint16_t)(fblock >> 32));
host2uint16_t_le  163 uspace/lib/ext4/src/extent.c 	index->leaf_hi = host2uint16_t_le((uint16_t) (fblock >> 32));
host2uint16_t_le  186 uspace/lib/ext4/src/extent.c 	header->magic = host2uint16_t_le(magic);
host2uint16_t_le  210 uspace/lib/ext4/src/extent.c 	header->entries_count = host2uint16_t_le(count);
host2uint16_t_le  234 uspace/lib/ext4/src/extent.c 	header->max_entries_count = host2uint16_t_le(max_count);
host2uint16_t_le  257 uspace/lib/ext4/src/extent.c 	header->depth = host2uint16_t_le(depth);
host2uint16_t_le   91 uspace/lib/ext4/src/inode.c 	inode->mode = host2uint16_t_le((mode << 16) >> 16);
host2uint16_t_le   94 uspace/lib/ext4/src/inode.c 		inode->osd2.hurd2.mode_high = host2uint16_t_le(mode >> 16);
host2uint16_t_le  287 uspace/lib/ext4/src/inode.c 	inode->links_count = host2uint16_t_le(count);
host2uint16_t_le  352 uspace/lib/ext4/src/inode.c 		inode->osd2.linux2.blocks_high = host2uint16_t_le(count >> 32);
host2uint16_t_le  360 uspace/lib/ext4/src/inode.c 		inode->osd2.linux2.blocks_high = host2uint16_t_le(count >> 32);
host2uint16_t_le  443 uspace/lib/ext4/src/inode.c 		inode->osd2.linux2.file_acl_high = host2uint16_t_le(file_acl >> 32);
host2uint16_t_le  450 uspace/lib/ext4/src/superblock.c 	sb->mount_count = host2uint16_t_le(count);
host2uint16_t_le  473 uspace/lib/ext4/src/superblock.c 	sb->max_mount_count = host2uint16_t_le(count);
host2uint16_t_le  496 uspace/lib/ext4/src/superblock.c 	sb->magic = host2uint16_t_le(magic);
host2uint16_t_le  519 uspace/lib/ext4/src/superblock.c 	sb->state = host2uint16_t_le(state);
host2uint16_t_le  542 uspace/lib/ext4/src/superblock.c 	sb->errors = host2uint16_t_le(errors);
host2uint16_t_le  565 uspace/lib/ext4/src/superblock.c 	sb->minor_rev_level = host2uint16_t_le(level);
host2uint16_t_le  680 uspace/lib/ext4/src/superblock.c 	sb->def_resuid = host2uint16_t_le(uid);
host2uint16_t_le  703 uspace/lib/ext4/src/superblock.c 	sb->def_resgid = host2uint16_t_le(gid);
host2uint16_t_le  758 uspace/lib/ext4/src/superblock.c 	sb->inode_size = host2uint16_t_le(size);
host2uint16_t_le  781 uspace/lib/ext4/src/superblock.c 	sb->block_group_index = host2uint16_t_le(bgid);
host2uint16_t_le 1069 uspace/lib/ext4/src/superblock.c 		    host2uint16_t_le(EXT4_MIN_BLOCK_GROUP_DESCRIPTOR_SIZE);
host2uint16_t_le 1071 uspace/lib/ext4/src/superblock.c 	sb->desc_size = host2uint16_t_le(size);
host2uint16_t_le  501 uspace/lib/gfxfont/src/font.c 	tprops.size = host2uint16_t_le(props->size);
host2uint16_t_le  502 uspace/lib/gfxfont/src/font.c 	tprops.flags = host2uint16_t_le(props->flags);
host2uint16_t_le  566 uspace/lib/gfxfont/src/font.c 	tmetrics.ascent = host2uint16_t_le(metrics->ascent);
host2uint16_t_le  567 uspace/lib/gfxfont/src/font.c 	tmetrics.descent = host2uint16_t_le(metrics->descent);
host2uint16_t_le  568 uspace/lib/gfxfont/src/font.c 	tmetrics.leading = host2uint16_t_le(metrics->leading);
host2uint16_t_le  569 uspace/lib/gfxfont/src/font.c 	tmetrics.underline_y0 = host2uint16_t_le(metrics->underline_y0);
host2uint16_t_le  570 uspace/lib/gfxfont/src/font.c 	tmetrics.underline_y1 = host2uint16_t_le(metrics->underline_y1);
host2uint16_t_le  805 uspace/lib/gfxfont/src/font.c 	thdr.depth = host2uint16_t_le(1);
host2uint16_t_le  386 uspace/lib/gfxfont/src/glyph.c 	tmetrics.advance = host2uint16_t_le(metrics->advance);
host2uint16_t_le  887 uspace/lib/ieee80211/src/ieee80211.c 	    host2uint16_t_le(IEEE80211_MGMT_FRAME |
host2uint16_t_le  893 uspace/lib/ieee80211/src/ieee80211.c 	    host2uint16_t_le(ieee80211_get_sequence_number(ieee80211_dev));
host2uint16_t_le  943 uspace/lib/ieee80211/src/ieee80211.c 	    host2uint16_t_le(IEEE80211_MGMT_FRAME |
host2uint16_t_le  952 uspace/lib/ieee80211/src/ieee80211.c 	auth_body->auth_alg = host2uint16_t_le(0);
host2uint16_t_le  953 uspace/lib/ieee80211/src/ieee80211.c 	auth_body->auth_trans_no = host2uint16_t_le(1);
host2uint16_t_le 1009 uspace/lib/ieee80211/src/ieee80211.c 	    host2uint16_t_le(IEEE80211_MGMT_FRAME |
host2uint16_t_le 1018 uspace/lib/ieee80211/src/ieee80211.c 	assoc_body->listen_interval = host2uint16_t_le(1);
host2uint16_t_le 1032 uspace/lib/ieee80211/src/ieee80211.c 		assoc_body->capability |= host2uint16_t_le(CAP_SECURITY);
host2uint16_t_le 1083 uspace/lib/ieee80211/src/ieee80211.c 	    host2uint16_t_le(IEEE80211_MGMT_FRAME |
host2uint16_t_le 1016 uspace/lib/label/src/gpt.c 	pmbr->signature = host2uint16_t_le(mbr_br_signature);
host2uint16_t_le  343 uspace/lib/label/src/mbr.c 	mbr->signature = host2uint16_t_le(mbr_br_signature);
host2uint16_t_le 1095 uspace/lib/label/src/mbr.c 	br->signature = host2uint16_t_le(mbr_br_signature);
host2uint16_t_le  116 uspace/lib/pixconv/pixconv.c 	*((uint16_t *) dst) = host2uint16_t_le(
host2uint16_t_le  128 uspace/lib/pixconv/pixconv.c 	*((uint16_t *) dst) = host2uint16_t_le(
host2uint16_t_le  104 uspace/lib/posix/include/libc/byteorder.h #define host2int16_t_le(n) host2uint16_t_le(n)
host2uint16_t_le   92 uspace/lib/posix/include/libc/ddi.h 	pio_write_16(reg, host2uint16_t_le(val));
host2uint16_t_le   56 uspace/lib/riff/src/rwave.c 	fmt->format_tag = host2uint16_t_le(WFMT_PCM);
host2uint16_t_le   57 uspace/lib/riff/src/rwave.c 	fmt->channels = host2uint16_t_le(params->channels);
host2uint16_t_le   61 uspace/lib/riff/src/rwave.c 	fmt->block_align = host2uint16_t_le(bytes_smp);
host2uint16_t_le   62 uspace/lib/riff/src/rwave.c 	fmt->bits_smp = host2uint16_t_le(params->bits_smp);
host2uint16_t_le  191 uspace/lib/riff/src/rwave.c 				b16[i] = host2uint16_t_le(d16[i]);
host2uint16_t_le   45 uspace/lib/usb/include/usb/usb.h #define uint16_host2usb(n) host2uint16_t_le((n))
host2uint16_t_le  338 uspace/srv/fs/exfat/exfat_directory.c 	array[0].file.attr = host2uint16_t_le(df->attr);
host2uint16_t_le  344 uspace/srv/fs/exfat/exfat_directory.c 	    host2uint16_t_le(exfat_directory_set_checksum((uint8_t *)array,
host2uint16_t_le  403 uspace/srv/fs/exfat/exfat_directory.c 	ds.stream.hash = host2uint16_t_le(exfat_name_hash(wname, uctable,
host2uint16_t_le  446 uspace/srv/fs/exfat/exfat_directory.c 		wname[i] = host2uint16_t_le(wname[i]);
host2uint16_t_le  331 uspace/srv/fs/fat/fat_dentry.c 			d->lfn.part1[idx] = host2uint16_t_le(src[*offset]);
host2uint16_t_le  338 uspace/srv/fs/fat/fat_dentry.c 			d->lfn.part2[idx] = host2uint16_t_le(src[*offset]);
host2uint16_t_le  345 uspace/srv/fs/fat/fat_dentry.c 			d->lfn.part3[idx] = host2uint16_t_le(src[*offset]);
host2uint16_t_le  555 uspace/srv/fs/fat/fat_fat.c 	*(uint16_t *)(b->data + offset % BPS(bs)) = host2uint16_t_le(value);
host2uint16_t_le  137 uspace/srv/fs/fat/fat_ops.c 	d->firstc = host2uint16_t_le(node->firstc);
host2uint16_t_le  658 uspace/srv/fs/fat/fat_ops.c 			d->firstc = host2uint16_t_le(childp->firstc);
host2uint16_t_le  669 uspace/srv/fs/fat/fat_ops.c 			    host2uint16_t_le(FAT_CLST_ROOTPAR) :
host2uint16_t_le  670 uspace/srv/fs/fat/fat_ops.c 			    host2uint16_t_le(parentp->firstc);
host2uint16_t_le 1152 uspace/srv/fs/fat/fat_ops.c 	info->free_clusters = host2uint16_t_le(-1);
host2uint16_t_le  273 uspace/srv/hid/rfb/rfb.c 			pix16 = host2uint16_t_le(pix16);
HelenOS homepage, sources at GitHub