/kernel/linux/linux-5.10/drivers/scsi/bnx2fc/ |
D | bnx2fc_tgt.c | 19 static int bnx2fc_init_tgt(struct bnx2fc_rport *tgt, 23 struct bnx2fc_rport *tgt); 25 struct bnx2fc_rport *tgt); 27 struct bnx2fc_rport *tgt); 33 struct bnx2fc_rport *tgt = from_timer(tgt, t, upld_timer); in bnx2fc_upld_timer() local 35 BNX2FC_TGT_DBG(tgt, "upld_timer - Upload compl not received!!\n"); in bnx2fc_upld_timer() 37 clear_bit(BNX2FC_FLAG_OFFLOADED, &tgt->flags); in bnx2fc_upld_timer() 38 clear_bit(BNX2FC_FLAG_ENABLED, &tgt->flags); in bnx2fc_upld_timer() 39 set_bit(BNX2FC_FLAG_UPLD_REQ_COMPL, &tgt->flags); in bnx2fc_upld_timer() 40 wake_up_interruptible(&tgt->upld_wait); in bnx2fc_upld_timer() [all …]
|
D | bnx2fc_hwi.c | 172 struct bnx2fc_rport *tgt) in bnx2fc_send_session_ofld_req() argument 183 struct fc_rport_priv *rdata = tgt->rdata; in bnx2fc_send_session_ofld_req() 184 struct fc_rport *rport = tgt->rport; in bnx2fc_send_session_ofld_req() 198 conn_id = (u16)tgt->fcoe_conn_id; in bnx2fc_send_session_ofld_req() 202 ofld_req1.sq_addr_lo = (u32) tgt->sq_dma; in bnx2fc_send_session_ofld_req() 203 ofld_req1.sq_addr_hi = (u32)((u64) tgt->sq_dma >> 32); in bnx2fc_send_session_ofld_req() 205 ofld_req1.rq_pbl_addr_lo = (u32) tgt->rq_pbl_dma; in bnx2fc_send_session_ofld_req() 206 ofld_req1.rq_pbl_addr_hi = (u32)((u64) tgt->rq_pbl_dma >> 32); in bnx2fc_send_session_ofld_req() 208 ofld_req1.rq_first_pbe_addr_lo = (u32) tgt->rq_dma; in bnx2fc_send_session_ofld_req() 210 (u32)((u64) tgt->rq_dma >> 32); in bnx2fc_send_session_ofld_req() [all …]
|
D | bnx2fc_io.c | 45 struct bnx2fc_rport *tgt = io_req->tgt; in bnx2fc_cmd_timeout() local 51 spin_lock_bh(&tgt->tgt_lock); in bnx2fc_cmd_timeout() 58 spin_unlock_bh(&tgt->tgt_lock); in bnx2fc_cmd_timeout() 87 spin_unlock_bh(&tgt->tgt_lock); in bnx2fc_cmd_timeout() 108 spin_unlock_bh(&tgt->tgt_lock); in bnx2fc_cmd_timeout() 125 spin_unlock_bh(&tgt->tgt_lock); in bnx2fc_cmd_timeout() 159 spin_unlock_bh(&tgt->tgt_lock); in bnx2fc_cmd_timeout() 394 struct bnx2fc_cmd *bnx2fc_elstm_alloc(struct bnx2fc_rport *tgt, int type) in bnx2fc_elstm_alloc() argument 396 struct fcoe_port *port = tgt->port; in bnx2fc_elstm_alloc() 407 max_sqes = tgt->max_sqes; in bnx2fc_elstm_alloc() [all …]
|
D | bnx2fc_els.c | 23 static int bnx2fc_initiate_els(struct bnx2fc_rport *tgt, unsigned int op, 64 struct bnx2fc_rport *tgt = aborted_io_req->tgt; in bnx2fc_send_rrq() local 72 if (!test_bit(BNX2FC_FLAG_SESSION_READY, &tgt->flags)) in bnx2fc_send_rrq() 75 lport = tgt->rdata->local_port; in bnx2fc_send_rrq() 76 sid = tgt->sid; in bnx2fc_send_rrq() 98 rc = bnx2fc_initiate_els(tgt, ELS_RRQ, &rrq, sizeof(rrq), in bnx2fc_send_rrq() 115 spin_lock_bh(&tgt->tgt_lock); in bnx2fc_send_rrq() 117 spin_unlock_bh(&tgt->tgt_lock); in bnx2fc_send_rrq() 125 struct bnx2fc_rport *tgt; in bnx2fc_l2_els_compl() local 153 tgt = els_req->tgt; in bnx2fc_l2_els_compl() [all …]
|
D | bnx2fc_debug.c | 41 void BNX2FC_TGT_DBG(const struct bnx2fc_rport *tgt, const char *fmt, ...) in BNX2FC_TGT_DBG() argument 54 if (tgt && tgt->port && tgt->port->lport && tgt->port->lport->host && in BNX2FC_TGT_DBG() 55 tgt->rport) in BNX2FC_TGT_DBG() 56 shost_printk(KERN_INFO, tgt->port->lport->host, in BNX2FC_TGT_DBG() 58 tgt->rport->port_id, &vaf); in BNX2FC_TGT_DBG()
|
D | bnx2fc.h | 430 struct bnx2fc_rport *tgt; member 484 struct bnx2fc_rport *tgt; member 499 struct bnx2fc_cmd *bnx2fc_cmd_alloc(struct bnx2fc_rport *tgt); 500 struct bnx2fc_cmd *bnx2fc_elstm_alloc(struct bnx2fc_rport *tgt, int type); 506 struct bnx2fc_rport *tgt); 508 struct bnx2fc_rport *tgt); 510 struct bnx2fc_rport *tgt); 512 struct bnx2fc_rport *tgt); 513 int bnx2fc_map_doorbell(struct bnx2fc_rport *tgt); 523 char *bnx2fc_get_next_rqe(struct bnx2fc_rport *tgt, u8 num_items); [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/snic/ |
D | snic_disc.c | 166 struct snic_tgt *tgt = container_of(work, struct snic_tgt, scan_work); in snic_scsi_scan_tgt() local 167 struct Scsi_Host *shost = dev_to_shost(&tgt->dev); in snic_scsi_scan_tgt() 170 SNIC_HOST_INFO(shost, "Scanning Target id 0x%x\n", tgt->id); in snic_scsi_scan_tgt() 171 scsi_scan_target(&tgt->dev, in snic_scsi_scan_tgt() 172 tgt->channel, in snic_scsi_scan_tgt() 173 tgt->scsi_tgt_id, in snic_scsi_scan_tgt() 178 tgt->flags &= ~SNIC_TGT_SCAN_PENDING; in snic_scsi_scan_tgt() 189 struct snic_tgt *tgt = NULL; in snic_tgt_lookup() local 192 tgt = list_entry(cur, struct snic_tgt, list); in snic_tgt_lookup() 193 if (tgt->id == le32_to_cpu(tgtid->tgt_id)) in snic_tgt_lookup() [all …]
|
/kernel/linux/linux-5.10/drivers/firewire/ |
D | sbp2.c | 119 struct sbp2_target *tgt; member 169 static struct fw_device *target_parent_device(struct sbp2_target *tgt) in target_parent_device() argument 171 return fw_parent_device(tgt->unit); in target_parent_device() 174 static const struct device *tgt_dev(const struct sbp2_target *tgt) in tgt_dev() argument 176 return &tgt->unit->device; in tgt_dev() 181 return &lu->tgt->unit->device; in lu_dev() 435 spin_lock_irqsave(&lu->tgt->lock, flags); in sbp2_status_write() 445 spin_unlock_irqrestore(&lu->tgt->lock, flags); in sbp2_status_write() 472 spin_lock_irqsave(&orb->lu->tgt->lock, flags); in complete_transaction() 478 spin_unlock_irqrestore(&orb->lu->tgt->lock, flags); in complete_transaction() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/ibmvscsi/ |
D | ibmvfc.c | 421 static int ibmvfc_set_tgt_action(struct ibmvfc_target *tgt, in ibmvfc_set_tgt_action() argument 426 switch (tgt->action) { in ibmvfc_set_tgt_action() 430 tgt->action = action; in ibmvfc_set_tgt_action() 437 tgt->action = action; in ibmvfc_set_tgt_action() 443 tgt->action = action; in ibmvfc_set_tgt_action() 449 tgt->action = action; in ibmvfc_set_tgt_action() 455 tgt->action = action; in ibmvfc_set_tgt_action() 462 tgt->action = action; in ibmvfc_set_tgt_action() 468 tgt->add_rport = 0; in ibmvfc_set_tgt_action() 585 static void ibmvfc_del_tgt(struct ibmvfc_target *tgt) in ibmvfc_del_tgt() argument [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/qla2xxx/ |
D | qla_target.c | 119 static void qlt_clear_tgt_db(struct qla_tgt *tgt); 201 host = btree_lookup32(&vha->hw->tgt.host_map, key); in qlt_find_host_by_d_id() 218 BUG_ON(ha->tgt.tgt_vp_map == NULL); in qlt_find_host_by_vp_idx() 220 return ha->tgt.tgt_vp_map[vp_idx].vha; in qlt_find_host_by_vp_idx() 229 spin_lock_irqsave(&vha->hw->tgt.q_full_lock, flags); in qlt_incr_num_pend_cmds() 231 vha->hw->tgt.num_pend_cmds++; in qlt_incr_num_pend_cmds() 232 if (vha->hw->tgt.num_pend_cmds > vha->qla_stats.stat_max_pend_cmds) in qlt_incr_num_pend_cmds() 234 vha->hw->tgt.num_pend_cmds; in qlt_incr_num_pend_cmds() 235 spin_unlock_irqrestore(&vha->hw->tgt.q_full_lock, flags); in qlt_incr_num_pend_cmds() 241 spin_lock_irqsave(&vha->hw->tgt.q_full_lock, flags); in qlt_decr_num_pend_cmds() [all …]
|
D | qla_dfs.c | 155 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qla2x00_dfs_tgt_sess_show() local 158 if (tgt) { in qla2x00_dfs_tgt_sess_show() 161 spin_lock_irqsave(&ha->tgt.sess_lock, flags); in qla2x00_dfs_tgt_sess_show() 167 spin_unlock_irqrestore(&ha->tgt.sess_lock, flags); in qla2x00_dfs_tgt_sess_show() 460 seq_printf(s, "%d\n", ha->tgt.num_act_qpairs); in qla_dfs_naqp_show() 510 if (num_act_qp != ha->tgt.num_act_qpairs) { in qla_dfs_naqp_write() 511 ha->tgt.num_act_qpairs = num_act_qp; in qla_dfs_naqp_write() 562 ha->tgt.dfs_tgt_port_database = debugfs_create_file("tgt_port_database", in qla2x00_dfs_setup() 568 ha->tgt.dfs_tgt_sess = debugfs_create_file("tgt_sess", in qla2x00_dfs_setup() 572 ha->tgt.dfs_naqp = debugfs_create_file("naqp", in qla2x00_dfs_setup() [all …]
|
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/cxd2880/ |
D | cxd2880_io.c | 13 enum cxd2880_io_tgt tgt, in cxd2880_io_common_write_one_reg() argument 19 return io->write_regs(io, tgt, sub_address, &data, 1); in cxd2880_io_common_write_one_reg() 23 enum cxd2880_io_tgt tgt, in cxd2880_io_set_reg_bits() argument 37 ret = io->read_regs(io, tgt, sub_address, &rdata, 1); in cxd2880_io_set_reg_bits() 44 return io->write_reg(io, tgt, sub_address, data); in cxd2880_io_set_reg_bits() 48 enum cxd2880_io_tgt tgt, in cxd2880_io_write_multi_regs() argument 59 ret = io->write_reg(io, tgt, reg_value[i].addr, in cxd2880_io_write_multi_regs()
|
D | cxd2880_io.h | 27 enum cxd2880_io_tgt tgt, u8 sub_address, 30 enum cxd2880_io_tgt tgt, u8 sub_address, 33 enum cxd2880_io_tgt tgt, u8 sub_address, 43 enum cxd2880_io_tgt tgt, 47 enum cxd2880_io_tgt tgt, 51 enum cxd2880_io_tgt tgt,
|
D | cxd2880_devio_spi.c | 15 enum cxd2880_io_tgt tgt, in cxd2880_io_spi_read_reg() argument 32 if (tgt == CXD2880_IO_TGT_SYS) in cxd2880_io_spi_read_reg() 63 enum cxd2880_io_tgt tgt, in cxd2880_io_spi_write_reg() argument 83 if (tgt == CXD2880_IO_TGT_SYS) in cxd2880_io_spi_write_reg() 97 if (tgt == CXD2880_IO_TGT_SYS) { in cxd2880_io_spi_write_reg()
|
/kernel/linux/linux-5.10/drivers/firmware/ |
D | iscsi_ibft.c | 178 struct ibft_tgt *tgt; member 356 struct ibft_tgt *tgt = entry->tgt; in ibft_attr_show_target() local 361 if (!tgt) in ibft_attr_show_target() 366 str += sprintf(str, "%d\n", tgt->hdr.index); in ibft_attr_show_target() 369 str += sprintf(str, "%d\n", tgt->hdr.flags); in ibft_attr_show_target() 372 str += sprintf_ipaddr(str, tgt->ip_addr); in ibft_attr_show_target() 375 str += sprintf(str, "%d\n", tgt->port); in ibft_attr_show_target() 379 str += sprintf(str, "%x", (u8)tgt->lun[i]); in ibft_attr_show_target() 383 str += sprintf(str, "%d\n", tgt->nic_assoc); in ibft_attr_show_target() 386 str += sprintf(str, "%d\n", tgt->chap_type); in ibft_attr_show_target() [all …]
|
/kernel/linux/linux-5.10/drivers/scsi/ |
D | BusLogic.c | 1353 unsigned char *tgt, ch; in blogic_rdconfig() local 1363 tgt = adapter->model; in blogic_rdconfig() 1364 *tgt++ = 'B'; in blogic_rdconfig() 1365 *tgt++ = 'T'; in blogic_rdconfig() 1366 *tgt++ = '-'; in blogic_rdconfig() 1368 *tgt++ = fpinfo->model[i]; in blogic_rdconfig() 1369 *tgt++ = '\0'; in blogic_rdconfig() 1483 tgt = adapter->model; in blogic_rdconfig() 1484 *tgt++ = 'B'; in blogic_rdconfig() 1485 *tgt++ = 'T'; in blogic_rdconfig() [all …]
|
D | mesh.c | 82 #define ALLOW_SYNC(tgt) ((sync_targets >> (tgt)) & 1) argument 83 #define ALLOW_RESEL(tgt) ((resel_targets >> (tgt)) & 1) argument 84 #define ALLOW_DEBUG(tgt) ((debug_targets >> (tgt)) & 1) argument 99 u8 tgt; member 225 tlp->tgt = ms->conn_tgt; in dlog() 278 lp->bs1, lp->bs0, lp->phase, lp->tgt); in dumpslog() 293 static inline void dumplog(struct mesh_state *ms, int tgt) in dumplog() argument 988 int tgt; in handle_reset() local 993 for (tgt = 0; tgt < 8; ++tgt) { in handle_reset() 994 tp = &ms->tgts[tgt]; in handle_reset() [all …]
|
/kernel/linux/linux-5.10/drivers/md/ |
D | dm-table.c | 208 struct dm_target *tgt = t->targets + i; in dm_table_destroy() local 210 if (tgt->type->dtr) in dm_table_destroy() 211 tgt->type->dtr(tgt); in dm_table_destroy() 213 dm_put_target_type(tgt->type); in dm_table_destroy() 667 struct dm_target *tgt; in dm_table_add_target() local 677 tgt = t->targets + t->num_targets; in dm_table_add_target() 678 memset(tgt, 0, sizeof(*tgt)); in dm_table_add_target() 685 tgt->type = dm_get_target_type(type); in dm_table_add_target() 686 if (!tgt->type) { in dm_table_add_target() 691 if (dm_target_needs_singleton(tgt->type)) { in dm_table_add_target() [all …]
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | xdp.h | 89 #define devmap_ifindex(tgt, map) \ argument 92 ((struct _bpf_dtab_netdev *)tgt)->dev->ifindex : 0) 98 const void *tgt, int err, 101 TP_ARGS(dev, xdp, tgt, err, map, index), 118 __entry->to_ifindex = map ? devmap_ifindex(tgt, map) : 135 const void *tgt, int err, 137 TP_ARGS(dev, xdp, tgt, err, map, index) 143 const void *tgt, int err, 145 TP_ARGS(dev, xdp, tgt, err, map, index) 164 const void *tgt, int err, [all …]
|
/kernel/linux/linux-5.10/net/smc/ |
D | smc_cdc.h | 101 static inline void smc_curs_copy(union smc_host_cursor *tgt, in smc_curs_copy() argument 109 tgt->acurs = src->acurs; in smc_curs_copy() 112 atomic64_set(&tgt->acurs, atomic64_read(&src->acurs)); in smc_curs_copy() 116 static inline void smc_curs_copy_net(union smc_cdc_cursor *tgt, in smc_curs_copy_net() argument 124 tgt->acurs = src->acurs; in smc_curs_copy_net() 127 atomic64_set(&tgt->acurs, atomic64_read(&src->acurs)); in smc_curs_copy_net() 131 static inline void smcd_curs_copy(union smcd_cdc_cursor *tgt, in smcd_curs_copy() argument 139 tgt->acurs = src->acurs; in smcd_curs_copy() 142 atomic64_set(&tgt->acurs, atomic64_read(&src->acurs)); in smcd_curs_copy()
|
/kernel/linux/linux-5.10/arch/powerpc/mm/book3s64/ |
D | radix_tlb.c | 716 unsigned long tgt = H_RPTI_TARGET_CMMU; in radix__flush_tlb_mm() local 719 tgt |= H_RPTI_TARGET_NMMU; in radix__flush_tlb_mm() 720 pseries_rpt_invalidate(pid, tgt, H_RPTI_TYPE_TLB, in radix__flush_tlb_mm() 756 unsigned long tgt = H_RPTI_TARGET_CMMU; in __flush_all_mm() local 761 tgt |= H_RPTI_TARGET_NMMU; in __flush_all_mm() 762 pseries_rpt_invalidate(pid, tgt, type, in __flush_all_mm() 798 unsigned long tgt, pg_sizes, size; in radix__flush_tlb_page_psize() local 800 tgt = H_RPTI_TARGET_CMMU; in radix__flush_tlb_page_psize() 805 tgt |= H_RPTI_TARGET_NMMU; in radix__flush_tlb_page_psize() 806 pseries_rpt_invalidate(pid, tgt, H_RPTI_TYPE_TLB, in radix__flush_tlb_page_psize() [all …]
|
/kernel/linux/linux-5.10/sound/soc/ |
D | soc-link.c | 37 #define soc_link_mark_push(rtd, substream, tgt) ((rtd)->mark_##tgt = substream) argument 38 #define soc_link_mark_pop(rtd, substream, tgt) ((rtd)->mark_##tgt = NULL) argument 39 #define soc_link_mark_match(rtd, substream, tgt) ((rtd)->mark_##tgt == substream) argument
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp6000_pcie.c | 198 int tgt, int act, int tok, u64 offset, size_t size, int width) in compute_bar() argument 203 if (tgt >= NFP_CPP_NUM_TARGETS) in compute_bar() 229 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Target_BaseAddress(tgt); in compute_bar() 244 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Target_BaseAddress(tgt); in compute_bar() 295 int tgt, int act, int tok, u64 offset, size_t size, int width) in reconfigure_bar() argument 302 tgt, act, tok, offset, size, width); in reconfigure_bar() 312 static int matching_bar(struct nfp_bar *bar, u32 tgt, u32 act, u32 tok, in matching_bar() argument 360 if ((bartgt < 0 || bartgt == tgt) && in matching_bar() 373 u32 tgt, u32 act, u32 tok, u64 offset, size_t size, int width) in find_matching_bar() argument 380 if (matching_bar(bar, tgt, act, tok, offset, size, width)) in find_matching_bar() [all …]
|
/kernel/linux/linux-5.10/drivers/vfio/pci/ |
D | vfio_pci_nvlink2.c | 181 .tgt = data->gpu_tgt in vfio_pci_nvgpu_add_capability() 214 u64 tgt = 0; in vfio_pci_nvdia_v100_nvlink2_init() local 245 if (of_property_read_u64(npu_node, "ibm,device-tgt-addr", &tgt)) { in vfio_pci_nvdia_v100_nvlink2_init() 255 data->gpu_tgt = tgt; in vfio_pci_nvdia_v100_nvlink2_init() 368 .tgt = data->gpu_tgt in vfio_pci_npu2_add_capability() 401 u64 tgt = 0; in vfio_pci_ibm_npu2_init() local 438 if (of_property_read_u64(npu_node, "ibm,device-tgt-addr", &tgt)) { in vfio_pci_ibm_npu2_init() 453 data->gpu_tgt = tgt; in vfio_pci_ibm_npu2_init()
|
/kernel/linux/linux-5.10/drivers/edac/ |
D | skx_base.c | 229 #define SKX_ILV_REMOTE(tgt) (((tgt) & 8) == 0) argument 230 #define SKX_ILV_TARGET(tgt) ((tgt) & 7) argument 269 int i, idx, tgt, lchan, shift; in skx_sad_decode() local 312 tgt = GET_BITFIELD(ilv, 4 * idx, 4 * idx + 3); in skx_sad_decode() 315 if (SKX_ILV_REMOTE(tgt)) { in skx_sad_decode() 322 if (d->imc[0].src_id == SKX_ILV_TARGET(tgt)) in skx_sad_decode() 325 edac_dbg(0, "Can't find node %d\n", SKX_ILV_TARGET(tgt)); in skx_sad_decode() 330 lchan = SKX_ILV_TARGET(tgt); in skx_sad_decode() 361 lchan = (lchan << 1) | (SKX_ILV_TARGET(tgt) & 1); in skx_sad_decode()
|