Home
last modified time | relevance | path

Searched refs:base_dev (Results 1 – 13 of 13) sorted by relevance

/kernel/linux/linux-5.10/drivers/infiniband/sw/siw/
Dsiw_main.c66 struct ib_device *base_dev = &sdev->base_dev; in siw_device_register() local
72 rv = ib_register_device(base_dev, name, NULL); in siw_device_register()
78 siw_dbg(base_dev, "HWaddr=%pM\n", sdev->netdev->dev_addr); in siw_device_register()
83 static void siw_device_cleanup(struct ib_device *base_dev) in siw_device_cleanup() argument
85 struct siw_device *sdev = to_siw_dev(base_dev); in siw_device_cleanup()
222 siw_dbg(&sdev->base_dev, in siw_get_tx_cpu()
239 static struct ib_qp *siw_get_base_qp(struct ib_device *base_dev, int id) in siw_get_base_qp() argument
241 struct siw_qp *qp = siw_qp_id2obj(to_siw_dev(base_dev), id); in siw_get_base_qp()
307 struct ib_device *base_dev; in siw_device_create() local
310 sdev = ib_alloc_device(siw_device, base_dev); in siw_device_create()
[all …]
Dsiw_verbs.h39 int siw_query_port(struct ib_device *base_dev, u8 port,
41 int siw_get_port_immutable(struct ib_device *base_dev, u8 port,
43 int siw_query_device(struct ib_device *base_dev, struct ib_device_attr *attr,
47 int siw_query_port(struct ib_device *base_dev, u8 port,
49 int siw_query_gid(struct ib_device *base_dev, u8 port, int idx,
Dsiw_verbs.c61 siw_dbg(&uctx->sdev->base_dev, "mmap lookup failed: %lu, %#zx\n", in siw_mmap()
122 int siw_query_device(struct ib_device *base_dev, struct ib_device_attr *attr, in siw_query_device() argument
125 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_device()
163 int siw_query_port(struct ib_device *base_dev, u8 port, in siw_query_port() argument
166 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_port()
171 rv = ib_get_eth_speed(base_dev, port, &attr->active_speed, in siw_query_port()
197 int siw_get_port_immutable(struct ib_device *base_dev, u8 port, in siw_get_port_immutable() argument
201 int rv = siw_query_port(base_dev, port, &attr); in siw_get_port_immutable()
212 int siw_query_gid(struct ib_device *base_dev, u8 port, int idx, in siw_query_gid() argument
215 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_gid()
[all …]
Dsiw.h71 struct ib_device base_dev; member
580 static inline struct siw_device *to_siw_dev(struct ib_device *base_dev) in to_siw_dev() argument
582 return container_of(base_dev, struct siw_device, base_dev); in to_siw_dev()
707 ibdev_dbg(&qp->sdev->base_dev, "QP[%u] %s: " fmt, qp_id(qp), __func__, \
719 ibdev_dbg(&mem->sdev->base_dev, \
723 ibdev_dbg(&cep->sdev->base_dev, "CEP[0x%pK] %s: " fmt, \
/kernel/linux/linux-5.10/include/linux/
Dnvmem-provider.h81 struct device *base_dev; member
/kernel/linux/linux-5.10/drivers/nvmem/
Dcore.c35 struct device *base_dev; member
277 if (!config->base_dev) in nvmem_sysfs_setup_compat()
287 nvmem->base_dev = config->base_dev; in nvmem_sysfs_setup_compat()
289 rval = device_create_bin_file(nvmem->base_dev, &nvmem->eeprom); in nvmem_sysfs_setup_compat()
305 device_remove_bin_file(nvmem->base_dev, &nvmem->eeprom); in nvmem_sysfs_remove_compat()
735 device_remove_bin_file(nvmem->base_dev, &nvmem->eeprom); in nvmem_device_release()
/kernel/linux/linux-5.10/net/smc/
Dsmc_pnet.c782 struct net_device *base_dev; in smc_pnet_add_base_pnetid() local
784 base_dev = __pnet_find_base_ndev(dev); in smc_pnet_add_base_pnetid()
785 if (base_dev->flags & IFF_UP && in smc_pnet_add_base_pnetid()
786 !smc_pnetid_by_dev_port(base_dev->dev.parent, base_dev->dev_port, in smc_pnet_add_base_pnetid()
/kernel/linux/linux-5.10/drivers/misc/eeprom/
Dat25.c358 at25->nvmem_config.base_dev = &spi->dev; in at25_probe()
Deeprom_93xx46.c480 edev->nvmem_config.base_dev = &spi->dev; in eeprom_93xx46_probe()
Dat24.c740 nvmem_config.base_dev = dev; in at24_probe()
/kernel/linux/linux-5.10/drivers/base/power/
Ddomain.c1519 struct device *base_dev) in genpd_add_device() argument
1533 gpd_data->cpu = genpd_get_cpu(genpd, base_dev); in genpd_add_device()
2571 static int __genpd_dev_pm_attach(struct device *dev, struct device *base_dev, in __genpd_dev_pm_attach() argument
2590 return driver_deferred_probe_check_state(base_dev); in __genpd_dev_pm_attach()
2595 ret = genpd_add_device(pd, dev, base_dev); in __genpd_dev_pm_attach()
/kernel/linux/linux-5.10/drivers/rtc/
Drtc-isl12026.c438 .base_dev = &client->dev, in isl12026_probe_new()
/kernel/linux/linux-5.10/drivers/media/i2c/
Dov2740.c1046 nvmem_config.base_dev = dev; in ov2740_register_nvmem()