Searched refs:nres (Results 1 – 12 of 12) sorted by relevance
/drivers/hwtracing/intel_th/ |
D | core.c | 407 struct resource *res, int nres) in intel_th_device_add_resources() argument 411 r = kmemdup(res, sizeof(*res) * nres, GFP_KERNEL); in intel_th_device_add_resources() 416 thdev->num_resources = nres; in intel_th_device_add_resources() 439 unsigned nres; member 447 .nres = 1, 461 .nres = 2, 482 .nres = 2, 503 .nres = 2, 521 .nres = 2, 539 .nres = 1, [all …]
|
/drivers/pci/ |
D | iov.c | 561 int nres; in sriov_enable() local 584 nres = 0; in sriov_enable() 589 nres++; in sriov_enable() 591 if (nres != iov->nres) { in sriov_enable() 703 int nres; in sriov_init() local 745 nres = 0; in sriov_init() 768 nres++; in sriov_init() 772 iov->nres = nres; in sriov_init()
|
D | pci.h | 336 int nres; /* Number of resources */ member
|
/drivers/usb/chipidea/ |
D | ci_hdrc_pci.c | 60 int retval = 0, nres = 2; in ci_hdrc_pci_probe() local 95 ci->ci = ci_hdrc_add_device(&pdev->dev, res, nres, platdata); in ci_hdrc_pci_probe()
|
D | core.c | 853 struct resource *res, int nres, in ci_hdrc_add_device() argument 875 ret = platform_device_add_resources(pdev, res, nres); in ci_hdrc_add_device()
|
/drivers/staging/board/ |
D | board.c | 114 unsigned int nres) in board_staging_gic_fixup_resources() argument 118 for (i = 0; i < nres; i++) in board_staging_gic_fixup_resources()
|
D | board.h | 29 void board_staging_gic_fixup_resources(struct resource *res, unsigned int nres);
|
/drivers/pinctrl/qcom/ |
D | pinctrl-sc8180x.c | 1633 struct resource *mres, *nres, *res; in sc8180x_pinctrl_add_tile_resources() local 1644 nres = devm_kzalloc(&pdev->dev, sizeof(*nres) * nres_num, GFP_KERNEL); in sc8180x_pinctrl_add_tile_resources() 1645 if (!nres) in sc8180x_pinctrl_add_tile_resources() 1648 res = nres; in sc8180x_pinctrl_add_tile_resources() 1677 ret = platform_device_add_resources(pdev, nres, nres_num); in sc8180x_pinctrl_add_tile_resources()
|
/drivers/net/ethernet/qlogic/qed/ |
D | qed_sriov.h | 90 int nres; /* number of resources */ member
|
D | qed_sriov.c | 378 iov->nres, in qed_iov_pci_cfg_info()
|
/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.h | 48 int nres; /* number of resources */ member
|
D | bnx2x_sriov.c | 1152 iov->nres = 0; in bnx2x_sriov_info() 1162 iov->first_vf_in_pf, iov->nres, iov->cap, iov->ctrl, iov->total, in bnx2x_sriov_info()
|