Home
last modified time | relevance | path

Searched refs:ln (Results 1 – 25 of 125) sorted by relevance

12345

/linux-6.12.1/drivers/scsi/csiostor/
Dcsio_lnode.c117 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 …]
Dcsio_attr.c48 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 …]
Dcsio_rnode.c121 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 …]
Dcsio_lnode.h191 #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);
Dcsio_init.c597 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 …]
Dcsio_scsi.c1194 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-6.12.1/drivers/gpu/drm/i915/display/
Dintel_mg_phy_regs.h11 #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 …]
Dintel_combo_phy_regs.h79 #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 …]
Dintel_dkl_phy_regs.h51 #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
Dintel_snps_phy_regs.h19 #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
Dintel_ddi.c1123 int n_entries, ln; in icl_ddi_combo_vswing_program() local
1149 for (ln = 0; ln < 4; ln++) { in icl_ddi_combo_vswing_program()
1150 int level = intel_ddi_level(encoder, crtc_state, ln); in icl_ddi_combo_vswing_program()
1152 intel_de_rmw(dev_priv, ICL_PORT_TX_DW2_LN(ln, phy), in icl_ddi_combo_vswing_program()
1161 for (ln = 0; ln < 4; ln++) { in icl_ddi_combo_vswing_program()
1162 int level = intel_ddi_level(encoder, crtc_state, ln); in icl_ddi_combo_vswing_program()
1164 intel_de_rmw(dev_priv, ICL_PORT_TX_DW4_LN(ln, phy), in icl_ddi_combo_vswing_program()
1172 for (ln = 0; ln < 4; ln++) { in icl_ddi_combo_vswing_program()
1173 int level = intel_ddi_level(encoder, crtc_state, ln); in icl_ddi_combo_vswing_program()
1175 intel_de_rmw(dev_priv, ICL_PORT_TX_DW7_LN(ln, phy), in icl_ddi_combo_vswing_program()
[all …]
/linux-6.12.1/Documentation/sphinx/
Dparse-headers.pl43 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 …]
Dkernel_abi.py106 ln = 0
128 ln = int(match.group(2)) - 1
130 content.append(line, f, ln)
/linux-6.12.1/fs/lockd/
Dsvc.c101 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 …]
Dprocfs.c25 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()
Dhost.c180 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 …]
Dmon.c323 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-6.12.1/scripts/
Dget_feat.pl58 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 …]
Dget_abi.pl71 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 …]
Ddocumentation-file-ref-check89 my $ln = $2;
104 next if ($ln =~ m,\b(\S*)Documentation/output,);
106 if ($ln =~ m,\b(\S*)(Documentation/[A-Za-z0-9\_\.\,\~/\*\[\]\?+-]*)(.*),) {
/linux-6.12.1/tools/testing/memblock/
DMakefile31 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-6.12.1/scripts/package/
Dbuilddeb107 ln -sf --relative "${dbg}" "${link}"
117 ln -s ../lib/modules/${KERNELRELEASE}/vmlinux ${pdir}/usr/lib/debug/boot/vmlinux-${KERNELRELEASE}
119 ln -s lib/modules/${KERNELRELEASE}/vmlinux ${pdir}/usr/lib/debug/vmlinux-${KERNELRELEASE}
129 ln -s /usr/src/linux-headers-$version $pdir/lib/modules/$version/build
/linux-6.12.1/tools/iio/
DMakefile30 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-6.12.1/drivers/md/persistent-data/
Ddm-btree.c659 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-6.12.1/drivers/video/fbdev/matrox/
Dmatroxfb_maven.c259 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()

12345