/linux/drivers/scsi/csiostor/ |
H A 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 …]
|
H A 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 …]
|
H A 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 …]
|
H A 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);
|
H A D | csio_init.c | 597 struct csio_lnode *ln; in csio_shost_init() local 618 ln = shost_priv(shost); in csio_shost_init() 619 memset(ln, 0, sizeof(struct csio_lnode)); in csio_shost_init() 622 ln->dev_num = (shost->host_no << 16); in csio_shost_init() 638 hw->rln = ln; in csio_shost_init() 641 if (csio_lnode_init(ln, hw, pln)) in csio_shost_init() 647 return ln; in csio_shost_init() 650 csio_lnode_exit(ln); in csio_shost_init() 663 csio_shost_exit(struct csio_lnode *ln) in csio_shost_exit() argument 665 struct Scsi_Host *shost = csio_ln_to_shost(ln); in csio_shost_exit() [all …]
|
H A 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 …]
|
/linux/drivers/gpu/drm/i915/display/ |
H A 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 …]
|
H A D | intel_combo_phy_regs.h | 79 #define _ICL_PORT_PCS_LN(ln) (0x800 + (ln) * 0x100) argument 84 #define _ICL_PORT_PCS_DW_LN(dw, ln, phy) (_ICL_COMBOPHY(phy) + \ argument 85 _ICL_PORT_PCS_LN(ln) + 4 * (dw)) 88 #define ICL_PORT_PCS_DW1_LN(ln, phy) _MMIO(_ICL_PORT_PCS_DW_LN(1, ln, phy)) argument 98 #define _ICL_PORT_TX_LN(ln) (0x880 + (ln) * 0x100) argument 104 #define _ICL_PORT_TX_DW_LN(dw, ln, phy) (_ICL_COMBOPHY(phy) + \ argument 105 _ICL_PORT_TX_LN(ln) + 4 * (dw)) 109 #define ICL_PORT_TX_DW2_LN(ln, phy) _MMIO(_ICL_PORT_TX_DW_LN(2, ln, phy)) argument 121 #define ICL_PORT_TX_DW4_LN(ln, phy) _MMIO(_ICL_PORT_TX_DW_LN(4, ln, phy)) argument 132 #define ICL_PORT_TX_DW5_LN(ln, phy) _MMIO(_ICL_PORT_TX_DW_LN(5, ln, phy)) argument [all …]
|
H A 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
|
H A 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
|
H A D | intel_ddi.c | 1124 int n_entries, ln; in icl_ddi_combo_vswing_program() local 1150 for (ln = 0; ln < 4; ln++) { in icl_ddi_combo_vswing_program() 1151 int level = intel_ddi_level(encoder, crtc_state, ln); in icl_ddi_combo_vswing_program() 1153 intel_de_rmw(dev_priv, ICL_PORT_TX_DW2_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_DW4_LN(ln, phy), in icl_ddi_combo_vswing_program() 1173 for (ln = 0; ln < 4; ln++) { in icl_ddi_combo_vswing_program() 1174 int level = intel_ddi_level(encoder, crtc_state, ln); in icl_ddi_combo_vswing_program() 1176 intel_de_rmw(dev_priv, ICL_PORT_TX_DW7_LN(ln, phy), in icl_ddi_combo_vswing_program() [all …]
|
/linux/Documentation/sphinx/ |
H A D | parse-headers.pl | 43 my $ln = $_; 45 $ln =~ s,/\*.*(\*/),,g; 47 $is_comment = 1 if ($ln =~ s,/\*.*,,); 49 if ($ln =~ s,^(.*\*/),,) { 56 if ($is_enum && $ln =~ m/^\s*([_\w][\w\d_]+)\s*[\,=]?/) { 69 if ($ln =~ m/^\s*#\s*define\s+([_\w][\w\d_]+)\s+_IO/) { 78 if ($ln =~ m/^\s*#\s*define\s+([_\w][\w\d_]+)\s+/) { 88 if ($ln =~ m/^\s*typedef\s+([_\w][\w\d_]+)\s+(.*)\s+([_\w][\w\d_]+);/) { 95 if ($ln =~ m/^\s*enum\s+([_\w][\w\d_]+)\s+\{/ 96 || $ln =~ m/^\s*enum\s+([_\w][\w\d_]+)$/ [all …]
|
H A D | kernel_abi.py | 106 ln = 0 128 ln = int(match.group(2)) - 1 130 content.append(line, f, ln)
|
/linux/fs/lockd/ |
H A D | svc.c | 101 struct lockd_net *ln = container_of(dwork, struct lockd_net, in grace_ender() local 104 locks_end_grace(&ln->lockd_manager); in grace_ender() 110 struct lockd_net *ln = net_generic(net, lockd_net_id); in set_grace_period() local 112 locks_start_grace(net, &ln->lockd_manager); in set_grace_period() 113 cancel_delayed_work_sync(&ln->grace_period_end); in set_grace_period() 114 schedule_delayed_work(&ln->grace_period_end, grace_period); in set_grace_period() 125 struct lockd_net *ln = net_generic(net, lockd_net_id); in lockd() local 148 cancel_delayed_work_sync(&ln->grace_period_end); in lockd() 149 locks_end_grace(&ln->lockd_manager); in lockd() 225 struct lockd_net *ln = net_generic(net, lockd_net_id); in lockd_up_net() local [all …]
|
H A D | procfs.c | 25 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, in nlm_end_grace_write() local 39 locks_end_grace(&ln->lockd_manager); in nlm_end_grace_write() 52 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, in nlm_end_grace_read() local 56 resp[0] = list_empty(&ln->lockd_manager.list) ? 'Y' : 'N'; in nlm_end_grace_read()
|
H A D | host.c | 180 struct lockd_net *ln = net_generic(host->net, lockd_net_id); in nlm_destroy_host_locked() local 195 ln->nrhosts--; in nlm_destroy_host_locked() 239 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmclnt_lookup_host() local 274 ln->nrhosts++; in nlmclnt_lookup_host() 347 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmsvc_lookup_host() local 355 if (time_after_eq(jiffies, ln->next_gc)) in nlmsvc_lookup_host() 393 ln->nrhosts++; in nlmsvc_lookup_host() 588 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlm_complain_hosts() local 590 if (ln->nrhosts == 0) in nlm_complain_hosts() 594 dprintk("lockd: %lu hosts left in net %x:\n", ln->nrhosts, in nlm_complain_hosts() [all …]
|
H A D | mon.c | 323 struct lockd_net *ln = net_generic(net, lockd_net_id); in nsm_get_handle() local 338 cached = nsm_lookup_hostname(&ln->nsm_handles, in nsm_get_handle() 341 cached = nsm_lookup_addr(&ln->nsm_handles, sap); in nsm_get_handle() 355 list_add(&new->sm_link, &ln->nsm_handles); in nsm_get_handle() 383 struct lockd_net *ln = net_generic(net, lockd_net_id); in nsm_reboot_lookup() local 387 cached = nsm_lookup_priv(&ln->nsm_handles, &info->priv); in nsm_reboot_lookup()
|
/linux/scripts/ |
H A D | get_feat.pl | 58 my ($file, $ln, $msg, $data) = @_; 62 print STDERR "Warning: file $file#$ln:\n\t$msg"; 116 my $ln; 123 $ln++; 180 parse_error($file, $ln, "line is invalid", $_); 185 parse_error($file, $ln, "Feature name not found", ""); 189 parse_error($file, $ln, "Subsystem not found", "") if (!$subsys); 190 parse_error($file, $ln, "Kconfig not found", "") if (!$kconfig); 191 parse_error($file, $ln, "Description not found", "") if (!$description); 194 parse_error($file, $ln, "Architecture table not found", ""); [all …]
|
H A D | get_abi.pl | 71 my ($file, $ln, $msg, $data) = @_; 77 print STDERR "Warning: file $file#$ln:\n\t$msg"; 118 my $ln; 127 $ln++; 139 parse_error($file, $ln, "tag '$tag' is invalid", $_); 145 parse_error($file, $ln, "tag 'Where' is invalid. Should be 'What:' instead", ""); 153 push @{$symbols{$content}->{file}}, " $file:" . ($ln - 1); 159 …parse_error($file, $ln, "What '$what' doesn't have a description", "") if (!$data{$what}->{descrip… 198 $data{$what}->{line_no} = $ln; 200 $data{$what}->{line_no} = $ln if (!defined($data{$what}->{line_no})); [all …]
|
H A D | documentation-file-ref-check | 89 my $ln = $2; 104 next if ($ln =~ m,\b(\S*)Documentation/output,); 106 if ($ln =~ m,\b(\S*)(Documentation/[A-Za-z0-9\_\.\,\~/\*\[\]\?+-]*)(.*),) {
|
/linux/tools/testing/memblock/ |
H A D | Makefile | 31 test -L linux/memblock.h || ln -s ../../../../include/linux/memblock.h linux/memblock.h 32 test -L asm/asm.h || ln -s ../../../arch/x86/include/asm/asm.h asm/asm.h 33 test -L asm/cmpxchg.h || ln -s ../../../arch/x86/include/asm/cmpxchg.h asm/cmpxchg.h 36 test -L memblock.c || ln -s $(EXTR_SRC) memblock.c
|
/linux/scripts/package/ |
H A D | builddeb | 114 ln -sf --relative "${dbg}" "${link}" 125 ln -s ../lib/modules/${KERNELRELEASE}/vmlinux ${pdir}/usr/lib/debug/boot/vmlinux-${KERNELRELEASE} 127 ln -s lib/modules/${KERNELRELEASE}/vmlinux ${pdir}/usr/lib/debug/vmlinux-${KERNELRELEASE} 137 ln -s /usr/src/linux-headers-$version $pdir/lib/modules/$version/build
|
/linux/drivers/md/persistent-data/ |
H A 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 …]
|
/linux/tools/iio/ |
H A D | Makefile | 30 ln -sf $(CURDIR)/../../include/uapi/linux/iio/buffer.h $@ 31 ln -sf $(CURDIR)/../../include/uapi/linux/iio/events.h $@ 32 ln -sf $(CURDIR)/../../include/uapi/linux/iio/types.h $@
|
/linux/drivers/video/fbdev/matrox/ |
H A 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()
|