Home
last modified time | relevance | path

Searched refs:priv_size (Results 1 – 25 of 98) sorted by relevance

1234

/drivers/mmc/host/
Dsdhci-pltfm.c118 size_t priv_size) in sdhci_pltfm_init() argument
137 sizeof(struct sdhci_pltfm_host) + priv_size); in sdhci_pltfm_init()
175 size_t priv_size) in sdhci_pltfm_register() argument
180 host = sdhci_pltfm_init(pdev, pdata, priv_size); in sdhci_pltfm_register()
Dsdhci-acpi.c65 size_t priv_size; member
441 .priv_size = sizeof(struct intel_host),
455 .priv_size = sizeof(struct intel_host),
468 .priv_size = sizeof(struct intel_host),
529 .priv_size = sizeof(int),
748 .priv_size = sizeof(struct amd_sdhci_host),
860 size_t priv_size; in sdhci_acpi_probe() local
896 priv_size = slot ? slot->priv_size : 0; in sdhci_acpi_probe()
897 host = sdhci_alloc_host(dev, sizeof(struct sdhci_acpi_host) + priv_size); in sdhci_acpi_probe()
Dsdhci-pltfm.h99 size_t priv_size);
104 size_t priv_size);
Dsdhci-pci-core.c1243 .priv_size = sizeof(struct intel_host),
1265 .priv_size = sizeof(struct intel_host),
1284 .priv_size = sizeof(struct intel_host),
1303 .priv_size = sizeof(struct intel_host),
1324 .priv_size = sizeof(struct intel_host),
2127 size_t priv_size = chip->fixes ? chip->fixes->priv_size : 0; in sdhci_pci_probe_slot() local
2149 host = sdhci_alloc_host(&pdev->dev, sizeof(*slot) + priv_size); in sdhci_pci_probe_slot()
Dsdhci-pci.h154 size_t priv_size; member
/drivers/net/ethernet/wiznet/
Dw5100-spi.c428 int priv_size; in w5100_spi_probe() local
447 priv_size = 0; in w5100_spi_probe()
451 priv_size = sizeof(struct w5200_spi_priv); in w5100_spi_probe()
455 priv_size = sizeof(struct w5500_spi_priv); in w5100_spi_probe()
461 return w5100_probe(&spi->dev, ops, priv_size, mac, spi->irq, -EINVAL); in w5100_spi_probe()
/drivers/net/ethernet/cavium/liquidio/
Docteon_device.c666 u32 priv_size) in octeon_allocate_device_mem() argument
698 if (priv_size & 0x7) in octeon_allocate_device_mem()
699 priv_size += (8 - (priv_size & 0x7)); in octeon_allocate_device_mem()
701 size = octdevsize + priv_size + configsize + in octeon_allocate_device_mem()
710 oct->chip = (void *)(buf + octdevsize + priv_size); in octeon_allocate_device_mem()
712 (buf + octdevsize + priv_size + configsize); in octeon_allocate_device_mem()
718 u32 priv_size) in octeon_allocate_device() argument
730 oct = octeon_allocate_device_mem(pci_id, priv_size); in octeon_allocate_device()
/drivers/dma/bestcomm/
Dbestcomm.c50 bcom_task_alloc(int bd_count, int bd_size, int priv_size) in bcom_task_alloc() argument
75 tsk = kzalloc(sizeof(struct bcom_task) + priv_size, GFP_KERNEL); in bcom_task_alloc()
80 if (priv_size) in bcom_task_alloc()
/drivers/net/wireless/intel/iwlwifi/
Diwl-trans.c18 struct iwl_trans *iwl_trans_alloc(unsigned int priv_size, in iwl_trans_alloc() argument
28 trans = devm_kzalloc(dev, sizeof(*trans) + priv_size, GFP_KERNEL); in iwl_trans_alloc()
/drivers/net/team/
Dteam_mode_roundrobin.c55 .priv_size = sizeof(struct rr_priv),
Dteam_mode_activebackup.c124 .priv_size = sizeof(struct ab_priv),
/drivers/net/phy/
Dphy_device.c1603 int phy_package_join(struct phy_device *phydev, int addr, size_t priv_size) in phy_package_join() argument
1619 if (priv_size) { in phy_package_join()
1620 shared->priv = kzalloc(priv_size, GFP_KERNEL); in phy_package_join()
1623 shared->priv_size = priv_size; in phy_package_join()
1630 if (priv_size && priv_size != shared->priv_size) in phy_package_join()
1692 int addr, size_t priv_size) in devm_phy_package_join() argument
1702 ret = phy_package_join(phydev, addr, priv_size); in devm_phy_package_join()
/drivers/dca/
Ddca-core.c309 int priv_size) in alloc_dca_provider() argument
314 alloc_size = (sizeof(*dca) + priv_size); in alloc_dca_provider()
/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_kvdl.c23 kvdl = kzalloc(sizeof(*mlxsw_sp->kvdl) + kvdl_ops->priv_size, in mlxsw_sp_kvdl_init()
Dspectrum_mr.h42 int priv_size; member
/drivers/net/
Dvsockmon.c119 .priv_size = sizeof(struct vsockmon),
Dnlmon.c114 .priv_size = sizeof(struct nlmon),
/drivers/net/can/
Dvcan.c168 .priv_size = sizeof(struct can_ml_priv),
/drivers/net/wwan/
Dwwan_core.c825 unsigned int priv_size; in wwan_rtnl_alloc() local
836 priv_size = sizeof(struct wwan_netdev_priv) + wwandev->ops->priv_size; in wwan_rtnl_alloc()
837 dev = alloc_netdev_mqs(priv_size, ifname, name_assign_type, in wwan_rtnl_alloc()
/drivers/net/wireless/ralink/rt2x00/
Drt2800mmio.c577 queue->priv_size = sizeof(struct queue_entry_priv_mmio); in rt2800mmio_queue_init()
588 queue->priv_size = sizeof(struct queue_entry_priv_mmio); in rt2800mmio_queue_init()
596 queue->priv_size = sizeof(struct queue_entry_priv_mmio); in rt2800mmio_queue_init()
Drt2800usb.c726 queue->priv_size = sizeof(struct queue_entry_priv_usb); in rt2800usb_queue_init()
737 queue->priv_size = sizeof(struct queue_entry_priv_usb); in rt2800usb_queue_init()
745 queue->priv_size = sizeof(struct queue_entry_priv_usb); in rt2800usb_queue_init()
/drivers/net/wireless/ath/ath10k/
Dmac.h31 struct ath10k *ath10k_mac_create(size_t priv_size);
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_validation.h230 size_t priv_size,
/drivers/net/ethernet/rocker/
Drocker.h92 size_t priv_size; member
/drivers/infiniband/ulp/ipoib/
Dipoib_netlink.c174 .priv_size = sizeof(struct ipoib_dev_priv),

1234