Home
last modified time | relevance | path

Searched refs:extra_size (Results 1 – 5 of 5) sorted by relevance

/drivers/mtd/chips/
Dcfi_cmdset_0001.c395 unsigned int extra_size = 0; in read_pri_intelext() local
420 extra_size = 0; in read_pri_intelext()
423 extra_size += (extp->NumProtectionFields - 1) * in read_pri_intelext()
429 extra_size += 2; in read_pri_intelext()
430 if (extp_size < sizeof(*extp) + extra_size) in read_pri_intelext()
432 extra_size += extp->extra[extra_size - 1]; in read_pri_intelext()
439 extra_size += 1; in read_pri_intelext()
440 if (extp_size < sizeof(*extp) + extra_size) in read_pri_intelext()
442 nb_parts = extp->extra[extra_size - 1]; in read_pri_intelext()
446 extra_size += 2; in read_pri_intelext()
[all …]
/drivers/media/usb/uvc/
Duvc_driver.c864 unsigned int num_pads, unsigned int extra_size) in uvc_alloc_entity() argument
871 extra_size = roundup(extra_size, sizeof(*entity->pads)); in uvc_alloc_entity()
876 size = sizeof(*entity) + extra_size + sizeof(*entity->pads) * num_pads in uvc_alloc_entity()
887 entity->pads = ((void *)(entity + 1)) + extra_size; in uvc_alloc_entity()
/drivers/scsi/
Dstex.c211 __le32 extra_size; /* NEW */ member
1002 h->extra_size = cpu_to_le32(hba->dma_size - hba->extra_offset); in stex_common_handshake()
1004 h->extra_offset = h->extra_size = 0; in stex_common_handshake()
1074 h->extra_offset = h->extra_size = 0; in stex_ss_handshake()
/drivers/net/ethernet/atheros/atl1e/
Datl1e_main.c953 u32 extra_size = 0; /* Jumbo frame threshold in QWORD unit */ in atl1e_configure_tx() local
957 extra_size = ETH_HLEN + VLAN_HLEN + ETH_FCS_LEN; in atl1e_configure_tx()
959 jumbo_thresh = hw->max_frame_size + extra_size; in atl1e_configure_tx()
962 (hw->max_frame_size + extra_size) * 2 / 3; in atl1e_configure_tx()
964 jumbo_thresh = (hw->max_frame_size + extra_size) / 2; in atl1e_configure_tx()
/drivers/net/wireless/cw1200/
Dwsm.c82 static int wsm_buf_reserve(struct wsm_buf *buf, size_t extra_size);
1804 static int wsm_buf_reserve(struct wsm_buf *buf, size_t extra_size) in wsm_buf_reserve() argument
1807 size_t size = pos + extra_size; in wsm_buf_reserve()