/linux-4.1.27/drivers/parisc/ |
H A D | iommu-helpers.h | 107 unsigned int max_seg_size = min(dma_get_max_seg_size(dev), iommu_coalesce_chunks() local 111 max_seg_size = min(max_seg_size, max_seg_boundary); iommu_coalesce_chunks() 145 ** exceed max_seg_size if we coalesce the iommu_coalesce_chunks() 149 max_seg_size)) iommu_coalesce_chunks()
|
/linux-4.1.27/net/irda/ircomm/ |
H A D | ircomm_lmp.c | 238 __u32 max_seg_size, ircomm_lmp_connect_confirm() 250 info.max_data_size = max_seg_size; ircomm_lmp_connect_confirm() 269 __u32 max_seg_size, ircomm_lmp_connect_indication() 281 info.max_data_size = max_seg_size; ircomm_lmp_connect_indication() 236 ircomm_lmp_connect_confirm(void *instance, void *sap, struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size, struct sk_buff *skb) ircomm_lmp_connect_confirm() argument 267 ircomm_lmp_connect_indication(void *instance, void *sap, struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size, struct sk_buff *skb) ircomm_lmp_connect_indication() argument
|
/linux-4.1.27/net/irda/ |
H A D | irttp.c | 304 while (skb->len > self->max_seg_size) { irttp_fragment_skb() 308 frag = alloc_skb(self->max_seg_size+self->max_header_size, irttp_fragment_skb() 316 skb_copy_from_linear_data(skb, skb_put(frag, self->max_seg_size), irttp_fragment_skb() 317 self->max_seg_size); irttp_fragment_skb() 324 skb_pull(skb, self->max_seg_size); irttp_fragment_skb() 567 if (skb->len > self->max_seg_size) { irttp_udata_request() 621 if ((self->tx_max_sdu_size == 0) && (skb->len > self->max_seg_size)) { irttp_data_request() 656 if ((self->tx_max_sdu_size == 0) || (skb->len < self->max_seg_size)) { irttp_data_request() 1185 struct qos_info *qos, __u32 max_seg_size, irttp_connect_confirm() 1200 self->max_seg_size = max_seg_size - TTP_HEADER; irttp_connect_confirm() 1268 struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size, irttp_connect_indication() 1286 self->max_seg_size = max_seg_size - TTP_HEADER; irttp_connect_indication() 1858 seq_printf(seq, " max_seg_size: %u, ", irttp_seq_show() 1859 self->max_seg_size); irttp_seq_show() 1184 irttp_connect_confirm(void *instance, void *sap, struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size, struct sk_buff *skb) irttp_connect_confirm() argument 1267 irttp_connect_indication(void *instance, void *sap, struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size, struct sk_buff *skb) irttp_connect_indication() argument
|
H A D | iriap.c | 740 struct qos_info *qos, __u32 max_seg_size, iriap_connect_confirm() 752 self->max_data_size = max_seg_size; iriap_connect_confirm() 770 struct qos_info *qos, __u32 max_seg_size, iriap_connect_indication() 796 new->max_data_size = max_seg_size; iriap_connect_indication() 739 iriap_connect_confirm(void *instance, void *sap, struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size, struct sk_buff *skb) iriap_connect_confirm() argument 769 iriap_connect_indication(void *instance, void *sap, struct qos_info *qos, __u32 max_seg_size, __u8 max_header_size, struct sk_buff *skb) iriap_connect_indication() argument
|
H A D | irlmp.c | 513 int max_seg_size; irlmp_connect_indication() local 532 max_seg_size = self->lap->qos->data_size.value-LMP_HEADER; irlmp_connect_indication() 543 &self->qos, max_seg_size, irlmp_connect_indication() 588 int max_seg_size; irlmp_connect_confirm() local 597 max_seg_size = self->lap->qos->data_size.value-LMP_HEADER; irlmp_connect_confirm() 611 &self->qos, max_seg_size, irlmp_connect_confirm()
|
/linux-4.1.27/drivers/mmc/host/ |
H A D | mmci.c | 468 unsigned int max_seg_size = dma_get_max_seg_size(dev); mmci_dma_setup() local 470 if (max_seg_size < host->mmc->max_seg_size) mmci_dma_setup() 471 host->mmc->max_seg_size = max_seg_size; mmci_dma_setup() 475 unsigned int max_seg_size = dma_get_max_seg_size(dev); mmci_dma_setup() local 477 if (max_seg_size < host->mmc->max_seg_size) mmci_dma_setup() 478 host->mmc->max_seg_size = max_seg_size; mmci_dma_setup() 1663 mmc->max_seg_size = mmc->max_req_size; mmci_probe()
|
H A D | wmt-sdmmc.c | 183 u32 max_seg_size; member in struct:wmt_mci_caps 742 .max_seg_size = 65024, 797 mmc->max_seg_size = wmt_caps->max_seg_size; wmt_mci_probe()
|
H A D | android-goldfish.c | 503 * NOTE max_seg_size assumption that small blocks aren't goldfish_mmc_probe() 510 mmc->max_seg_size = mmc->max_req_size; goldfish_mmc_probe()
|
H A D | bfin_sdh.c | 550 mmc->max_seg_size = -1; sdh_probe() 552 mmc->max_seg_size = 1 << 16; sdh_probe()
|
H A D | au1xmmc.c | 1008 mmc->max_seg_size = AU1100_MMC_DESCRIPTOR_SIZE; au1xmmc_probe() 1011 mmc->max_seg_size = AU1200_MMC_DESCRIPTOR_SIZE; au1xmmc_probe() 1015 mmc->max_seg_size = AU1200_MMC_DESCRIPTOR_SIZE; au1xmmc_probe()
|
H A D | davinci_mmc.c | 1336 mmc->max_seg_size = MAX_CCNT * rw_threshold; davinci_mmcsd_probe() 1346 dev_dbg(mmc_dev(host->mmc), "max_seg_size=%d\n", mmc->max_seg_size); davinci_mmcsd_probe()
|
H A D | sdricoh_cs.c | 447 mmc->max_seg_size = 1024 * 512; sdricoh_init_mmc()
|
H A D | ushc.c | 457 mmc->max_seg_size = 512*511; ushc_probe()
|
H A D | mxcmmc.c | 1056 mmc->max_seg_size = mmc->max_req_size; mxcmci_probe() 1144 mmc->max_seg_size = dma_get_max_seg_size( mxcmci_probe()
|
H A D | omap.c | 1255 * NOTE max_seg_size assumption that small blocks aren't mmc_omap_new_slot() 1262 mmc->max_seg_size = mmc->max_req_size; mmc_omap_new_slot()
|
H A D | sunxi-mmc.c | 1028 mmc->max_seg_size = (1 << host->idma_des_size_bits); sunxi_mmc_probe() 1029 mmc->max_req_size = mmc->max_seg_size * mmc->max_segs; sunxi_mmc_probe()
|
H A D | tifm_sd.c | 982 mmc->max_seg_size = mmc->max_blk_count * mmc->max_blk_size; tifm_sd_probe() 983 mmc->max_req_size = mmc->max_seg_size; tifm_sd_probe()
|
H A D | via-sdmmc.c | 1056 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; via_init_mmc_host() 1057 mmc->max_req_size = mmc->max_seg_size; via_init_mmc_host()
|
H A D | dw_mmc.c | 2436 mmc->max_seg_size = host->pdata->blk_settings->max_seg_size; dw_mci_init_slot() 2442 mmc->max_seg_size = DW_MCI_DESC_DATA_LENGTH; dw_mci_init_slot() 2443 mmc->max_req_size = mmc->max_seg_size * host->ring_size; dw_mci_init_slot() 2450 mmc->max_seg_size = mmc->max_req_size; dw_mci_init_slot()
|
H A D | mvsdio.c | 744 mmc->max_seg_size = mmc->max_blk_size * mmc->max_blk_count; mvsd_probe()
|
H A D | mxs-mmc.c | 660 mmc->max_seg_size = dma_get_max_seg_size(ssp->dmach->device->dev); mxs_mmc_probe()
|
H A D | pxamci.c | 660 mmc->max_seg_size = PAGE_SIZE; pxamci_probe()
|
H A D | usdhi6rol0.c | 1789 * Setting .max_seg_size to 1 page would simplify our page-mapping code, usdhi6_probe() 1796 mmc->max_seg_size = mmc->max_req_size; usdhi6_probe()
|
H A D | sdhci.c | 3374 mmc->max_seg_size = 65535; sdhci_add_host() 3376 mmc->max_seg_size = 65536; sdhci_add_host() 3378 mmc->max_seg_size = mmc->max_req_size; sdhci_add_host()
|
H A D | jz4740_mmc.c | 1055 mmc->max_seg_size = mmc->max_req_size; jz4740_mmc_probe()
|
H A D | rtsx_pci_sdmmc.c | 1372 mmc->max_seg_size = 65536; realtek_init_host()
|
H A D | rtsx_usb_sdmmc.c | 1345 mmc->max_seg_size = 65536; rtsx_usb_init_host()
|
H A D | tmio_mmc_pio.c | 1125 mmc->max_seg_size = mmc->max_req_size; tmio_mmc_host_probe()
|
H A D | s3cmci.c | 1735 mmc->max_seg_size = mmc->max_req_size; s3cmci_probe()
|
H A D | sh_mmcif.c | 1429 mmc->max_seg_size = mmc->max_req_size; sh_mmcif_probe()
|
H A D | wbsd.c | 1248 mmc->max_seg_size = mmc->max_req_size; wbsd_alloc_mmc()
|
H A D | omap_hsmmc.c | 2035 mmc->max_seg_size = mmc->max_req_size; omap_hsmmc_probe()
|
H A D | vub300.c | 2165 mmc->max_seg_size = mmc->max_req_size; vub300_probe()
|
H A D | atmel-mci.c | 2196 mmc->max_seg_size = mmc->max_blk_size * mmc->max_segs; atmci_init_slot()
|
/linux-4.1.27/include/net/irda/ |
H A D | irttp.h | 132 __u32 max_seg_size; /* Max data that fit into an IrLAP frame */ member in struct:tsap_cb 184 return self->max_seg_size; irttp_get_max_seg_size()
|
/linux-4.1.27/drivers/mmc/card/ |
H A D | queue.c | 225 if (bouncesz > host->max_seg_size) mmc_init_queue() 226 bouncesz = host->max_seg_size; mmc_init_queue() 279 blk_queue_max_segment_size(mq->queue, host->max_seg_size); mmc_init_queue()
|
H A D | mmc_test.c | 1061 size = min(size, test->card->host->max_seg_size); mmc_test_multi_write() 1087 size = min(size, test->card->host->max_seg_size); mmc_test_multi_read() 1215 size = min(size, test->card->host->max_seg_size); mmc_test_align_multi_write() 1242 size = min(size, test->card->host->max_seg_size); mmc_test_align_multi_read() 1367 size = min(size, test->card->host->max_seg_size); mmc_test_multi_write_high() 1394 size = min(size, test->card->host->max_seg_size); mmc_test_multi_read_high() 1585 t->max_seg_sz = test->card->host->max_seg_size; mmc_test_area_init()
|
/linux-4.1.27/drivers/mmc/core/ |
H A D | sdio_ops.c | 130 unsigned int seg_size = card->host->max_seg_size; mmc_io_rw_extended()
|
H A D | host.c | 513 host->max_seg_size = PAGE_CACHE_SIZE; mmc_alloc_host()
|
/linux-4.1.27/arch/x86/kernel/ |
H A D | amd_gart_64.c | 396 unsigned int max_seg_size; gart_map_sg() local 409 max_seg_size = dma_get_max_seg_size(dev); gart_map_sg() 428 (s->length + seg_size > max_seg_size) || for_each_sg()
|
/linux-4.1.27/arch/sparc/kernel/ |
H A D | iommu.c | 439 unsigned int max_seg_size; dma_4u_map_sg() local 474 max_seg_size = dma_get_max_seg_size(dev); dma_4u_map_sg() 523 (outs->dma_length + s->length > max_seg_size) || for_each_sg()
|
H A D | pci_sun4v.c | 330 unsigned int max_seg_size; dma_4v_map_sg() local 359 max_seg_size = dma_get_max_seg_size(dev); dma_4v_map_sg() 407 (outs->dma_length + s->length > max_seg_size) || for_each_sg()
|
/linux-4.1.27/include/linux/mmc/ |
H A D | dw_mmc.h | 243 unsigned int max_seg_size; /* see blk_queue_max_segment_size */ member in struct:block_settings
|
H A D | host.h | 304 unsigned int max_seg_size; /* see blk_queue_max_segment_size */ member in struct:mmc_host
|
/linux-4.1.27/arch/powerpc/kernel/ |
H A D | iommu.c | 441 unsigned int max_seg_size; ppc_iommu_map_sg() local 458 max_seg_size = dma_get_max_seg_size(dev); for_each_sg() 511 (outs->dma_length + s->length > max_seg_size)) { for_each_sg()
|
/linux-4.1.27/arch/alpha/kernel/ |
H A D | pci_iommu.c | 511 unsigned int max_seg_size; sg_classify() 519 max_seg_size = dev ? dma_get_max_seg_size(dev) : 0; sg_classify() 525 if (leader_length + len > max_seg_size) sg_classify() 510 unsigned int max_seg_size; sg_classify() local
|
/linux-4.1.27/arch/ia64/hp/common/ |
H A D | sba_iommu.c | 1334 unsigned int max_seg_size = dma_get_max_seg_size(dev); sba_coalesce_chunks() local 1375 if (dma_len + startsg->length > max_seg_size) sba_coalesce_chunks()
|
/linux-4.1.27/drivers/net/wireless/brcm80211/brcmfmac/ |
H A D | bcmsdh.c | 1062 sdiodev->max_segment_size = host->max_seg_size; brcmf_sdiod_probe()
|