Home
last modified time | relevance | path

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

1234

/linux/drivers/scsi/bnx2fc/
A Dbnx2fc_tgt.c589 if ((tgt) && (tgt->port == port)) { in bnx2fc_tgt_lookup()
738 tgt->xferq_mem_size, &tgt->xferq_dma, in bnx2fc_alloc_session_resc()
752 tgt->confq_mem_size, &tgt->confq_dma, in bnx2fc_alloc_session_resc()
843 tgt->lcq, tgt->lcq_dma); in bnx2fc_free_session_resc()
849 tgt->conn_db, tgt->conn_db_dma); in bnx2fc_free_session_resc()
860 tgt->confq, tgt->confq_dma); in bnx2fc_free_session_resc()
866 tgt->xferq, tgt->xferq_dma); in bnx2fc_free_session_resc()
872 tgt->rq_pbl, tgt->rq_pbl_dma); in bnx2fc_free_session_resc()
877 tgt->rq, tgt->rq_dma); in bnx2fc_free_session_resc()
883 tgt->cq, tgt->cq_dma); in bnx2fc_free_session_resc()
[all …]
A Dbnx2fc_hwi.c980 work->tgt = tgt; in bnx2fc_alloc_work()
1136 if (!tgt) { in bnx2fc_fastpath_notification()
1164 if (!tgt) { in bnx2fc_process_ofld_cmpl()
1216 if (!tgt) { in bnx2fc_process_enable_conn_cmpl()
1255 if (!tgt) { in bnx2fc_process_conn_disable_cmpl()
1417 sqe = &tgt->sq[tgt->sq_prod_idx]; in bnx2fc_add_2_sq()
1485 tgt->conn_db->rq_prod = tgt->rq_prod_idx; in bnx2fc_return_rqe()
1494 struct bnx2fc_rport *tgt = seq_clnp_req->tgt; in bnx2fc_init_seq_cleanup_task() local
1573 struct bnx2fc_rport *tgt = io_req->tgt; in bnx2fc_init_cleanup_task() local
1610 struct bnx2fc_rport *tgt = io_req->tgt; in bnx2fc_init_mp_task() local
[all …]
A Dbnx2fc_io.c45 struct bnx2fc_rport *tgt = io_req->tgt; in bnx2fc_cmd_timeout() local
725 io_req->tgt = tgt; in bnx2fc_initiate_tmf()
824 struct bnx2fc_rport *tgt = io_req->tgt; in bnx2fc_initiate_abts() local
875 abts_io_req->tgt = tgt; in bnx2fc_initiate_abts()
968 seq_clnp_req->tgt = tgt; in bnx2fc_initiate_seq_cleanup()
1000 struct bnx2fc_rport *tgt = io_req->tgt; in bnx2fc_initiate_cleanup() local
1026 cleanup_io_req->tgt = tgt; in bnx2fc_initiate_cleanup()
1086 struct bnx2fc_rport *tgt = io_req->tgt; in bnx2fc_abts_cleanup() local
1163 BUG_ON(tgt != io_req->tgt); in bnx2fc_eh_abort()
1360 struct bnx2fc_rport *tgt = io_req->tgt; in bnx2fc_process_abts_compl() local
[all …]
A Dbnx2fc_els.c64 struct bnx2fc_rport *tgt = aborted_io_req->tgt; in bnx2fc_send_rrq() local
76 sid = tgt->sid; 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()
299 struct bnx2fc_rport *tgt = orig_io_req->tgt; in bnx2fc_srr_compl() local
402 tgt = orig_io_req->tgt; in bnx2fc_rec_compl()
585 struct bnx2fc_rport *tgt = orig_io_req->tgt; in bnx2fc_send_rec() local
588 u32 sid = tgt->sid; in bnx2fc_send_rec()
627 struct bnx2fc_rport *tgt = orig_io_req->tgt; in bnx2fc_send_srr() local
713 els_req->tgt = tgt; in bnx2fc_initiate_els()
[all …]
A 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()
A Dbnx2fc.h429 struct bnx2fc_rport *tgt; member
483 struct bnx2fc_rport *tgt; member
505 struct bnx2fc_rport *tgt);
507 struct bnx2fc_rport *tgt);
509 struct bnx2fc_rport *tgt);
511 struct bnx2fc_rport *tgt);
512 int bnx2fc_map_doorbell(struct bnx2fc_rport *tgt);
546 void bnx2fc_ring_doorbell(struct bnx2fc_rport *tgt);
573 void bnx2fc_flush_active_ios(struct bnx2fc_rport *tgt);
580 void bnx2fc_arm_cq(struct bnx2fc_rport *tgt);
[all …]
/linux/drivers/scsi/snic/
A Dsnic_disc.c195 tgt = NULL; in snic_tgt_lookup()
198 return tgt; in snic_tgt_lookup()
215 kfree(tgt); in snic_tgt_dev_release()
256 if (tgt) { in snic_tgt_create()
258 return tgt; in snic_tgt_create()
261 tgt = kzalloc(sizeof(*tgt), GFP_KERNEL); in snic_tgt_create()
262 if (!tgt) { in snic_tgt_create()
289 snic->shost->host_no, tgt->channel, tgt->id); in snic_tgt_create()
294 snic->shost->host_no, tgt->channel, tgt->id); in snic_tgt_create()
300 snic->shost->host_no, tgt->channel, tgt->id); in snic_tgt_create()
[all …]
/linux/drivers/firewire/
A Dsbp2.c119 struct sbp2_target *tgt; member
681 --tgt->dont_block; in sbp2_allow_block()
697 struct sbp2_target *tgt = lu->tgt; in sbp2_conditionally_block() local
721 struct sbp2_target *tgt = lu->tgt; in sbp2_conditionally_unblock() local
750 ++tgt->dont_block; in sbp2_unblock()
799 struct sbp2_target *tgt = lu->tgt; in sbp2_login() local
909 struct sbp2_target *tgt = lu->tgt; in sbp2_reconnect() local
981 lu->tgt = tgt; in sbp2_add_logical_unit()
987 ++tgt->dont_block; in sbp2_add_logical_unit()
1140 tgt->unit = unit; in sbp2_probe()
[all …]
/linux/drivers/scsi/ibmvscsi/
A Dibmvfc.c4029 evt->tgt = tgt; in ibmvfc_tgt_send_prli()
4137 evt->tgt = tgt; in ibmvfc_tgt_send_plogi()
4211 evt->tgt = tgt; in __ibmvfc_tgt_get_implicit_logout_evt()
4379 evt->tgt = tgt; in ibmvfc_tgt_move_login()
4544 evt->tgt = tgt; in ibmvfc_adisc_timeout()
4594 evt->tgt = tgt; in ibmvfc_tgt_adisc()
4696 evt->tgt = tgt; in ibmvfc_tgt_query_target()
4788 memset(tgt, 0, sizeof(*tgt)); in ibmvfc_alloc_target()
5481 tgt->job_step(tgt); in ibmvfc_do_work()
5493 tgt->job_step(tgt); in ibmvfc_do_work()
[all …]
/linux/drivers/scsi/qla2xxx/
A Dqla_target.c975 struct qla_tgt *tgt = sess->tgt; in qlt_free_session_done() local
1167 if (tgt && (tgt->sess_count == 0)) in qlt_free_session_done()
1273 struct qla_tgt *tgt = sess->tgt; in qlt_schedule_sess_for_deletion() local
1283 if (tgt && tgt->tgt_stop && tgt->sess_count == 0) in qlt_schedule_sess_for_deletion()
1526 tgt, tgt->sess_count); in test_tgt_sess_count()
1543 if (tgt->tgt_stop || tgt->tgt_stopped) { in qlt_stop_phase1()
2807 prm->tgt = cmd->tgt; in qlt_pre_xmit_response()
3436 struct qla_tgt *tgt = cmd->tgt; in qlt_rdy_to_xfer() local
3444 prm.tgt = tgt; in qlt_rdy_to_xfer()
3829 struct qla_tgt *tgt = cmd->tgt; in qlt_abort_cmd() local
[all …]
A Dqla_dfs.c158 if (tgt) { in qla2x00_dfs_tgt_sess_show()
539 ha->tgt.num_act_qpairs = num_act_qp; in qla_dfs_naqp_write()
602 if (!ha->tgt.dfs_naqp) { in qla2x00_dfs_setup()
623 if (ha->tgt.dfs_naqp) { in qla2x00_dfs_remove()
624 debugfs_remove(ha->tgt.dfs_naqp); in qla2x00_dfs_remove()
625 ha->tgt.dfs_naqp = NULL; in qla2x00_dfs_remove()
628 if (ha->tgt.dfs_tgt_sess) { in qla2x00_dfs_remove()
629 debugfs_remove(ha->tgt.dfs_tgt_sess); in qla2x00_dfs_remove()
630 ha->tgt.dfs_tgt_sess = NULL; in qla2x00_dfs_remove()
633 if (ha->tgt.dfs_tgt_port_database) { in qla2x00_dfs_remove()
[all …]
/linux/drivers/firmware/
A 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()
373 str += sprintf(str, "%d\n", tgt->port); in ibft_attr_show_target()
401 tgt->rev_chap_name_off); in ibft_attr_show_target()
406 tgt->rev_chap_secret_off); in ibft_attr_show_target()
527 struct ibft_tgt *tgt = entry->tgt; in ibft_check_tgt_for() local
541 if (tgt->tgt_name_len) in ibft_check_tgt_for()
546 if (tgt->chap_name_len) in ibft_check_tgt_for()
551 if (tgt->rev_chap_name_len) in ibft_check_tgt_for()
[all …]
/linux/drivers/scsi/
A DBusLogic.c1377 *tgt++ = 'B'; in blogic_rdconfig()
1378 *tgt++ = 'T'; in blogic_rdconfig()
1396 *tgt = '\0'; in blogic_rdconfig()
3326 int tgt; in blogic_show_info() local
3338 for (tgt = 0; tgt < adapter->maxdev; tgt++) { in blogic_show_info()
3351 for (tgt = 0; tgt < adapter->maxdev; tgt++) { in blogic_show_info()
3355 seq_printf(m, " %2d %9u %9u", tgt, tgt_stats[tgt].read_cmds, tgt_stats[tgt].write_cmds); in blogic_show_info()
3368 for (tgt = 0; tgt < adapter->maxdev; tgt++) { in blogic_show_info()
3384 for (tgt = 0; tgt < adapter->maxdev; tgt++) { in blogic_show_info()
3404 for (tgt = 0; tgt < adapter->maxdev; tgt++) { in blogic_show_info()
[all …]
/linux/drivers/media/dvb-frontends/cxd2880/
A 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()
A 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,
A 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/drivers/md/
A Ddm-table.c190 if (tgt->type->dtr) in dm_table_destroy()
191 tgt->type->dtr(tgt); in dm_table_destroy()
652 memset(tgt, 0, sizeof(*tgt)); in dm_table_add_target()
660 if (!tgt->type) { in dm_table_add_target()
694 tgt->table = t; in dm_table_add_target()
695 tgt->begin = start; in dm_table_add_target()
696 tgt->len = len; in dm_table_add_target()
713 r = tgt->type->ctr(tgt, argc, argv); in dm_table_add_target()
718 t->highs[t->num_targets++] = tgt->begin + tgt->len - 1; in dm_table_add_target()
720 if (!tgt->num_discard_bios && tgt->discards_supported) in dm_table_add_target()
[all …]
A 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/include/trace/events/
A Dxdp.h93 const void *tgt, int err,
97 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index),
116 if (tgt)
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)
183 const void *tgt, int err,
[all …]
/linux/net/smc/
A 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/arch/powerpc/mm/book3s64/
A Dradix_tlb.c958 tgt |= H_RPTI_TARGET_NMMU; in radix__flush_tlb_mm()
995 tgt |= H_RPTI_TARGET_NMMU; in __flush_all_mm()
996 pseries_rpt_invalidate(pid, tgt, type, in __flush_all_mm()
1029 unsigned long tgt, pg_sizes, size; in radix__flush_tlb_page_psize() local
1031 tgt = H_RPTI_TARGET_CMMU; in radix__flush_tlb_page_psize()
1036 tgt |= H_RPTI_TARGET_NMMU; in radix__flush_tlb_page_psize()
1156 tgt |= H_RPTI_TARGET_NMMU; in __radix__flush_tlb_range()
1351 tgt |= H_RPTI_TARGET_NMMU; in __radix__flush_tlb_range_psize()
1420 unsigned long tgt, type, pg_sizes; in radix__flush_tlb_collapsed_pmd() local
1422 tgt = H_RPTI_TARGET_CMMU; in radix__flush_tlb_collapsed_pmd()
[all …]
/linux/sound/soc/
A 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/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp6000_pcie.c203 if (tgt >= NFP_CPP_NUM_TARGETS) in compute_bar()
302 tgt, act, tok, offset, size, width); in reconfigure_bar()
360 if ((bartgt < 0 || bartgt == tgt) && in matching_bar()
390 int tgt, int act, int tok, in find_unused_bar_noblock() argument
404 tgt, act, tok, offset, size, width); in find_unused_bar_noblock()
415 tgt, act, tok, offset, size, width)) in find_unused_bar_noblock()
423 int tgt, int act, int tok, in find_unused_bar_and_lock() argument
463 u32 tgt, u32 act, u32 tok, in nfp_alloc_bar() argument
481 barnum = find_unused_bar_noblock(nfp, tgt, act, tok, in nfp_alloc_bar()
492 retval = nfp_wait_for_bar(nfp, &barnum, tgt, act, tok, in nfp_alloc_bar()
[all …]
/linux/drivers/edac/
A 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/tools/testing/selftests/bpf/
A Dtest_doc_build.sh18 for tgt in docs docs-clean; do
19 make -s -C $PWD/$SCRIPT_REL_DIR $tgt;

Completed in 95 milliseconds

1234