Home
last modified time | relevance | path

Searched refs:tgt (Results 1 – 25 of 79) sorted by relevance

1234

/Linux-v6.1/drivers/scsi/bnx2fc/
Dbnx2fc_tgt.c19 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 …]
Dbnx2fc_hwi.c172 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 …]
Dbnx2fc_io.c45 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 …]
Dbnx2fc_els.c23 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 …]
Dbnx2fc_debug.c41 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()
Dbnx2fc.h427 struct bnx2fc_rport *tgt; member
481 struct bnx2fc_rport *tgt; member
503 struct bnx2fc_cmd *bnx2fc_cmd_alloc(struct bnx2fc_rport *tgt);
504 struct bnx2fc_cmd *bnx2fc_elstm_alloc(struct bnx2fc_rport *tgt, int type);
510 struct bnx2fc_rport *tgt);
512 struct bnx2fc_rport *tgt);
514 struct bnx2fc_rport *tgt);
516 struct bnx2fc_rport *tgt);
517 int bnx2fc_map_doorbell(struct bnx2fc_rport *tgt);
527 char *bnx2fc_get_next_rqe(struct bnx2fc_rport *tgt, u8 num_items);
[all …]
/Linux-v6.1/drivers/scsi/snic/
Dsnic_disc.c152 struct snic_tgt *tgt = container_of(work, struct snic_tgt, scan_work); in snic_scsi_scan_tgt() local
153 struct Scsi_Host *shost = dev_to_shost(&tgt->dev); in snic_scsi_scan_tgt()
156 SNIC_HOST_INFO(shost, "Scanning Target id 0x%x\n", tgt->id); in snic_scsi_scan_tgt()
157 scsi_scan_target(&tgt->dev, in snic_scsi_scan_tgt()
158 tgt->channel, in snic_scsi_scan_tgt()
159 tgt->scsi_tgt_id, in snic_scsi_scan_tgt()
164 tgt->flags &= ~SNIC_TGT_SCAN_PENDING; in snic_scsi_scan_tgt()
175 struct snic_tgt *tgt = NULL; in snic_tgt_lookup() local
178 tgt = list_entry(cur, struct snic_tgt, list); in snic_tgt_lookup()
179 if (tgt->id == le32_to_cpu(tgtid->tgt_id)) in snic_tgt_lookup()
[all …]
/Linux-v6.1/drivers/firewire/
Dsbp2.c119 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 …]
/Linux-v6.1/drivers/scsi/ibmvscsi/
Dibmvfc.c494 static int ibmvfc_set_tgt_action(struct ibmvfc_target *tgt, in ibmvfc_set_tgt_action() argument
499 switch (tgt->action) { in ibmvfc_set_tgt_action()
503 tgt->action = action; in ibmvfc_set_tgt_action()
510 tgt->action = action; in ibmvfc_set_tgt_action()
516 tgt->action = action; in ibmvfc_set_tgt_action()
522 tgt->action = action; in ibmvfc_set_tgt_action()
528 tgt->action = action; in ibmvfc_set_tgt_action()
535 tgt->action = action; in ibmvfc_set_tgt_action()
541 tgt->add_rport = 0; in ibmvfc_set_tgt_action()
656 static void ibmvfc_del_tgt(struct ibmvfc_target *tgt) in ibmvfc_del_tgt() argument
[all …]
/Linux-v6.1/drivers/scsi/qla2xxx/
Dqla_target.c112 static void qlt_clear_tgt_db(struct qla_tgt *tgt);
210 BUG_ON(ha->tgt.tgt_vp_map == NULL); in qlt_find_host_by_vp_idx()
212 return ha->tgt.tgt_vp_map[vp_idx].vha; in qlt_find_host_by_vp_idx()
221 spin_lock_irqsave(&vha->hw->tgt.q_full_lock, flags); in qlt_incr_num_pend_cmds()
223 vha->hw->tgt.num_pend_cmds++; in qlt_incr_num_pend_cmds()
224 if (vha->hw->tgt.num_pend_cmds > vha->qla_stats.stat_max_pend_cmds) in qlt_incr_num_pend_cmds()
226 vha->hw->tgt.num_pend_cmds; in qlt_incr_num_pend_cmds()
227 spin_unlock_irqrestore(&vha->hw->tgt.q_full_lock, flags); in qlt_incr_num_pend_cmds()
233 spin_lock_irqsave(&vha->hw->tgt.q_full_lock, flags); in qlt_decr_num_pend_cmds()
234 vha->hw->tgt.num_pend_cmds--; in qlt_decr_num_pend_cmds()
[all …]
Dqla_dfs.c155 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()
488 seq_printf(s, "%d\n", ha->tgt.num_act_qpairs); in qla_dfs_naqp_show()
631 if (num_act_qp != ha->tgt.num_act_qpairs) { in qla_dfs_naqp_write()
632 ha->tgt.num_act_qpairs = num_act_qp; in qla_dfs_naqp_write()
683 ha->tgt.dfs_tgt_port_database = debugfs_create_file("tgt_port_database", in qla2x00_dfs_setup()
689 ha->tgt.dfs_tgt_sess = debugfs_create_file("tgt_sess", in qla2x00_dfs_setup()
693 ha->tgt.dfs_naqp = debugfs_create_file("naqp", in qla2x00_dfs_setup()
[all …]
/Linux-v6.1/drivers/media/dvb-frontends/cxd2880/
Dcxd2880_io.c13 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()
Dcxd2880_io.h27 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,
Dcxd2880_devio_spi.c15 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()
/Linux-v6.1/drivers/firmware/
Discsi_ibft.c176 struct ibft_tgt *tgt; member
354 struct ibft_tgt *tgt = entry->tgt; in ibft_attr_show_target() local
359 if (!tgt) in ibft_attr_show_target()
364 str += sprintf(str, "%d\n", tgt->hdr.index); in ibft_attr_show_target()
367 str += sprintf(str, "%d\n", tgt->hdr.flags); in ibft_attr_show_target()
370 str += sprintf_ipaddr(str, tgt->ip_addr); in ibft_attr_show_target()
373 str += sprintf(str, "%d\n", tgt->port); in ibft_attr_show_target()
377 str += sprintf(str, "%x", (u8)tgt->lun[i]); in ibft_attr_show_target()
381 str += sprintf(str, "%d\n", tgt->nic_assoc); in ibft_attr_show_target()
384 str += sprintf(str, "%d\n", tgt->chap_type); in ibft_attr_show_target()
[all …]
/Linux-v6.1/drivers/scsi/
DBusLogic.c1246 unsigned char *tgt, ch; in blogic_rdconfig() local
1256 tgt = adapter->model; in blogic_rdconfig()
1257 *tgt++ = 'B'; in blogic_rdconfig()
1258 *tgt++ = 'T'; in blogic_rdconfig()
1259 *tgt++ = '-'; in blogic_rdconfig()
1261 *tgt++ = fpinfo->model[i]; in blogic_rdconfig()
1262 *tgt++ = '\0'; in blogic_rdconfig()
1376 tgt = adapter->model; in blogic_rdconfig()
1377 *tgt++ = 'B'; in blogic_rdconfig()
1378 *tgt++ = 'T'; in blogic_rdconfig()
[all …]
/Linux-v6.1/include/trace/events/
Dxdp.h93 const void *tgt, int err,
97 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index),
116 if (tgt)
117 ifindex = ((struct _bpf_dtab_netdev *)tgt)->dev->ifindex;
143 const void *tgt, int err,
146 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index)
152 const void *tgt, int err,
155 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index)
174 const void *tgt, int err,
177 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index)
[all …]
/Linux-v6.1/net/smc/
Dsmc_cdc.h101 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()
/Linux-v6.1/arch/powerpc/mm/book3s64/
Dradix_tlb.c963 unsigned long tgt = H_RPTI_TARGET_CMMU; in radix__flush_tlb_mm() local
966 tgt |= H_RPTI_TARGET_NMMU; in radix__flush_tlb_mm()
967 pseries_rpt_invalidate(pid, tgt, H_RPTI_TYPE_TLB, in radix__flush_tlb_mm()
998 unsigned long tgt = H_RPTI_TARGET_CMMU; in __flush_all_mm() local
1003 tgt |= H_RPTI_TARGET_NMMU; in __flush_all_mm()
1004 pseries_rpt_invalidate(pid, tgt, type, in __flush_all_mm()
1037 unsigned long tgt, pg_sizes, size; in radix__flush_tlb_page_psize() local
1039 tgt = H_RPTI_TARGET_CMMU; in radix__flush_tlb_page_psize()
1044 tgt |= H_RPTI_TARGET_NMMU; in radix__flush_tlb_page_psize()
1045 pseries_rpt_invalidate(pid, tgt, H_RPTI_TYPE_TLB, in radix__flush_tlb_page_psize()
[all …]
/Linux-v6.1/sound/soc/
Dsoc-link.c37 #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
/Linux-v6.1/drivers/md/
Ddm-zone.c33 struct dm_target *tgt; in dm_blk_do_report_zones() local
35 tgt = dm_table_find_target(t, args.next_sector); in dm_blk_do_report_zones()
36 if (WARN_ON_ONCE(!tgt->type->report_zones)) in dm_blk_do_report_zones()
39 args.tgt = tgt; in dm_blk_do_report_zones()
40 ret = tgt->type->report_zones(tgt, &args, in dm_blk_do_report_zones()
80 sector_t sector_diff = args->tgt->begin - args->start; in dm_report_zones_cb()
85 if (zone->start >= args->start + args->tgt->len) in dm_report_zones_cb()
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp6000_pcie.c196 int tgt, int act, int tok, u64 offset, size_t size, int width) in compute_bar() argument
201 if (tgt >= NFP_CPP_NUM_TARGETS) in compute_bar()
227 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Target_BaseAddress(tgt); in compute_bar()
242 newcfg |= NFP_PCIE_BAR_PCIE2CPP_Target_BaseAddress(tgt); in compute_bar()
290 int tgt, int act, int tok, u64 offset, size_t size, int width) in reconfigure_bar() argument
297 tgt, act, tok, offset, size, width); in reconfigure_bar()
307 static int matching_bar(struct nfp_bar *bar, u32 tgt, u32 act, u32 tok, in matching_bar() argument
355 if ((bartgt < 0 || bartgt == tgt) && in matching_bar()
368 u32 tgt, u32 act, u32 tok, u64 offset, size_t size, int width) in find_matching_bar() argument
375 if (matching_bar(bar, tgt, act, tok, offset, size, width)) in find_matching_bar()
[all …]
/Linux-v6.1/tools/testing/selftests/bpf/
Dtest_doc_build.sh18 for tgt in docs docs-clean; do
19 make -s -C $PWD/$SCRIPT_REL_DIR $tgt;
/Linux-v6.1/drivers/edac/
Dskx_base.c229 #define SKX_ILV_REMOTE(tgt) (((tgt) & 8) == 0) argument
230 #define SKX_ILV_TARGET(tgt) ((tgt) & 7) argument
270 int i, idx, tgt, lchan, shift; in skx_sad_decode() local
313 tgt = GET_BITFIELD(ilv, 4 * idx, 4 * idx + 3); in skx_sad_decode()
316 if (SKX_ILV_REMOTE(tgt)) { in skx_sad_decode()
323 if (d->imc[0].src_id == SKX_ILV_TARGET(tgt)) in skx_sad_decode()
326 edac_dbg(0, "Can't find node %d\n", SKX_ILV_TARGET(tgt)); in skx_sad_decode()
331 lchan = SKX_ILV_TARGET(tgt); in skx_sad_decode()
362 lchan = (lchan << 1) | (SKX_ILV_TARGET(tgt) & 1); in skx_sad_decode()
/Linux-v6.1/samples/bpf/
Dxdp_sample.bpf.c97 const struct bpf_prog *xdp, const void *tgt, int err, in BPF_PROG() argument
105 const struct bpf_prog *xdp, const void *tgt, int err, in BPF_PROG() argument
113 const struct bpf_prog *xdp, const void *tgt, int err, in BPF_PROG() argument
121 const struct bpf_prog *xdp, const void *tgt, int err, in BPF_PROG() argument

1234