Home
last modified time | relevance | path

Searched refs:drv_info (Results 1 - 16 of 16) sorted by relevance

/kernel/linux/linux-6.6/drivers/firmware/arm_ffa/
H A Ddriver.c88 static struct ffa_drv_info *drv_info; variable
196 if (drv_info->version > FFA_VERSION_1_0 && in __ffa_partition_info_get()
200 mutex_lock(&drv_info->rx_lock); in __ffa_partition_info_get()
208 mutex_unlock(&drv_info->rx_lock); in __ffa_partition_info_get()
214 if (drv_info->version > FFA_VERSION_1_0) { in __ffa_partition_info_get()
225 memcpy(buffer + idx, drv_info->rx_buffer + idx * sz, in __ffa_partition_info_get()
230 mutex_unlock(&drv_info->rx_lock); in __ffa_partition_info_get()
428 mem_region->sender_id = drv_info->vm_id; in ffa_setup_and_transmit()
501 buffer = drv_info->tx_buffer; in ffa_memory_ops()
502 mutex_lock(&drv_info in ffa_memory_ops()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/brocade/bna/
H A 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 in bnad_debugfs_open_drvinfo()
[all...]
/kernel/linux/linux-6.6/drivers/net/ethernet/brocade/bna/
H A 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 in bnad_debugfs_open_drvinfo()
[all...]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_init.c141 u32 drv_info) in ath9k_init_htc_services()
205 if (IS_AR7010_DEVICE(drv_info)) in ath9k_init_htc_services()
608 u32 drv_info) in ath9k_init_priv()
621 ah->hw_version.usbdev = drv_info; in ath9k_init_priv()
829 u16 devid, char *product, u32 drv_info) in ath9k_init_device()
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()
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()
140 ath9k_init_htc_services(struct ath9k_htc_priv *priv, u16 devid, u32 drv_info) ath9k_init_htc_services() argument
606 ath9k_init_priv(struct ath9k_htc_priv *priv, u16 devid, char *product, u32 drv_info) ath9k_init_priv() argument
828 ath9k_init_device(struct ath9k_htc_priv *priv, u16 devid, char *product, u32 drv_info) ath9k_init_device() argument
931 ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev, u16 devid, char *product, u32 drv_info) ath9k_htc_probe_device() argument
H A Dhtc_hst.h227 u32 drv_info);
H A Dhtc_hst.c527 char *product, u32 drv_info) in ath9k_htc_hw_init()
529 if (ath9k_htc_probe_device(target, dev, devid, product, drv_info)) { in ath9k_htc_hw_init()
525 ath9k_htc_hw_init(struct htc_target *target, struct device *dev, u16 devid, char *product, u32 drv_info) ath9k_htc_hw_init() argument
H A Dhtc.h637 u16 devid, char *product, u32 drv_info);
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath9k/
H A Dhtc_drv_init.c141 u32 drv_info) in ath9k_init_htc_services()
205 if (IS_AR7010_DEVICE(drv_info)) in ath9k_init_htc_services()
608 u32 drv_info) in ath9k_init_priv()
621 ah->hw_version.usbdev = drv_info; in ath9k_init_priv()
829 u16 devid, char *product, u32 drv_info) in ath9k_init_device()
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()
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()
140 ath9k_init_htc_services(struct ath9k_htc_priv *priv, u16 devid, u32 drv_info) ath9k_init_htc_services() argument
606 ath9k_init_priv(struct ath9k_htc_priv *priv, u16 devid, char *product, u32 drv_info) ath9k_init_priv() argument
828 ath9k_init_device(struct ath9k_htc_priv *priv, u16 devid, char *product, u32 drv_info) ath9k_init_device() argument
931 ath9k_htc_probe_device(struct htc_target *htc_handle, struct device *dev, u16 devid, char *product, u32 drv_info) ath9k_htc_probe_device() argument
H A Dhtc_hst.h227 u32 drv_info);
H A Dhtc_hst.c527 char *product, u32 drv_info) in ath9k_htc_hw_init()
529 if (ath9k_htc_probe_device(target, dev, devid, product, drv_info)) { in ath9k_htc_hw_init()
525 ath9k_htc_hw_init(struct htc_target *target, struct device *dev, u16 devid, char *product, u32 drv_info) ath9k_htc_hw_init() argument
H A Dhtc.h637 u16 devid, char *product, u32 drv_info);
/kernel/linux/linux-6.6/drivers/scsi/mpi3mr/
H A Dmpi3mr_fw.c3140 struct mpi3_driver_info_layout *drv_info; in mpi3mr_issue_iocinit() local
3142 u32 data_len = sizeof(*drv_info); in mpi3mr_issue_iocinit()
3146 drv_info = dma_alloc_coherent(&mrioc->pdev->dev, data_len, &data_dma, in mpi3mr_issue_iocinit()
3148 if (!drv_info) { in mpi3mr_issue_iocinit()
3154 drv_info->information_length = cpu_to_le32(data_len); in mpi3mr_issue_iocinit()
3155 strscpy(drv_info->driver_signature, "Broadcom", sizeof(drv_info->driver_signature)); in mpi3mr_issue_iocinit()
3156 strscpy(drv_info->os_name, utsname()->sysname, sizeof(drv_info->os_name)); in mpi3mr_issue_iocinit()
3157 strscpy(drv_info in mpi3mr_issue_iocinit()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c3591 /* if drv_info version supported by MFW doesn't match - send NACK */ in bnx2x_handle_drv_info_req()
3622 /* if we got drv_info attn from MFW then these fields are defined in in bnx2x_handle_drv_info_req()
3738 if (!SHMEM2_HAS(bp, drv_info)) in bnx2x_update_mfw_dump()
3742 SHMEM2_WR(bp, drv_info.epoc, (u32)ktime_get_real_seconds()); in bnx2x_update_mfw_dump()
3745 SHMEM2_WR(bp, drv_info.drv_ver, drv_ver); in bnx2x_update_mfw_dump()
3747 SHMEM2_WR(bp, drv_info.fw_ver, REG_RD(bp, XSEM_REG_PRAM)); in bnx2x_update_mfw_dump()
3750 valid_dump = SHMEM2_RD(bp, drv_info.valid_dump); in bnx2x_update_mfw_dump()
H A Dbnx2x_hsi.h2395 struct mdump_driver_info drv_info; /* 0x218 */ member
/kernel/linux/linux-6.6/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_main.c3589 /* if drv_info version supported by MFW doesn't match - send NACK */ in bnx2x_handle_drv_info_req()
3620 /* if we got drv_info attn from MFW then these fields are defined in in bnx2x_handle_drv_info_req()
3736 if (!SHMEM2_HAS(bp, drv_info)) in bnx2x_update_mfw_dump()
3740 SHMEM2_WR(bp, drv_info.epoc, (u32)ktime_get_real_seconds()); in bnx2x_update_mfw_dump()
3743 SHMEM2_WR(bp, drv_info.drv_ver, drv_ver); in bnx2x_update_mfw_dump()
3745 SHMEM2_WR(bp, drv_info.fw_ver, REG_RD(bp, XSEM_REG_PRAM)); in bnx2x_update_mfw_dump()
3748 valid_dump = SHMEM2_RD(bp, drv_info.valid_dump); in bnx2x_update_mfw_dump()
H A Dbnx2x_hsi.h2395 struct mdump_driver_info drv_info; /* 0x218 */ member

Completed in 80 milliseconds