Home
last modified time | relevance | path

Searched refs:drv_info (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/firmware/arm_ffa/
Ddriver.c169 static struct ffa_drv_info *drv_info; variable
280 mutex_lock(&drv_info->rx_lock); in __ffa_partition_info_get()
288 mutex_unlock(&drv_info->rx_lock); in __ffa_partition_info_get()
294 if (drv_info->version > FFA_VERSION_1_0) { in __ffa_partition_info_get()
305 memcpy(buffer + idx, drv_info->rx_buffer + idx * sz, in __ffa_partition_info_get()
310 mutex_unlock(&drv_info->rx_lock); in __ffa_partition_info_get()
495 mem_region->sender_id = drv_info->vm_id; in ffa_setup_and_transmit()
562 buffer = drv_info->tx_buffer; in ffa_memory_ops()
563 mutex_lock(&drv_info->tx_lock); in ffa_memory_ops()
569 mutex_unlock(&drv_info->tx_lock); in ffa_memory_ops()
[all …]
/linux-6.1.9/drivers/net/ethernet/brocade/bna/
Dbnad_debugfs.c185 struct bnad_debug_info *drv_info; in bnad_debugfs_open_drvinfo() local
188 drv_info = kzalloc(sizeof(struct bnad_debug_info), GFP_KERNEL); in bnad_debugfs_open_drvinfo()
189 if (!drv_info) in bnad_debugfs_open_drvinfo()
192 drv_info->buffer_len = sizeof(struct bnad_drvinfo); in bnad_debugfs_open_drvinfo()
194 drv_info->debug_buffer = kzalloc(drv_info->buffer_len, GFP_KERNEL); in bnad_debugfs_open_drvinfo()
195 if (!drv_info->debug_buffer) { in bnad_debugfs_open_drvinfo()
196 kfree(drv_info); in bnad_debugfs_open_drvinfo()
197 drv_info = NULL; in bnad_debugfs_open_drvinfo()
202 rc = bnad_get_debug_drvinfo(bnad, drv_info->debug_buffer, in bnad_debugfs_open_drvinfo()
203 drv_info->buffer_len); in bnad_debugfs_open_drvinfo()
[all …]
/linux-6.1.9/drivers/net/wireless/ath/ath9k/
Dhtc_drv_init.c141 u32 drv_info) in ath9k_init_htc_services() argument
205 if (IS_AR7010_DEVICE(drv_info)) in ath9k_init_htc_services()
608 u32 drv_info) in ath9k_init_priv() argument
621 ah->hw_version.usbdev = drv_info; in ath9k_init_priv()
829 u16 devid, char *product, u32 drv_info) in ath9k_init_device() argument
839 error = ath9k_init_priv(priv, devid, product, drv_info); in ath9k_init_device()
932 u16 devid, char *product, u32 drv_info) in ath9k_htc_probe_device() argument
959 ret = ath9k_init_htc_services(priv, devid, drv_info); in ath9k_htc_probe_device()
963 ret = ath9k_init_device(priv, devid, product, drv_info); in ath9k_htc_probe_device()
Dhtc_hst.c519 char *product, u32 drv_info) in ath9k_htc_hw_init() argument
521 if (ath9k_htc_probe_device(target, dev, devid, product, drv_info)) { in ath9k_htc_hw_init()
Dhtc_hst.h227 u32 drv_info);
Dhtc.h637 u16 devid, char *product, u32 drv_info);
/linux-6.1.9/drivers/scsi/mpi3mr/
Dmpi3mr_fw.c3112 struct mpi3_driver_info_layout *drv_info; in mpi3mr_issue_iocinit() local
3114 u32 data_len = sizeof(*drv_info); in mpi3mr_issue_iocinit()
3118 drv_info = dma_alloc_coherent(&mrioc->pdev->dev, data_len, &data_dma, in mpi3mr_issue_iocinit()
3120 if (!drv_info) { in mpi3mr_issue_iocinit()
3126 drv_info->information_length = cpu_to_le32(data_len); in mpi3mr_issue_iocinit()
3127 strscpy(drv_info->driver_signature, "Broadcom", sizeof(drv_info->driver_signature)); in mpi3mr_issue_iocinit()
3128 strscpy(drv_info->os_name, utsname()->sysname, sizeof(drv_info->os_name)); in mpi3mr_issue_iocinit()
3129 strscpy(drv_info->os_version, utsname()->release, sizeof(drv_info->os_version)); in mpi3mr_issue_iocinit()
3130 strscpy(drv_info->driver_name, MPI3MR_DRIVER_NAME, sizeof(drv_info->driver_name)); in mpi3mr_issue_iocinit()
3131 strscpy(drv_info->driver_version, MPI3MR_DRIVER_VERSION, sizeof(drv_info->driver_version)); in mpi3mr_issue_iocinit()
[all …]
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_main.c3737 if (!SHMEM2_HAS(bp, drv_info)) in bnx2x_update_mfw_dump()
3741 SHMEM2_WR(bp, drv_info.epoc, (u32)ktime_get_real_seconds()); in bnx2x_update_mfw_dump()
3744 SHMEM2_WR(bp, drv_info.drv_ver, drv_ver); in bnx2x_update_mfw_dump()
3746 SHMEM2_WR(bp, drv_info.fw_ver, REG_RD(bp, XSEM_REG_PRAM)); in bnx2x_update_mfw_dump()
3749 valid_dump = SHMEM2_RD(bp, drv_info.valid_dump); in bnx2x_update_mfw_dump()
Dbnx2x_hsi.h2395 struct mdump_driver_info drv_info; /* 0x218 */ member