/drivers/scsi/csiostor/ |
D | csio_lnode.c | 117 struct csio_lnode *ln = hw->rln; 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 | 204 #define csio_lnode_to_hw(ln) ((ln)->hwp) argument 205 #define csio_root_lnode(ln) (csio_lnode_to_hw((ln))->rln) argument 206 #define csio_parent_lnode(ln) ((ln)->pln) argument 207 #define csio_ln_flowid(ln) ((ln)->vnp_flowid) argument 208 #define csio_ln_wwpn(ln) ((ln)->ln_sparm.wwpn) argument 209 #define csio_ln_wwnn(ln) ((ln)->ln_sparm.wwnn) argument 211 #define csio_is_root_ln(ln) (((ln) == csio_root_lnode((ln))) ? 1 : 0) argument 212 #define csio_is_phys_ln(ln) (((ln)->pln == NULL) ? 1 : 0) argument 213 #define csio_is_npiv_ln(ln) (((ln)->pln != NULL) ? 1 : 0) argument 238 void csio_lnode_state_to_str(struct csio_lnode *ln, int8_t *str);
|
D | csio_init.c | 605 struct csio_lnode *ln; in csio_shost_init() local 626 ln = shost_priv(shost); in csio_shost_init() 627 memset(ln, 0, sizeof(struct csio_lnode)); in csio_shost_init() 630 ln->dev_num = (shost->host_no << 16); in csio_shost_init() 646 hw->rln = ln; in csio_shost_init() 649 if (csio_lnode_init(ln, hw, pln)) in csio_shost_init() 655 return ln; in csio_shost_init() 658 csio_lnode_exit(ln); in csio_shost_init() 671 csio_shost_exit(struct csio_lnode *ln) in csio_shost_exit() argument 673 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 | 83 csio_ln_to_shost(struct csio_lnode *ln) in csio_ln_to_shost() argument 85 return container_of((void *)ln, struct Scsi_Host, hostdata[0]); in csio_ln_to_shost()
|
D | csio_mb.c | 834 csio_write_fcoe_link_cond_init_mb(struct csio_lnode *ln, struct csio_mb *mbp, in csio_write_fcoe_link_cond_init_mb() argument 842 CSIO_INIT_MBP(mbp, cmdp, mb_tmo, ln, cbfn, 1); in csio_write_fcoe_link_cond_init_mb() 903 csio_fcoe_vnp_alloc_init_mb(struct csio_lnode *ln, struct csio_mb *mbp, in csio_fcoe_vnp_alloc_init_mb() argument 911 CSIO_INIT_MBP(mbp, cmdp, mb_tmo, ln, cbfn, 1); in csio_fcoe_vnp_alloc_init_mb() 945 csio_fcoe_vnp_read_init_mb(struct csio_lnode *ln, struct csio_mb *mbp, in csio_fcoe_vnp_read_init_mb() argument 952 CSIO_INIT_MBP(mbp, cmdp, mb_tmo, ln, cbfn, 1); in csio_fcoe_vnp_read_init_mb() 974 csio_fcoe_vnp_free_init_mb(struct csio_lnode *ln, struct csio_mb *mbp, in csio_fcoe_vnp_free_init_mb() argument 981 CSIO_INIT_MBP(mbp, cmdp, mb_tmo, ln, cbfn, 1); in csio_fcoe_vnp_free_init_mb() 1005 csio_fcoe_read_fcf_init_mb(struct csio_lnode *ln, struct csio_mb *mbp, in csio_fcoe_read_fcf_init_mb() argument 1012 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);
|
/drivers/md/persistent-data/ |
D | dm-btree.c | 539 struct btree_node *ln, *rn, *pn; in btree_split_sibling() local 548 ln = dm_block_data(left); in btree_split_sibling() 551 nr_left = le32_to_cpu(ln->header.nr_entries) / 2; in btree_split_sibling() 552 nr_right = le32_to_cpu(ln->header.nr_entries) - nr_left; in btree_split_sibling() 554 ln->header.nr_entries = cpu_to_le32(nr_left); in btree_split_sibling() 556 rn->header.flags = ln->header.flags; in btree_split_sibling() 558 rn->header.max_entries = ln->header.max_entries; in btree_split_sibling() 559 rn->header.value_size = ln->header.value_size; in btree_split_sibling() 560 memcpy(rn->keys, ln->keys + nr_left, nr_right * sizeof(rn->keys[0])); in btree_split_sibling() 562 size = le32_to_cpu(ln->header.flags) & INTERNAL_NODE ? in btree_split_sibling() [all …]
|
/drivers/video/fbdev/matrox/ |
D | matroxfb_maven.c | 258 unsigned int ln; in matroxfb_PLL_mavenclock() local 266 ln = fxtal * n; in matroxfb_PLL_mavenclock() 269 if (ln % dvd) in matroxfb_PLL_mavenclock() 271 ln = ln / dvd; in matroxfb_PLL_mavenclock() 273 if (ln < scrlen + 2) in matroxfb_PLL_mavenclock() 275 ln = ln - scrlen; in matroxfb_PLL_mavenclock() 276 if (ln > htotal) in matroxfb_PLL_mavenclock() 278 dprintk(KERN_DEBUG "Match: %u / %u / %u / %u\n", n, m, p, ln); in matroxfb_PLL_mavenclock() 279 if (ln > besth2) { in matroxfb_PLL_mavenclock() 281 *h2 = besth2 = ln; in matroxfb_PLL_mavenclock()
|
/drivers/gpu/drm/nouveau/nvkm/engine/disp/ |
D | sorgm200.c | 27 gm200_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu) in gm200_sor_dp_drive() argument 31 const u32 shift = sor->func->dp.lanes[ln] * 8; in gm200_sor_dp_drive() 39 if ((data[2] & 0x00000f00) < (pu << 8) || ln == 0) in gm200_sor_dp_drive()
|
D | sorgf119.c | 71 gf119_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu) in gf119_sor_dp_drive() argument 75 const u32 shift = sor->func->dp.lanes[ln] * 8; in gf119_sor_dp_drive() 81 if ((data[2] & 0x0000ff00) < (pu << 8) || ln == 0) in gf119_sor_dp_drive()
|
D | sorg94.c | 58 g94_sor_dp_drive(struct nvkm_ior *sor, int ln, int pc, int dc, int pe, int pu) in g94_sor_dp_drive() argument 62 const u32 shift = sor->func->dp.lanes[ln] * 8; in g94_sor_dp_drive() 68 if ((data[2] & 0x0000ff00) < (pu << 8) || ln == 0) in g94_sor_dp_drive()
|
D | ior.h | 70 void (*drive)(struct nvkm_ior *, int ln, int pc,
|
/drivers/scsi/bfa/ |
D | bfa_svc.c | 156 static void bfa_fcport_queue_cb(struct bfa_fcport_ln_s *ln, 197 static void bfa_fcport_ln_sm_dn(struct bfa_fcport_ln_s *ln, 199 static void bfa_fcport_ln_sm_dn_nf(struct bfa_fcport_ln_s *ln, 201 static void bfa_fcport_ln_sm_dn_up_nf(struct bfa_fcport_ln_s *ln, 203 static void bfa_fcport_ln_sm_up(struct bfa_fcport_ln_s *ln, 205 static void bfa_fcport_ln_sm_up_nf(struct bfa_fcport_ln_s *ln, 207 static void bfa_fcport_ln_sm_up_dn_nf(struct bfa_fcport_ln_s *ln, 209 static void bfa_fcport_ln_sm_up_dn_up_nf(struct bfa_fcport_ln_s *ln, 2806 bfa_fcport_ln_sm_dn(struct bfa_fcport_ln_s *ln, in bfa_fcport_ln_sm_dn() argument 2809 bfa_trc(ln->fcport->bfa, event); in bfa_fcport_ln_sm_dn() [all …]
|
/drivers/gpu/drm/i915/ |
D | intel_ddi.c | 1912 int ln; in cnl_ddi_vswing_program() local 1960 for (ln = 0; ln < 4; ln++) { in cnl_ddi_vswing_program() 1961 val = I915_READ(CNL_PORT_TX_DW4_LN(port, ln)); in cnl_ddi_vswing_program() 1967 I915_WRITE(CNL_PORT_TX_DW4_LN(port, ln), val); in cnl_ddi_vswing_program() 1994 int ln = 0; in cnl_ddi_vswing_sequence() local 2026 for (ln = 0; ln <= 3; ln++) { in cnl_ddi_vswing_sequence() 2027 val = I915_READ(CNL_PORT_TX_DW4_LN(port, ln)); in cnl_ddi_vswing_sequence() 2030 if ((rate <= 600000 && width == 4 && ln >= 1) || in cnl_ddi_vswing_sequence() 2031 (rate <= 600000 && width < 4 && (ln == 1 || ln == 2))) { in cnl_ddi_vswing_sequence() 2034 I915_WRITE(CNL_PORT_TX_DW4_LN(port, ln), val); in cnl_ddi_vswing_sequence()
|
D | i915_gem_context.c | 98 struct i915_lut_handle *lut, *ln; in lut_close() local 102 list_for_each_entry_safe(lut, ln, &ctx->handles_list, ctx_link) { in lut_close()
|
/drivers/scsi/sym53c8xx_2/ |
D | sym_hipd.c | 58 static void sym_alloc_lcb_tags (struct sym_hcb *np, u_char tn, u_char ln); 1899 int ln; local 1901 for (ln = 1; ln < SYM_CONF_MAX_LUN; ln++) 1902 if (tp->lunmp[ln]) 1903 tp->lunmp[ln]->to_clear = 0; 4660 u_char ln = cmd->device->lun; local 4662 struct sym_lcb *lp = sym_lp(tp, ln); 4693 sym_alloc_lcb_tags(np, tn, ln); 4768 cp->lun = ln; 4980 struct sym_lcb *sym_alloc_lcb (struct sym_hcb *np, u_char tn, u_char ln) argument [all …]
|
D | sym_hipd.h | 1068 struct sym_lcb *sym_alloc_lcb(struct sym_hcb *np, u_char tn, u_char ln); 1069 int sym_free_lcb(struct sym_hcb *np, u_char tn, u_char ln);
|
/drivers/scsi/ |
D | ncr53c8xx.c | 1919 static void ncr_alloc_ccb (struct ncb *np, u_char tn, u_char ln); 1925 static struct lcb * ncr_alloc_lcb (struct ncb *np, u_char tn, u_char ln); 5634 unsigned char tn = sdev->id, ln = sdev->lun; in ncr_setup_tags() local 5636 struct lcb *lp = tp->lp[ln]; in ncr_setup_tags() 7146 u_char ln = cmd->device->lun; in ncr_get_ccb() local 7148 struct lcb *lp = tp->lp[ln]; in ncr_get_ccb() 7167 ncr_alloc_ccb(np, tn, ln); in ncr_get_ccb() 7236 cp->lun = ln; in ncr_get_ccb() 7355 static void ncr_alloc_ccb(struct ncb *np, u_char tn, u_char ln) in ncr_alloc_ccb() argument 7358 struct lcb *lp = tp->lp[ln]; in ncr_alloc_ccb() [all …]
|
/drivers/staging/lustre/lustre/llite/ |
D | llite_lib.c | 2538 struct lu_fid *parent_fid, struct lu_name *ln) in ll_linkea_decode() argument 2553 linkea_entry_unpack(ldata->ld_lee, &ldata->ld_reclen, ln, in ll_linkea_decode() 2589 struct lu_name ln; in ll_getparent() local 2620 rc = ll_linkea_decode(ldata, linkno, &parent_fid, &ln); in ll_getparent() 2624 if (ln.ln_namelen >= name_size) { in ll_getparent() 2634 if (copy_to_user(&arg->gp_name, ln.ln_name, ln.ln_namelen)) { in ll_getparent() 2639 if (put_user('\0', arg->gp_name + ln.ln_namelen)) { in ll_getparent()
|
/drivers/base/ |
D | core.c | 459 struct device_link *link, *ln; in __device_links_no_driver() local 461 list_for_each_entry_safe_reverse(link, ln, &dev->links.suppliers, c_node) { in __device_links_no_driver() 609 struct device_link *link, *ln; in device_links_purge() local 617 list_for_each_entry_safe_reverse(link, ln, &dev->links.suppliers, c_node) { in device_links_purge() 622 list_for_each_entry_safe_reverse(link, ln, &dev->links.consumers, s_node) { in device_links_purge()
|
/drivers/usb/atm/ |
D | ueagle-atm.c | 1952 int ret, size, u, ln; in load_XILINX_firmware() local 1974 for (u = 0; u < size; u += ln) { in load_XILINX_firmware() 1975 ln = min(size - u, 64); in load_XILINX_firmware() 1976 ret = uea_request(sc, 0xe, 0, ln, pfw + u); in load_XILINX_firmware()
|
/drivers/net/wireless/ath/ath9k/ |
D | hif_usb.c | 240 int ln = skb->len; in ath9k_skb_queue_complete() local 246 TX_STAT_ADD(skb_success_bytes, ln); in ath9k_skb_queue_complete()
|