/openbmc/openbmc/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 …]
|
/openbmc/linux/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
|
/openbmc/linux/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
|
/openbmc/linux/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()
|
/openbmc/u-boot/fs/ext4/ |
H A D | ext4_common.c | 478 int totalbytes = 0; in ext4fs_update_parent_dentry() local 526 totalbytes = 0; in ext4fs_update_parent_dentry() 533 if (fs->blksz - totalbytes == le16_to_cpu(dir->direntlen)) { in ext4fs_update_parent_dentry() 584 totalbytes = totalbytes + templength; in ext4fs_update_parent_dentry() 594 totalbytes = totalbytes + templength; in ext4fs_update_parent_dentry() 607 dir->direntlen = cpu_to_le16(fs->blksz - totalbytes); in ext4fs_update_parent_dentry()
|
/openbmc/linux/include/trace/events/ |
H A D | rpcrdma.h | 2127 unsigned int totalbytes, 2131 TP_ARGS(wc, cid, totalbytes, posttime), 2137 __field(unsigned int, totalbytes) 2143 __entry->totalbytes = totalbytes; 2149 __entry->totalbytes, __entry->read_latency
|
/openbmc/linux/drivers/net/wireless/realtek/rtlwifi/ |
H A D | efuse.c | 359 u16 words_need = 0, hdr_num = 0, totalbytes, efuse_used; in efuse_shadow_update_chk() local 381 totalbytes = hdr_num + words_need * 2; in efuse_shadow_update_chk() 384 if ((totalbytes + efuse_used) >= in efuse_shadow_update_chk() 390 __func__, totalbytes, hdr_num, words_need, efuse_used); in efuse_shadow_update_chk()
|