| /linux/drivers/infiniband/sw/siw/ |
| H A D | siw_main.c | 65 struct ib_device *base_dev = &sdev->base_dev; in siw_device_register() local 71 rv = ib_register_device(base_dev, name, NULL); in siw_device_register() 77 siw_dbg(base_dev, "HWaddr=%pM\n", sdev->raw_gid); in siw_device_register() 81 static void siw_device_cleanup(struct ib_device *base_dev) in siw_device_cleanup() argument 83 struct siw_device *sdev = to_siw_dev(base_dev); in siw_device_cleanup() 195 siw_dbg(&sdev->base_dev, in siw_get_tx_cpu() 212 static struct ib_qp *siw_get_base_qp(struct ib_device *base_dev, int id) in siw_get_base_qp() argument 214 struct siw_qp *qp = siw_qp_id2obj(to_siw_dev(base_dev), id); in siw_get_base_qp() 281 struct ib_device *base_dev; in siw_device_create() local 284 sdev = ib_alloc_device(siw_device, base_dev); in siw_device_create() [all …]
|
| H A D | siw_verbs.c | 71 siw_dbg(&uctx->sdev->base_dev, "mmap lookup failed: %lu, %#zx\n", in siw_mmap() 129 int siw_query_device(struct ib_device *base_dev, struct ib_device_attr *attr, in siw_query_device() argument 132 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_device() 171 int siw_query_port(struct ib_device *base_dev, u32 port, in siw_query_port() argument 179 rv = ib_get_eth_speed(base_dev, port, &attr->active_speed, in siw_query_port() 184 ndev = ib_device_get_netdev(base_dev, SIW_PORT); in siw_query_port() 213 int siw_get_port_immutable(struct ib_device *base_dev, u32 port, in siw_get_port_immutable() argument 217 int rv = siw_query_port(base_dev, port, &attr); in siw_get_port_immutable() 228 int siw_query_gid(struct ib_device *base_dev, u32 port, int idx, in siw_query_gid() argument 231 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_gid() [all …]
|
| H A D | siw.h | 74 struct ib_device base_dev; member 579 static inline struct siw_device *to_siw_dev(struct ib_device *base_dev) in to_siw_dev() argument 581 return container_of(base_dev, struct siw_device, base_dev); in to_siw_dev() 705 ibdev_dbg(&qp->sdev->base_dev, "QP[%u] %s: " fmt, qp_id(qp), __func__, \ 717 ibdev_dbg(&mem->sdev->base_dev, \ 721 ibdev_dbg(&cep->sdev->base_dev, "CEP[0x%p] %s: " fmt, \
|
| H A D | siw_mem.c | 333 struct siw_umem *siw_umem_get(struct ib_device *base_dev, u64 start, in siw_umem_get() argument 360 base_mem = ib_umem_get(base_dev, start, len, rights); in siw_umem_get() 363 siw_dbg(base_dev, "Cannot pin user memory: %d\n", rv); in siw_umem_get()
|
| /linux/drivers/nvmem/ |
| H A D | internals.h | 24 struct device *base_dev; member
|
| H A D | core.c | 422 if (!config->base_dev) in nvmem_sysfs_setup_compat() 434 nvmem->base_dev = config->base_dev; in nvmem_sysfs_setup_compat() 436 rval = device_create_bin_file(nvmem->base_dev, &nvmem->eeprom); in nvmem_sysfs_setup_compat() 452 device_remove_bin_file(nvmem->base_dev, &nvmem->eeprom); in nvmem_sysfs_remove_compat() 1058 device_remove_bin_file(nvmem->base_dev, &nvmem->eeprom); in nvmem_device_release()
|
| /linux/net/smc/ |
| H A D | smc_pnet.c | 792 struct net_device *base_dev; in smc_pnet_add_base_pnetid() local 794 base_dev = __pnet_find_base_ndev(dev); in smc_pnet_add_base_pnetid() 795 if (base_dev->flags & IFF_UP && in smc_pnet_add_base_pnetid() 796 !smc_pnetid_by_dev_port(base_dev->dev.parent, base_dev->dev_port, in smc_pnet_add_base_pnetid()
|
| /linux/include/linux/ |
| H A D | nvmem-provider.h | 137 struct device *base_dev; member
|
| /linux/drivers/pmdomain/ |
| H A D | core.c | 1924 struct device *base_dev) in genpd_add_device() argument 1936 gpd_data->cpu = genpd_get_cpu(genpd, base_dev); in genpd_add_device() 3135 struct device *base_dev) in genpd_set_required_opp_dev() argument 3143 if (of_property_present(base_dev->of_node, "#power-domain-cells")) in genpd_set_required_opp_dev() 3146 if (!dev_pm_opp_of_has_required_opp(base_dev)) in genpd_set_required_opp_dev() 3149 ret = dev_pm_opp_set_config(base_dev, &config); in genpd_set_required_opp_dev() 3180 static int __genpd_dev_pm_attach(struct device *dev, struct device *base_dev, in __genpd_dev_pm_attach() argument 3200 return driver_deferred_probe_check_state(base_dev); in __genpd_dev_pm_attach() 3205 ret = genpd_add_device(pd, dev, base_dev); in __genpd_dev_pm_attach() 3220 ret = genpd_set_required_opp_dev(dev, base_dev); in __genpd_dev_pm_attach()
|
| /linux/drivers/rtc/ |
| H A D | rtc-isl12026.c | 437 .base_dev = &client->dev, in isl12026_probe()
|