/openbmc/linux/drivers/scsi/bnx2fc/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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()
|
H A D | bnx2fc.h | 427 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 …]
|
/openbmc/linux/drivers/scsi/snic/ |
H A D | snic_disc.c | 152 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 …]
|
/openbmc/linux/drivers/firewire/ |
H A D | sbp2.c | 120 struct sbp2_target *tgt; member 170 static struct fw_device *target_parent_device(struct sbp2_target *tgt) in target_parent_device() argument 172 return fw_parent_device(tgt->unit); in target_parent_device() 175 static const struct device *tgt_dev(const struct sbp2_target *tgt) in tgt_dev() argument 177 return &tgt->unit->device; in tgt_dev() 182 return &lu->tgt->unit->device; in lu_dev() 436 spin_lock_irqsave(&lu->tgt->lock, flags); in sbp2_status_write() 446 spin_unlock_irqrestore(&lu->tgt->lock, flags); in sbp2_status_write() 473 spin_lock_irqsave(&orb->lu->tgt->lock, flags); in complete_transaction() 479 spin_unlock_irqrestore(&orb->lu->tgt->lock, flags); in complete_transaction() [all …]
|
/openbmc/linux/drivers/scsi/ibmvscsi/ |
H A D | ibmvfc.c | 493 static int ibmvfc_set_tgt_action(struct ibmvfc_target *tgt, in ibmvfc_set_tgt_action() argument 498 switch (tgt->action) { in ibmvfc_set_tgt_action() 502 tgt->action = action; in ibmvfc_set_tgt_action() 509 tgt->action = action; in ibmvfc_set_tgt_action() 515 tgt->action = action; in ibmvfc_set_tgt_action() 521 tgt->action = action; in ibmvfc_set_tgt_action() 527 tgt->action = action; in ibmvfc_set_tgt_action() 534 tgt->action = action; in ibmvfc_set_tgt_action() 540 tgt->add_rport = 0; in ibmvfc_set_tgt_action() 655 static void ibmvfc_del_tgt(struct ibmvfc_target *tgt) in ibmvfc_del_tgt() argument [all …]
|
/openbmc/linux/drivers/scsi/qla2xxx/ |
H A D | qla_target.c | 112 static void qlt_clear_tgt_db(struct qla_tgt *tgt); 205 spin_lock_irqsave(&vha->hw->tgt.q_full_lock, flags); in qlt_incr_num_pend_cmds() 207 vha->hw->tgt.num_pend_cmds++; in qlt_incr_num_pend_cmds() 208 if (vha->hw->tgt.num_pend_cmds > vha->qla_stats.stat_max_pend_cmds) in qlt_incr_num_pend_cmds() 210 vha->hw->tgt.num_pend_cmds; in qlt_incr_num_pend_cmds() 211 spin_unlock_irqrestore(&vha->hw->tgt.q_full_lock, flags); in qlt_incr_num_pend_cmds() 217 spin_lock_irqsave(&vha->hw->tgt.q_full_lock, flags); in qlt_decr_num_pend_cmds() 218 vha->hw->tgt.num_pend_cmds--; in qlt_decr_num_pend_cmds() 219 spin_unlock_irqrestore(&vha->hw->tgt.q_full_lock, flags); in qlt_decr_num_pend_cmds() 227 struct qla_tgt *tgt = vha->vha_tgt.qla_tgt; in qlt_queue_unknown_atio() local [all …]
|
H A 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() 586 seq_printf(s, "%d\n", ha->tgt.num_act_qpairs); in qla_dfs_naqp_show() 729 if (num_act_qp != ha->tgt.num_act_qpairs) { in qla_dfs_naqp_write() 730 ha->tgt.num_act_qpairs = num_act_qp; in qla_dfs_naqp_write() 779 ha->tgt.dfs_tgt_port_database = debugfs_create_file("tgt_port_database", in qla2x00_dfs_setup() 785 ha->tgt.dfs_tgt_sess = debugfs_create_file("tgt_sess", in qla2x00_dfs_setup() 789 ha->tgt.dfs_naqp = debugfs_create_file("naqp", in qla2x00_dfs_setup() [all …]
|
/openbmc/linux/drivers/media/dvb-frontends/cxd2880/ |
H A 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()
|
H A 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,
|
H A 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()
|
/openbmc/linux/drivers/firmware/ |
H A D | iscsi_ibft.c | 176 struct ibft_tgt *tgt; member 357 struct ibft_tgt *tgt = entry->tgt; in ibft_attr_show_target() 362 if (!tgt) in ibft_attr_show_target() 367 str += sprintf(str, "%d\n", tgt->hdr.index); in ibft_attr_show_target() 370 str += sprintf(str, "%d\n", tgt->hdr.flags); in ibft_attr_show_target() 373 str += sprintf_ipaddr(str, tgt->ip_addr); in ibft_attr_show_target() 376 str += sprintf(str, "%d\n", tgt->port); in ibft_attr_show_target() 380 str += sprintf(str, "%x", (u8)tgt->lun[i]); in ibft_attr_show_target() 384 str += sprintf(str, "%d\n", tgt in ibft_attr_show_target() 354 struct ibft_tgt *tgt = entry->tgt; ibft_attr_show_target() local 527 struct ibft_tgt *tgt = entry->tgt; ibft_check_tgt_for() local [all...] |
/openbmc/linux/drivers/scsi/ |
H A D | BusLogic.c | 1246 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 …]
|
/openbmc/openpower-proc-control/procedures/phal/ |
H A D | enter_mpreboot.cpp | 49 void sbeEnterMpReboot(struct pdbg_target* tgt) in sbeEnterMpReboot() argument 59 mpiplEnter(tgt); in sbeEnterMpReboot() 69 sbeError.what(), pdbg_target_index(tgt)) in sbeEnterMpReboot() 75 sbeError.what(), pdbg_target_index(tgt)) in sbeEnterMpReboot() 92 uint32_t index = pdbg_target_index(tgt); in sbeEnterMpReboot() 104 auto logId = createSbeErrorPEL(event, sbeError, pelAdditionalData, tgt); in sbeEnterMpReboot() 121 phalError.what(), pdbg_target_index(tgt)) in sbeEnterMpReboot() 129 std::format("Enter MPIPL completed on proc({})", pdbg_target_index(tgt)) in sbeEnterMpReboot()
|
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-extended/tgt/files/ |
H A D | tgtd.init | 15 TGTD_CONFIG=/etc/tgt/targets.conf 22 tgt-admin -s >/dev/null 2>&1 42 tgt-admin -f -e -c $TGTD_CONFIG 54 tgt-admin --update ALL -c /dev/null &>/dev/null 74 tgt-admin --update ALL -c $TGTD_CONFIG &>/dev/null 84 tgt-admin -s >/dev/null 2>&1
|
/openbmc/qemu/accel/tcg/ |
H A D | translator.c | 430 uint16_t raw, tgt; in translator_lduw() local 433 tgt = tswap16(raw); in translator_lduw() 435 tgt = cpu_lduw_code(env, pc); in translator_lduw() 436 raw = tswap16(tgt); in translator_lduw() 439 return tgt; in translator_lduw() 444 uint32_t raw, tgt; in translator_ldl() local 447 tgt = tswap32(raw); in translator_ldl() 449 tgt = cpu_ldl_code(env, pc); in translator_ldl() 450 raw = tswap32(tgt); in translator_ldl() 453 return tgt; in translator_ldl() [all …]
|
/openbmc/openbmc/poky/meta/classes-recipe/ |
H A D | cargo.bbclass | 61 for tgt in "${B}/target/${CARGO_TARGET_SUBDIR}/"*; do 62 case $tgt in 66 install -m755 "$tgt" "${D}${rustlibdir}" 71 if [ -d "$tgt" ]; then 72 for example in "$tgt/"*; do 82 if [ -f "$tgt" ] && [ -x "$tgt" ]; then 84 install -m755 "$tgt" "${D}${bindir}"
|
/openbmc/linux/fs/smb/client/ |
H A D | dfs.c | 87 struct dfs_info3_param *tgt) in parse_dfs_target() argument 92 rc = ref_walk_get_tgt(rw, tgt); in parse_dfs_target() 94 rc = dfs_parse_target_referral(fpath, tgt, ctx); in parse_dfs_target() 99 struct dfs_info3_param *tgt, in set_ref_paths() argument 111 if (!tgt || (tgt->server_type == DFS_TYPE_LINK && in set_ref_paths() 112 DFS_INTERLINK(tgt->flags))) in set_ref_paths() 130 struct dfs_info3_param tgt = {}; in __dfs_referral_walk() local 152 rc = parse_dfs_target(ctx, rw, &tgt); in __dfs_referral_walk() 161 is_refsrv = tgt.server_type == DFS_TYPE_ROOT || in __dfs_referral_walk() 162 DFS_INTERLINK(tgt.flags); in __dfs_referral_walk() [all …]
|
/openbmc/openbmc/poky/meta/recipes-devtools/binutils/binutils/ |
H A D | 0014-Remove-duplicate-pe-dll.o-entry-deom-targ_extra_ofil.patch | 17 ld/configure.tgt | 2 +- 20 diff --git a/ld/configure.tgt b/ld/configure.tgt 22 --- a/ld/configure.tgt 23 +++ b/ld/configure.tgt
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/ltrace/ltrace/ |
H A D | 0002-Fix-const-qualifier-error.patch | 65 -value_clone_cb(struct value *tgt, const struct value *src, void *data) 66 +value_clone_cb(struct value *tgt, struct value *src, void *data) 68 return value_clone(tgt, src); 73 named_value_clone(struct named_value *tgt, 77 tgt->name = strdup(src->name); 78 if (tgt->name == NULL)
|
/openbmc/linux/include/trace/events/ |
H A D | xdp.h | 94 const void *tgt, int err, 98 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index), 117 if (tgt) 118 ifindex = ((struct _bpf_dtab_netdev *)tgt)->dev->ifindex; 144 const void *tgt, int err, 147 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index) 153 const void *tgt, int err, 156 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index) 175 const void *tgt, int err, 178 TP_ARGS(dev, xdp, tgt, err, map_type, map_id, index) [all …]
|
/openbmc/linux/net/smc/ |
H A 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()
|