Home
last modified time | relevance | path

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

12345

/linux-6.6.21/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.h204 #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);
Dcsio_init.c596 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 …]
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.6.21/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.h83 #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 …]
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.c1113 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 …]
/linux-6.6.21/Documentation/devicetree/bindings/clock/
Dcirrus,lochnagar.yaml48 - ln-cdc-clkout # Output clock from CODEC card.
49 - ln-dsp-clkout # Output clock from DSP card.
50 - ln-gf-mclk1 # Optional input clock from host system.
51 - ln-gf-mclk2 # Optional input clock from host system.
52 - ln-gf-mclk3 # Optional input clock from host system.
53 - ln-gf-mclk4 # Optional input clock from host system.
54 - ln-psia1-mclk # Optional input clock from external connector.
55 - ln-psia2-mclk # Optional input clock from external connector.
56 - ln-spdif-mclk # Optional input clock from SPDIF.
57 - ln-spdif-clkout # Optional input clock from SPDIF.
[all …]
/linux-6.6.21/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.6.21/fs/lockd/
Dsvc.c103 struct lockd_net *ln = container_of(dwork, struct lockd_net, in grace_ender() local
106 locks_end_grace(&ln->lockd_manager); in grace_ender()
112 struct lockd_net *ln = net_generic(net, lockd_net_id); in set_grace_period() local
114 locks_start_grace(net, &ln->lockd_manager); in set_grace_period()
115 cancel_delayed_work_sync(&ln->grace_period_end); in set_grace_period()
116 schedule_delayed_work(&ln->grace_period_end, grace_period); in set_grace_period()
127 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.c181 struct lockd_net *ln = net_generic(host->net, lockd_net_id); in nlm_destroy_host_locked() local
196 ln->nrhosts--; in nlm_destroy_host_locked()
240 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmclnt_lookup_host() local
275 ln->nrhosts++; in nlmclnt_lookup_host()
348 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlmsvc_lookup_host() local
356 if (time_after_eq(jiffies, ln->next_gc)) in nlmsvc_lookup_host()
394 ln->nrhosts++; in nlmsvc_lookup_host()
589 struct lockd_net *ln = net_generic(net, lockd_net_id); in nlm_complain_hosts() local
591 if (ln->nrhosts == 0) in nlm_complain_hosts()
595 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.6.21/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";
117 my $ln;
126 $ln++;
138 parse_error($file, $ln, "tag '$tag' is invalid", $_);
144 parse_error($file, $ln, "tag 'Where' is invalid. Should be 'What:' instead", "");
152 push @{$symbols{$content}->{file}}, " $file:" . ($ln - 1);
158 …parse_error($file, $ln, "What '$what' doesn't have a description", "") if (!$data{$what}->{descrip…
197 $data{$what}->{line_no} = $ln;
199 $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.6.21/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.6.21/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.6.21/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.6.21/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