/drivers/scsi/csiostor/ |
D | csio_lnode.c | 117 struct csio_lnode *ln; in csio_ln_lookup_by_portid() local 122 ln = (struct csio_lnode *) tmp; in csio_ln_lookup_by_portid() 123 if (ln->portid == portid) in csio_ln_lookup_by_portid() 124 return ln; in csio_ln_lookup_by_portid() 270 struct csio_lnode *ln = fdmi_req->lnode; in csio_ln_fdmi_done() local 273 csio_ln_dbg(ln, "WR error:%x in processing fdmi rpa cmd\n", in csio_ln_fdmi_done() 275 CSIO_INC_STATS(ln, n_fdmi_err); in csio_ln_fdmi_done() 280 csio_ln_dbg(ln, "fdmi rpa cmd rejected reason %x expl %x\n", in csio_ln_fdmi_done() 299 struct csio_lnode *ln = fdmi_req->lnode; in csio_ln_fdmi_rhba_cbfn() local 307 csio_ln_dbg(ln, "WR error:%x in processing fdmi rhba cmd\n", in csio_ln_fdmi_rhba_cbfn() [all …]
|
D | csio_attr.c | 48 csio_vport_set_state(struct csio_lnode *ln); 61 struct csio_lnode *ln = csio_rnode_to_lnode(rn); in csio_reg_rnode() local 62 struct Scsi_Host *shost = csio_ln_to_shost(ln); in csio_reg_rnode() 80 csio_ln_err(ln, "Failed to register rport = 0x%x.\n", in csio_reg_rnode() 85 ln->num_reg_rnodes++; in csio_reg_rnode() 108 csio_ln_dbg(ln, "Remote port x%x role 0x%x registered\n", in csio_reg_rnode() 123 struct csio_lnode *ln = csio_rnode_to_lnode(rn); in csio_unreg_rnode() local 128 ln->num_reg_rnodes--; in csio_unreg_rnode() 130 csio_ln_dbg(ln, "Remote port x%x un-registered\n", rn->nport_id); in csio_unreg_rnode() 141 csio_lnode_async_event(struct csio_lnode *ln, enum csio_ln_fc_evt fc_evt) in csio_lnode_async_event() argument [all …]
|
D | csio_rnode.c | 121 csio_rn_lookup(struct csio_lnode *ln, uint32_t flowid) in csio_rn_lookup() argument 123 struct csio_rnode *rnhead = (struct csio_rnode *) &ln->rnhead; in csio_rn_lookup() 145 csio_rn_lookup_wwpn(struct csio_lnode *ln, uint8_t *wwpn) in csio_rn_lookup_wwpn() argument 147 struct csio_rnode *rnhead = (struct csio_rnode *) &ln->rnhead; in csio_rn_lookup_wwpn() 169 csio_rnode_lookup_portid(struct csio_lnode *ln, uint32_t portid) in csio_rnode_lookup_portid() argument 171 struct csio_rnode *rnhead = (struct csio_rnode *) &ln->rnhead; in csio_rnode_lookup_portid() 185 csio_rn_dup_flowid(struct csio_lnode *ln, uint32_t rdev_flowid, in csio_rn_dup_flowid() argument 192 struct csio_hw *hw = csio_lnode_to_hw(ln); in csio_rn_dup_flowid() 196 if (ln_tmp == ln) in csio_rn_dup_flowid() 216 csio_alloc_rnode(struct csio_lnode *ln) in csio_alloc_rnode() argument [all …]
|
D | csio_lnode.h | 191 #define csio_lnode_to_hw(ln) ((ln)->hwp) argument 192 #define csio_root_lnode(ln) (csio_lnode_to_hw((ln))->rln) argument 193 #define csio_parent_lnode(ln) ((ln)->pln) argument 194 #define csio_ln_flowid(ln) ((ln)->vnp_flowid) argument 195 #define csio_ln_wwpn(ln) ((ln)->ln_sparm.wwpn) argument 196 #define csio_ln_wwnn(ln) ((ln)->ln_sparm.wwnn) argument 198 #define csio_is_root_ln(ln) (((ln) == csio_root_lnode((ln))) ? 1 : 0) argument 199 #define csio_is_phys_ln(ln) (((ln)->pln == NULL) ? 1 : 0) argument 200 #define csio_is_npiv_ln(ln) (((ln)->pln != NULL) ? 1 : 0) argument 225 void csio_lnode_state_to_str(struct csio_lnode *ln, int8_t *str);
|
D | csio_init.c | 596 struct csio_lnode *ln; in csio_shost_init() local 617 ln = shost_priv(shost); in csio_shost_init() 618 memset(ln, 0, sizeof(struct csio_lnode)); in csio_shost_init() 621 ln->dev_num = (shost->host_no << 16); in csio_shost_init() 637 hw->rln = ln; in csio_shost_init() 640 if (csio_lnode_init(ln, hw, pln)) in csio_shost_init() 646 return ln; in csio_shost_init() 649 csio_lnode_exit(ln); in csio_shost_init() 662 csio_shost_exit(struct csio_lnode *ln) in csio_shost_exit() argument 664 struct Scsi_Host *shost = csio_ln_to_shost(ln); in csio_shost_exit() [all …]
|
D | csio_scsi.c | 1194 struct csio_lnode *ln = ioreq->lnode; in csio_abrt_cls() local 1195 struct csio_hw *hw = ln->hwp; in csio_abrt_cls() 1205 ready = csio_is_lnode_ready(ln); in csio_abrt_cls() 1318 csio_scsim_cleanup_io_lnode(struct csio_scsim *scm, struct csio_lnode *ln) in csio_scsim_cleanup_io_lnode() argument 1325 csio_dbg(hw, "Gathering all SCSI I/Os on lnode %p\n", ln); in csio_scsim_cleanup_io_lnode() 1328 sld.lnode = ln; in csio_scsim_cleanup_io_lnode() 1329 INIT_LIST_HEAD(&ln->cmpl_q); in csio_scsim_cleanup_io_lnode() 1330 csio_scsi_gather_active_ios(scm, &sld, &ln->cmpl_q); in csio_scsim_cleanup_io_lnode() 1333 if (list_empty(&ln->cmpl_q)) in csio_scsim_cleanup_io_lnode() 1337 while (!list_empty(&ln->cmpl_q) && count--) { in csio_scsim_cleanup_io_lnode() [all …]
|
D | csio_init.h | 82 csio_ln_to_shost(struct csio_lnode *ln) in csio_ln_to_shost() argument 84 return container_of((void *)ln, struct Scsi_Host, hostdata[0]); in csio_ln_to_shost()
|
D | csio_mb.c | 838 csio_write_fcoe_link_cond_init_mb(struct csio_lnode *ln, struct csio_mb *mbp, in csio_write_fcoe_link_cond_init_mb() argument 846 CSIO_INIT_MBP(mbp, cmdp, mb_tmo, ln, cbfn, 1); in csio_write_fcoe_link_cond_init_mb() 907 csio_fcoe_vnp_alloc_init_mb(struct csio_lnode *ln, struct csio_mb *mbp, in csio_fcoe_vnp_alloc_init_mb() argument 915 CSIO_INIT_MBP(mbp, cmdp, mb_tmo, ln, cbfn, 1); in csio_fcoe_vnp_alloc_init_mb() 949 csio_fcoe_vnp_read_init_mb(struct csio_lnode *ln, struct csio_mb *mbp, in csio_fcoe_vnp_read_init_mb() argument 956 CSIO_INIT_MBP(mbp, cmdp, mb_tmo, ln, cbfn, 1); in csio_fcoe_vnp_read_init_mb() 978 csio_fcoe_vnp_free_init_mb(struct csio_lnode *ln, struct csio_mb *mbp, in csio_fcoe_vnp_free_init_mb() argument 985 CSIO_INIT_MBP(mbp, cmdp, mb_tmo, ln, cbfn, 1); in csio_fcoe_vnp_free_init_mb() 1009 csio_fcoe_read_fcf_init_mb(struct csio_lnode *ln, struct csio_mb *mbp, in csio_fcoe_read_fcf_init_mb() argument 1016 CSIO_INIT_MBP(mbp, cmdp, mb_tmo, ln, cbfn, 1); in csio_fcoe_read_fcf_init_mb()
|
D | csio_rnode.h | 134 void csio_put_rnode(struct csio_lnode *ln, struct csio_rnode *rn);
|
D | csio_defs.h | 90 typedef void (*csio_sm_state_t)(struct csio_lnode *ln, enum csio_ln_ev evt);
|
/drivers/gpu/drm/i915/display/ |
D | intel_mg_phy_regs.h | 11 #define MG_PHY_PORT_LN(ln, tc_port, ln0p1, ln0p2, ln1p1) \ argument 12 _MMIO(_PORT(tc_port, ln0p1, ln0p2) + (ln) * ((ln1p1) - (ln0p1))) 18 #define MG_TX1_LINK_PARAMS(ln, tc_port) \ argument 19 MG_PHY_PORT_LN(ln, tc_port, MG_TX_LINK_PARAMS_TX1LN0_PORT1, \ 27 #define MG_TX2_LINK_PARAMS(ln, tc_port) \ argument 28 MG_PHY_PORT_LN(ln, tc_port, MG_TX_LINK_PARAMS_TX2LN0_PORT1, \ 37 #define MG_TX1_PISO_READLOAD(ln, tc_port) \ argument 38 MG_PHY_PORT_LN(ln, tc_port, MG_TX_PISO_READLOAD_TX1LN0_PORT1, \ 46 #define MG_TX2_PISO_READLOAD(ln, tc_port) \ argument 47 MG_PHY_PORT_LN(ln, tc_port, MG_TX_PISO_READLOAD_TX2LN0_PORT1, \ [all …]
|
D | intel_combo_phy_regs.h | 83 #define _ICL_PORT_PCS_LN(ln) (0x800 + (ln) * 0x100) argument 88 #define _ICL_PORT_PCS_DW_LN(dw, ln, phy) (_ICL_COMBOPHY(phy) + \ argument 89 _ICL_PORT_PCS_LN(ln) + 4 * (dw)) 92 #define ICL_PORT_PCS_DW1_LN(ln, phy) _MMIO(_ICL_PORT_PCS_DW_LN(1, ln, phy)) argument 102 #define _ICL_PORT_TX_LN(ln) (0x880 + (ln) * 0x100) argument 108 #define _ICL_PORT_TX_DW_LN(dw, ln, phy) (_ICL_COMBOPHY(phy) + \ argument 109 _ICL_PORT_TX_LN(ln) + 4 * (dw)) 113 #define ICL_PORT_TX_DW2_LN(ln, phy) _MMIO(_ICL_PORT_TX_DW_LN(2, ln, phy)) argument 125 #define ICL_PORT_TX_DW4_LN(ln, phy) _MMIO(_ICL_PORT_TX_DW_LN(4, ln, phy)) argument 136 #define ICL_PORT_TX_DW5_LN(ln, phy) _MMIO(_ICL_PORT_TX_DW_LN(5, ln, phy)) argument [all …]
|
D | intel_dkl_phy_regs.h | 51 #define DKL_PCS_DW5(tc_port, ln) _DKL_REG_LN(tc_port, ln, \ argument 127 #define DKL_TX_DPCNTL0(tc_port, ln) _DKL_REG_LN(tc_port, ln, \ argument 139 #define DKL_TX_DPCNTL1(tc_port, ln) _DKL_REG_LN(tc_port, ln, \ argument 146 #define DKL_TX_DPCNTL2(tc_port, ln) _DKL_REG_LN(tc_port, ln, \ argument 157 #define DKL_TX_FW_CALIB(tc_port, ln) _DKL_REG_LN(tc_port, ln, \ argument 164 #define DKL_TX_PMD_LANE_SUS(tc_port, ln) _DKL_REG_LN(tc_port, ln, \ argument 170 #define DKL_TX_DW17(tc_port, ln) _DKL_REG_LN(tc_port, ln, \ argument 176 #define DKL_TX_DW18(tc_port, ln) _DKL_REG_LN(tc_port, ln, \ argument 182 #define DKL_DP_MODE(tc_port, ln) _DKL_REG_LN(tc_port, ln, \ argument
|
D | intel_snps_phy_regs.h | 19 #define _MMIO_SNPS_LN(ln, phy, reg) _MMIO(_SNPS2(phy, \ argument 20 (reg) + (ln) * 0x10)) 70 #define SNPS_PHY_TX_EQ(ln, phy) _MMIO_SNPS_LN(ln, phy, 0x168300) argument
|
D | intel_ddi.c | 1113 int n_entries, ln; in icl_ddi_combo_vswing_program() local 1139 for (ln = 0; ln < 4; ln++) { in icl_ddi_combo_vswing_program() 1140 int level = intel_ddi_level(encoder, crtc_state, ln); in icl_ddi_combo_vswing_program() 1142 intel_de_rmw(dev_priv, ICL_PORT_TX_DW2_LN(ln, phy), in icl_ddi_combo_vswing_program() 1151 for (ln = 0; ln < 4; ln++) { in icl_ddi_combo_vswing_program() 1152 int level = intel_ddi_level(encoder, crtc_state, ln); in icl_ddi_combo_vswing_program() 1154 intel_de_rmw(dev_priv, ICL_PORT_TX_DW4_LN(ln, phy), in icl_ddi_combo_vswing_program() 1162 for (ln = 0; ln < 4; ln++) { in icl_ddi_combo_vswing_program() 1163 int level = intel_ddi_level(encoder, crtc_state, ln); in icl_ddi_combo_vswing_program() 1165 intel_de_rmw(dev_priv, ICL_PORT_TX_DW7_LN(ln, phy), in icl_ddi_combo_vswing_program() [all …]
|
/drivers/md/persistent-data/ |
D | dm-btree.c | 659 struct btree_node *ln, *rn, *pn; in split_one_into_two() local 668 ln = dm_block_data(left); in split_one_into_two() 671 rn->header.flags = ln->header.flags; in split_one_into_two() 673 rn->header.max_entries = ln->header.max_entries; in split_one_into_two() 674 rn->header.value_size = ln->header.value_size; in split_one_into_two() 675 redistribute2(ln, rn); in split_one_into_two() 743 struct btree_node *ln, *rn, *mn, *pn; in split_two_into_three() local 767 ln = dm_block_data(left); in split_two_into_three() 772 mn->header.flags = ln->header.flags; in split_two_into_three() 773 mn->header.max_entries = ln->header.max_entries; in split_two_into_three() [all …]
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_maven.c | 259 unsigned int ln; in matroxfb_PLL_mavenclock() local 267 ln = fxtal * n; in matroxfb_PLL_mavenclock() 270 if (ln % dvd) in matroxfb_PLL_mavenclock() 272 ln = ln / dvd; in matroxfb_PLL_mavenclock() 274 if (ln < scrlen + 2) in matroxfb_PLL_mavenclock() 276 ln = ln - scrlen; in matroxfb_PLL_mavenclock() 277 if (ln > htotal) in matroxfb_PLL_mavenclock() 279 dprintk(KERN_DEBUG "Match: %u / %u / %u / %u\n", n, m, p, ln); in matroxfb_PLL_mavenclock() 280 if (ln > besth2) { in matroxfb_PLL_mavenclock() 282 *h2 = besth2 = ln; in matroxfb_PLL_mavenclock()
|
/drivers/scsi/bfa/ |
D | bfa_svc.c | 148 static void bfa_fcport_queue_cb(struct bfa_fcport_ln_s *ln, 189 static void bfa_fcport_ln_sm_dn(struct bfa_fcport_ln_s *ln, 191 static void bfa_fcport_ln_sm_dn_nf(struct bfa_fcport_ln_s *ln, 193 static void bfa_fcport_ln_sm_dn_up_nf(struct bfa_fcport_ln_s *ln, 195 static void bfa_fcport_ln_sm_up(struct bfa_fcport_ln_s *ln, 197 static void bfa_fcport_ln_sm_up_nf(struct bfa_fcport_ln_s *ln, 199 static void bfa_fcport_ln_sm_up_dn_nf(struct bfa_fcport_ln_s *ln, 201 static void bfa_fcport_ln_sm_up_dn_up_nf(struct bfa_fcport_ln_s *ln, 2780 bfa_fcport_ln_sm_dn(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_dn() argument 2783 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn() [all …]
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | gm200.c | 34 gm200_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu) in gm200_sor_dp_drive() argument 38 const u32 shift = sor->func->dp->lanes[ln] * 8; in gm200_sor_dp_drive() 46 if ((data[2] & 0x00000f00) < (pu << 8) || ln == 0) in gm200_sor_dp_drive()
|
D | g94.c | 64 g94_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu) in g94_sor_dp_drive() argument 68 const u32 shift = sor->func->dp->lanes[ln] * 8; in g94_sor_dp_drive() 74 if ((data[2] & 0x0000ff00) < (pu << 8) || ln == 0) in g94_sor_dp_drive()
|
/drivers/gpu/drm/i915/gem/ |
D | i915_gem_object.c | 238 struct i915_lut_handle *lut, *ln; in i915_gem_close_object() local 242 list_for_each_entry_safe(lut, ln, &obj->lut_list, obj_link) { in i915_gem_close_object() 251 if (&ln->obj_link != &obj->lut_list) { in i915_gem_close_object() 252 list_add_tail(&bookmark.obj_link, &ln->obj_link); in i915_gem_close_object() 254 list_safe_reset_next(&bookmark, ln, obj_link); in i915_gem_close_object() 265 list_for_each_entry_safe(lut, ln, &close, obj_link) { in i915_gem_close_object()
|
/drivers/gpu/drm/ci/ |
D | build.sh | 51 ln -sf /usr/bin/$i.bfd ld-links/$i 150 ln -s common artifacts/install/ci-common
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 45 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln); 1886 int ln; local 1888 for (ln = 1; ln < SYM_CONF_MAX_LUN; ln++) 1889 if (tp->lunmp[ln]) 1890 tp->lunmp[ln]->to_clear = 0; 4647 u_char ln = cmd->device->lun; local 4649 struct sym_lcb *lp = sym_lp(tp, ln); 4680 sym_alloc_lcb_tags(np, tn, ln); 4755 cp->lun = ln; 4967 struct sym_lcb *sym_alloc_lcb (struct sym_hcb *np, u_char tn, u_char ln) argument [all …]
|
/drivers/comedi/drivers/ni_routing/tools/ |
D | Makefile | 47 ln -snf ../$< $@
|
/drivers/scsi/ |
D | ncr53c8xx.c | 1904 static void ncr_alloc_ccb (struct ncb *np, u_char tn, u_char ln); 1910 static struct lcb * ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln); 5459 unsigned char tn = sdev->id, ln = sdev->lun; in ncr_setup_tags() local 5461 struct lcb *lp = tp->lp[ln]; in ncr_setup_tags() 6972 u_char ln = cmd->device->lun; in ncr_get_ccb() local 6974 struct lcb *lp = tp->lp[ln]; in ncr_get_ccb() 6993 ncr_alloc_ccb(np, tn, ln); in ncr_get_ccb() 7062 cp->lun = ln; in ncr_get_ccb() 7181 static void ncr_alloc_ccb(struct ncb *np, u_char tn, u_char ln) in ncr_alloc_ccb() argument 7184 struct lcb *lp = tp->lp[ln]; in ncr_alloc_ccb() [all …]
|