Searched refs:extra_size (Results 1 - 4 of 4) sorted by relevance

/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c347 unsigned int extra_size = 0; local
372 extra_size = 0;
375 extra_size += (extp->NumProtectionFields - 1) *
381 extra_size += 2;
382 if (extp_size < sizeof(*extp) + extra_size)
384 extra_size += extp->extra[extra_size - 1];
391 extra_size += 1;
392 if (extp_size < sizeof(*extp) + extra_size)
394 nb_parts = extp->extra[extra_size
[all...]
/drivers/media/video/uvc/
H A Duvc_driver.c799 unsigned int num_pads, unsigned int extra_size)
806 extra_size = ALIGN(extra_size, sizeof(*entity->pads));
808 size = sizeof(*entity) + extra_size + sizeof(*entity->pads) * num_pads
819 entity->pads = ((void *)(entity + 1)) + extra_size;
798 uvc_alloc_entity(u16 type, u8 id, unsigned int num_pads, unsigned int extra_size) argument
/drivers/scsi/
H A Dstex.c210 __le32 extra_size; /* NEW */ member in struct:handshake_frame
1027 h->extra_size = cpu_to_le32(hba->dma_size - hba->extra_offset);
1029 h->extra_offset = h->extra_size = 0;
1099 h->extra_offset = h->extra_size = 0;
/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c939 u32 extra_size = 0; /* Jumbo frame threshold in QWORD unit */ local
943 extra_size = ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN;
945 jumbo_thresh = hw->max_frame_size + extra_size;
948 (hw->max_frame_size + extra_size) * 2 / 3;
950 jumbo_thresh = (hw->max_frame_size + extra_size) / 2;

Completed in 141 milliseconds