Home
last modified time | relevance | path

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

/linux-6.6.21/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->raw_gid); in siw_device_register()
82 static void siw_device_cleanup(struct ib_device *base_dev) in siw_device_cleanup() argument
84 struct siw_device *sdev = to_siw_dev(base_dev); in siw_device_cleanup()
198 siw_dbg(&sdev->base_dev, in siw_get_tx_cpu()
215 static struct ib_qp *siw_get_base_qp(struct ib_device *base_dev, int id) in siw_get_base_qp() argument
217 struct siw_qp *qp = siw_qp_id2obj(to_siw_dev(base_dev), id); in siw_get_base_qp()
284 struct ib_device *base_dev; in siw_device_create() local
287 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, u32 port,
41 int siw_get_port_immutable(struct ib_device *base_dev, u32 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, u32 port,
49 int siw_query_gid(struct ib_device *base_dev, u32 port, int idx,
Dsiw_verbs.c62 siw_dbg(&uctx->sdev->base_dev, "mmap lookup failed: %lu, %#zx\n", in siw_mmap()
123 int siw_query_device(struct ib_device *base_dev, struct ib_device_attr *attr, in siw_query_device() argument
126 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_device()
165 int siw_query_port(struct ib_device *base_dev, u32 port, in siw_query_port() argument
168 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_port()
173 rv = ib_get_eth_speed(base_dev, port, &attr->active_speed, in siw_query_port()
199 int siw_get_port_immutable(struct ib_device *base_dev, u32 port, in siw_get_port_immutable() argument
203 int rv = siw_query_port(base_dev, port, &attr); in siw_get_port_immutable()
214 int siw_query_gid(struct ib_device *base_dev, u32 port, int idx, in siw_query_gid() argument
217 struct siw_device *sdev = to_siw_dev(base_dev); in siw_query_gid()
[all …]
Dsiw.h71 struct ib_device base_dev; member
583 static inline struct siw_device *to_siw_dev(struct ib_device *base_dev) in to_siw_dev() argument
585 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%pK] %s: " fmt, \
/linux-6.6.21/include/linux/
Dnvmem-provider.h132 struct device *base_dev; member
/linux-6.6.21/net/smc/
Dsmc_pnet.c792 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-6.6.21/drivers/nvmem/
Dcore.c35 struct device *base_dev; member
374 if (!config->base_dev) in nvmem_sysfs_setup_compat()
387 nvmem->base_dev = config->base_dev; in nvmem_sysfs_setup_compat()
389 rval = device_create_bin_file(nvmem->base_dev, &nvmem->eeprom); in nvmem_sysfs_setup_compat()
405 device_remove_bin_file(nvmem->base_dev, &nvmem->eeprom); in nvmem_sysfs_remove_compat()
1050 device_remove_bin_file(nvmem->base_dev, &nvmem->eeprom); in nvmem_device_release()
/linux-6.6.21/drivers/base/power/
Ddomain.c1627 struct device *base_dev) in genpd_add_device() argument
1639 gpd_data->cpu = genpd_get_cpu(genpd, base_dev); in genpd_add_device()
2727 static int __genpd_dev_pm_attach(struct device *dev, struct device *base_dev, in __genpd_dev_pm_attach() argument
2747 return driver_deferred_probe_check_state(base_dev); in __genpd_dev_pm_attach()
2752 ret = genpd_add_device(pd, dev, base_dev); in __genpd_dev_pm_attach()
/linux-6.6.21/drivers/rtc/
Drtc-isl12026.c437 .base_dev = &client->dev, in isl12026_probe()
/linux-6.6.21/drivers/misc/eeprom/
Dat25.c493 at25->nvmem_config.base_dev = &spi->dev; in at25_probe()
Deeprom_93xx46.c532 edev->nvmem_config.base_dev = &spi->dev; in eeprom_93xx46_probe()
Dat24.c737 nvmem_config.base_dev = dev; in at24_probe()
/linux-6.6.21/drivers/media/i2c/
Dov2740.c1117 nvmem_config.base_dev = dev; in ov2740_register_nvmem()