Searched defs:extra_size (Results 1 - 5 of 5) sorted by relevance

/drivers/media/usb/uvc/
H A Duvc_driver.c822 unsigned int num_pads, unsigned int extra_size)
829 extra_size = ALIGN(extra_size, sizeof(*entity->pads));
831 size = sizeof(*entity) + extra_size + sizeof(*entity->pads) * num_pads
842 entity->pads = ((void *)(entity + 1)) + extra_size;
821 uvc_alloc_entity(u16 type, u8 id, unsigned int num_pads, unsigned int extra_size) argument
/drivers/net/wireless/cw1200/
H A Dwsm.c82 static int wsm_buf_reserve(struct wsm_buf *buf, size_t extra_size);
1806 static int wsm_buf_reserve(struct wsm_buf *buf, size_t extra_size) argument
1809 size_t size = pos + extra_size;
/drivers/mtd/chips/
H A Dcfi_cmdset_0001.c383 unsigned int extra_size = 0; local
408 extra_size = 0;
411 extra_size += (extp->NumProtectionFields - 1) *
417 extra_size += 2;
418 if (extp_size < sizeof(*extp) + extra_size)
420 extra_size += extp->extra[extra_size - 1];
427 extra_size += 1;
428 if (extp_size < sizeof(*extp) + extra_size)
430 nb_parts = extp->extra[extra_size
[all...]
/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_main.c951 u32 extra_size = 0; /* Jumbo frame threshold in QWORD unit */ local
955 extra_size = ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN;
957 jumbo_thresh = hw->max_frame_size + extra_size;
960 (hw->max_frame_size + extra_size) * 2 / 3;
962 jumbo_thresh = (hw->max_frame_size + extra_size) / 2;
/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;

Completed in 313 milliseconds