Searched refs:totalbytes (Results 1 – 8 of 8) sorted by relevance
| /OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/syslinux/syslinux/ |
| H A D | 0008-libinstaller-syslinuxext-implement-syslinux_patch_bo.patch | 137 -int get_geometry(int devfd, uint64_t totalbytes, struct hd_geometry *geo) 159 - if (gp->bytes == totalbytes) { 171 - geo->cylinders = totalbytes / (geo->heads * geo->sectors << SECTOR_SHIFT); 204 - uint64_t totalbytes, totalsectors; 214 - totalbytes = get_size(devfd); 215 - get_geometry(devfd, totalbytes, &geo); 229 - totalsectors = totalbytes >> SECTOR_SHIFT; 336 +static int get_geometry(int dev_fd, uint64_t totalbytes, struct hd_geometry *geo) 358 + if (gp->bytes == totalbytes) { 370 + geo->cylinders = totalbytes / (geo->heads * geo->sectors << SECTOR_SHIFT); [all …]
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/libertas/ |
| H A D | if_usb.c | 340 cardp->totalbytes = cardp->fwlastblksent; in if_usb_send_fw_pkt() 345 cardp->totalbytes); in if_usb_send_fw_pkt() 351 memcpy(&fwdata->hdr, &firmware[cardp->totalbytes], in if_usb_send_fw_pkt() 354 cardp->fwlastblksent = cardp->totalbytes; in if_usb_send_fw_pkt() 355 cardp->totalbytes += sizeof(struct fwheader); in if_usb_send_fw_pkt() 357 memcpy(fwdata->data, &firmware[cardp->totalbytes], in if_usb_send_fw_pkt() 364 cardp->totalbytes += le32_to_cpu(fwdata->hdr.datalength); in if_usb_send_fw_pkt() 372 cardp->fwseqnum, cardp->totalbytes); in if_usb_send_fw_pkt() 381 cardp->totalbytes); in if_usb_send_fw_pkt() 844 cardp->totalbytes = 0; in if_usb_prog_firmware() [all …]
|
| H A D | if_usb.h | 71 uint32_t totalbytes; member
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/libertas_tf/ |
| H A D | if_usb.c | 283 cardp->totalbytes = cardp->fwlastblksent; in if_usb_send_fw_pkt() 288 cardp->totalbytes); in if_usb_send_fw_pkt() 294 memcpy(&fwdata->hdr, &firmware[cardp->totalbytes], in if_usb_send_fw_pkt() 297 cardp->fwlastblksent = cardp->totalbytes; in if_usb_send_fw_pkt() 298 cardp->totalbytes += sizeof(struct fwheader); in if_usb_send_fw_pkt() 300 memcpy(fwdata->data, &firmware[cardp->totalbytes], in if_usb_send_fw_pkt() 307 cardp->totalbytes += le32_to_cpu(fwdata->hdr.datalength); in if_usb_send_fw_pkt() 316 cardp->fwseqnum, cardp->totalbytes); in if_usb_send_fw_pkt() 329 cardp->totalbytes); in if_usb_send_fw_pkt() 863 cardp->totalbytes = 0; in if_usb_prog_firmware() [all …]
|
| H A D | if_usb.h | 62 uint32_t totalbytes; member
|
| /OK3568_Linux_fs/kernel/arch/powerpc/platforms/powermac/ |
| H A D | pfunc_core.c | 294 u32 totalbytes = pmf_next32(cmd); in pmf_parser_rmw_i2c() local 300 maskbytes, valuesbytes, totalbytes); in pmf_parser_rmw_i2c() 304 PMF_PARSE_CALL(rmw_i2c, cmd, h, maskbytes, valuesbytes, totalbytes, in pmf_parser_rmw_i2c() 336 u32 totalbytes = pmf_next32(cmd); in pmf_parser_rmw_cfg() local 342 maskbytes, valuesbytes, totalbytes); in pmf_parser_rmw_cfg() 347 totalbytes, maskblob, valuesblob); in pmf_parser_rmw_cfg() 390 u32 totalbytes = pmf_next32(cmd); in pmf_parser_rmw_i2c_sub() local 396 subaddr, maskbytes, valuesbytes, totalbytes); in pmf_parser_rmw_i2c_sub() 401 totalbytes, maskblob, valuesblob); in pmf_parser_rmw_i2c_sub()
|
| /OK3568_Linux_fs/u-boot/fs/ext4/ |
| H A D | ext4_common.c | 480 int totalbytes = 0; in ext4fs_update_parent_dentry() local 528 totalbytes = 0; in ext4fs_update_parent_dentry() 535 if (fs->blksz - totalbytes == le16_to_cpu(dir->direntlen)) { in ext4fs_update_parent_dentry() 586 totalbytes = totalbytes + templength; in ext4fs_update_parent_dentry() 596 totalbytes = totalbytes + templength; in ext4fs_update_parent_dentry() 609 dir->direntlen = cpu_to_le16(fs->blksz - totalbytes); in ext4fs_update_parent_dentry()
|
| /OK3568_Linux_fs/kernel/drivers/net/wireless/realtek/rtlwifi/ |
| H A D | efuse.c | 350 u16 words_need = 0, hdr_num = 0, totalbytes, efuse_used; in efuse_shadow_update_chk() local 372 totalbytes = hdr_num + words_need * 2; in efuse_shadow_update_chk() 375 if ((totalbytes + efuse_used) >= in efuse_shadow_update_chk() 381 __func__, totalbytes, hdr_num, words_need, efuse_used); in efuse_shadow_update_chk()
|