Home
last modified time | relevance | path

Searched +full:tp +full:- +full:link (Results 1 – 25 of 442) sorted by relevance

12345678910>>...18

/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Dpnic2.c5 Written/copyright 1994-2001 by Donald Becker.
15 /* Understanding the PNIC_II - everything is this file is based
24 * -----
25 * Bit 24 - SCR
26 * Bit 23 - PCS
27 * Bit 22 - TTM (Trasmit Threshold Mode)
28 * Bit 18 - Port Select
29 * Bit 13 - Start - 1, Stop - 0 Transmissions
30 * Bit 11:10 - Loop Back Operation Mode
31 * Bit 9 - Full Duplex mode (Advertise 10BaseT-FD is CSR14<7> is set)
[all …]
D21142.c5 Written/copyright 1994-2001 by Donald Becker.
30 struct tulip_private *tp = in t21142_media_task() local
32 struct net_device *dev = tp->dev; in t21142_media_task()
33 void __iomem *ioaddr = tp->base_addr; in t21142_media_task()
43 dev_info(&dev->dev, "21143 negotiation status %08x, %s\n", in t21142_media_task()
44 csr12, medianame[dev->if_port]); in t21142_media_task()
45 if (tulip_media_cap[dev->if_port] & MediaIsMII) { in t21142_media_task()
53 } else if (tp->nwayset) { in t21142_media_task()
56 dev_info(&dev->dev, in t21142_media_task()
57 "Using NWay-set %s media, csr12 %08x\n", in t21142_media_task()
[all …]
Dtimer.c5 Written/copyright 1994-2001 by Donald Becker.
19 struct tulip_private *tp = in tulip_media_task() local
21 struct net_device *dev = tp->dev; in tulip_media_task()
22 void __iomem *ioaddr = tp->base_addr; in tulip_media_task()
29 medianame[dev->if_port], in tulip_media_task()
34 switch (tp->chip_id) { in tulip_media_task()
43 if (tp->mtable == NULL) { /* No EEPROM info, use generic code. */ in tulip_media_task()
53 mleaf = &tp->mtable->mleaf[tp->cur_index]; in tulip_media_task()
54 p = mleaf->leafdata; in tulip_media_task()
55 switch (mleaf->type) { in tulip_media_task()
[all …]
Dpnic.c5 Written/copyright 1994-2001 by Donald Becker.
21 struct tulip_private *tp = netdev_priv(dev); in pnic_do_nway() local
22 void __iomem *ioaddr = tp->base_addr; in pnic_do_nway()
24 u32 new_csr6 = tp->csr6 & ~0x40C40200; in pnic_do_nway()
27 if (phy_reg & 0x20000000) dev->if_port = 5; in pnic_do_nway()
28 else if (phy_reg & 0x40000000) dev->if_port = 3; in pnic_do_nway()
29 else if (phy_reg & 0x10000000) dev->if_port = 4; in pnic_do_nway()
30 else if (phy_reg & 0x08000000) dev->if_port = 0; in pnic_do_nway()
31 tp->nwayset = 1; in pnic_do_nway()
32 new_csr6 = (dev->if_port & 1) ? 0x01860000 : 0x00420000; in pnic_do_nway()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/dec/tulip/
Dpnic2.c5 Written/copyright 1994-2001 by Donald Becker.
15 /* Understanding the PNIC_II - everything is this file is based
24 * -----
25 * Bit 24 - SCR
26 * Bit 23 - PCS
27 * Bit 22 - TTM (Trasmit Threshold Mode)
28 * Bit 18 - Port Select
29 * Bit 13 - Start - 1, Stop - 0 Transmissions
30 * Bit 11:10 - Loop Back Operation Mode
31 * Bit 9 - Full Duplex mode (Advertise 10BaseT-FD is CSR14<7> is set)
[all …]
D21142.c5 Written/copyright 1994-2001 by Donald Becker.
30 struct tulip_private *tp = in t21142_media_task() local
32 struct net_device *dev = tp->dev; in t21142_media_task()
33 void __iomem *ioaddr = tp->base_addr; in t21142_media_task()
43 dev_info(&dev->dev, "21143 negotiation status %08x, %s\n", in t21142_media_task()
44 csr12, medianame[dev->if_port]); in t21142_media_task()
45 if (tulip_media_cap[dev->if_port] & MediaIsMII) { in t21142_media_task()
53 } else if (tp->nwayset) { in t21142_media_task()
56 dev_info(&dev->dev, in t21142_media_task()
57 "Using NWay-set %s media, csr12 %08x\n", in t21142_media_task()
[all …]
Dtimer.c5 Written/copyright 1994-2001 by Donald Becker.
19 struct tulip_private *tp = in tulip_media_task() local
21 struct net_device *dev = tp->dev; in tulip_media_task()
22 void __iomem *ioaddr = tp->base_addr; in tulip_media_task()
29 medianame[dev->if_port], in tulip_media_task()
34 switch (tp->chip_id) { in tulip_media_task()
43 if (tp->mtable == NULL) { /* No EEPROM info, use generic code. */ in tulip_media_task()
53 mleaf = &tp->mtable->mleaf[tp->cur_index]; in tulip_media_task()
54 p = mleaf->leafdata; in tulip_media_task()
55 switch (mleaf->type) { in tulip_media_task()
[all …]
Dpnic.c5 Written/copyright 1994-2001 by Donald Becker.
21 struct tulip_private *tp = netdev_priv(dev); in pnic_do_nway() local
22 void __iomem *ioaddr = tp->base_addr; in pnic_do_nway()
27 if (phy_reg & 0x20000000) dev->if_port = 5; in pnic_do_nway()
28 else if (phy_reg & 0x40000000) dev->if_port = 3; in pnic_do_nway()
29 else if (phy_reg & 0x10000000) dev->if_port = 4; in pnic_do_nway()
30 else if (phy_reg & 0x08000000) dev->if_port = 0; in pnic_do_nway()
31 tp->nwayset = 1; in pnic_do_nway()
32 new_csr6 = (dev->if_port & 1) ? 0x01860000 : 0x00420000; in pnic_do_nway()
33 iowrite32(0x32 | (dev->if_port & 1), ioaddr + CSR12); in pnic_do_nway()
[all …]
/kernel/linux/linux-5.10/net/sched/
Dcls_basic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
33 struct tcf_proto *tp; member
34 struct list_head link; member
39 static int basic_classify(struct sk_buff *skb, const struct tcf_proto *tp, in basic_classify() argument
43 struct basic_head *head = rcu_dereference_bh(tp->root); in basic_classify()
46 list_for_each_entry_rcu(f, &head->flist, link) { in basic_classify()
47 __this_cpu_inc(f->pf->rcnt); in basic_classify()
48 if (!tcf_em_tree_match(skb, &f->ematches, NULL)) in basic_classify()
50 __this_cpu_inc(f->pf->rhit); in basic_classify()
51 *res = f->res; in basic_classify()
[all …]
Dcls_bpf.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Might be used to classify traffic through flexible, user-defined and
6 * possibly JIT-ed BPF filters for traffic control as an alternative to
39 struct list_head link; member
49 struct tcf_proto *tp; member
80 static int cls_bpf_classify(struct sk_buff *skb, const struct tcf_proto *tp, in cls_bpf_classify() argument
83 struct cls_bpf_head *head = rcu_dereference_bh(tp->root); in cls_bpf_classify()
86 int ret = -1; in cls_bpf_classify()
90 list_for_each_entry_rcu(prog, &head->plist, link) { in cls_bpf_classify()
93 qdisc_skb_cb(skb)->tc_classid = prog->res.classid; in cls_bpf_classify()
[all …]
/kernel/linux/linux-6.6/net/sched/
Dcls_basic.c1 // SPDX-License-Identifier: GPL-2.0-or-later
34 struct tcf_proto *tp; member
35 struct list_head link; member
41 const struct tcf_proto *tp, in basic_classify() argument
45 struct basic_head *head = rcu_dereference_bh(tp->root); in basic_classify()
48 list_for_each_entry_rcu(f, &head->flist, link) { in basic_classify()
49 __this_cpu_inc(f->pf->rcnt); in basic_classify()
50 if (!tcf_em_tree_match(skb, &f->ematches, NULL)) in basic_classify()
52 __this_cpu_inc(f->pf->rhit); in basic_classify()
53 *res = f->res; in basic_classify()
[all …]
Dcls_bpf.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Might be used to classify traffic through flexible, user-defined and
6 * possibly JIT-ed BPF filters for traffic control as an alternative to
40 struct list_head link; member
50 struct tcf_proto *tp; member
82 const struct tcf_proto *tp, in cls_bpf_classify() argument
85 struct cls_bpf_head *head = rcu_dereference_bh(tp->root); in cls_bpf_classify()
88 int ret = -1; in cls_bpf_classify()
90 list_for_each_entry_rcu(prog, &head->plist, link) { in cls_bpf_classify()
93 qdisc_skb_cb(skb)->tc_classid = prog->res.classid; in cls_bpf_classify()
[all …]
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c1 // SPDX-License-Identifier: GPL-2.0
34 #define PARENT_CGROUP "/test-bpf-sock-fields"
35 #define CHILD_CGROUP "/test-bpf-sock-fields/child"
53 if (!ASSERT_OK(system("ip link set dev lo up"), "bring up lo")) in create_netns()
64 inet_ntop(AF_INET, &sk->src_ip4, src_ip4, sizeof(src_ip4)); in print_sk()
65 inet_ntop(AF_INET6, &sk->src_ip6, src_ip6, sizeof(src_ip6)); in print_sk()
66 inet_ntop(AF_INET, &sk->dst_ip4, dst_ip4, sizeof(dst_ip4)); in print_sk()
67 inet_ntop(AF_INET6, &sk->dst_ip6, dst_ip6, sizeof(dst_ip6)); in print_sk()
73 sk->state, sk->bound_dev_if, sk->family, sk->type, sk->protocol, in print_sk()
74 sk->mark, sk->priority, in print_sk()
[all …]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/prog_tests/
Dsock_fields.c1 // SPDX-License-Identifier: GPL-2.0
35 #define PARENT_CGROUP "/test-bpf-sock-fields"
36 #define CHILD_CGROUP "/test-bpf-sock-fields/child"
54 if (!ASSERT_OK(system("ip link set dev lo up"), "bring up lo")) in create_netns()
65 inet_ntop(AF_INET, &sk->src_ip4, src_ip4, sizeof(src_ip4)); in print_sk()
66 inet_ntop(AF_INET6, &sk->src_ip6, src_ip6, sizeof(src_ip6)); in print_sk()
67 inet_ntop(AF_INET, &sk->dst_ip4, dst_ip4, sizeof(dst_ip4)); in print_sk()
68 inet_ntop(AF_INET6, &sk->dst_ip6, dst_ip6, sizeof(dst_ip6)); in print_sk()
74 sk->state, sk->bound_dev_if, sk->family, sk->type, sk->protocol, in print_sk()
75 sk->mark, sk->priority, in print_sk()
[all …]
/kernel/linux/linux-5.10/kernel/trace/
Dtrace_probe.c1 // SPDX-License-Identifier: GPL-2.0
3 * Common code for probe-based Dynamic events.
9 * Copyright (C) IBM Corporation, 2010-2011
199 *(p - 1) = '\0'; in __trace_probe_log_err()
214 return -EINVAL; in traceprobe_split_symbol_offset()
216 tmp = strpbrk(symbol, "+-"); in traceprobe_split_symbol_offset()
239 return -EINVAL; in traceprobe_parse_event_name()
241 if (slash - event + 1 > MAX_EVENT_NAME_LEN) { in traceprobe_parse_event_name()
243 return -EINVAL; in traceprobe_parse_event_name()
245 strlcpy(buf, event, slash - event + 1); in traceprobe_parse_event_name()
[all …]
/kernel/linux/linux-6.6/arch/mips/boot/dts/qca/
Dar9132_tl_wr1043nd_v1.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "tplink,tl-wr1043nd-v1", "qca,ar9132";
11 model = "TP-Link TL-WR1043ND Version 1";
19 compatible = "fixed-clock";
20 #clock-cells = <0>;
21 clock-frequency = <40000000>;
24 gpio-keys {
[all …]
Dar9331_tl_mr3020.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "TP-Link TL-MR3020";
11 compatible = "tplink,tl-mr3020";
23 compatible = "gpio-leds";
25 led-wlan {
26 label = "tp-link:green:wlan";
28 default-state = "off";
[all …]
/kernel/linux/linux-5.10/arch/mips/boot/dts/qca/
Dar9331_tl_mr3020.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 model = "TP-Link TL-MR3020";
11 compatible = "tplink,tl-mr3020";
23 compatible = "gpio-leds";
26 label = "tp-link:green:wlan";
28 default-state = "off";
32 label = "tp-link:green:lan";
[all …]
Dar9132_tl_wr1043nd_v1.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/gpio/gpio.h>
5 #include <dt-bindings/input/input.h>
10 compatible = "tplink,tl-wr1043nd-v1", "qca,ar9132";
11 model = "TP-Link TL-WR1043ND Version 1";
19 compatible = "fixed-clock";
20 #clock-cells = <0>;
21 clock-frequency = <40000000>;
24 gpio-keys {
[all …]
/kernel/linux/linux-6.6/fs/xfs/
Dxfs_symlink.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2006 Silicon Graphics, Inc.
4 * Copyright (c) 2012-2013 Red Hat, Inc.
27 /* ----- Kernel only functions below ----- */
31 char *link) in xfs_readlink_bmap_ilocked() argument
33 struct xfs_mount *mp = ip->i_mount; in xfs_readlink_bmap_ilocked()
38 int pathlen = ip->i_disk_size; in xfs_readlink_bmap_ilocked()
58 error = xfs_buf_read(mp->m_ddev_targp, d, BTOBB(byte_cnt), 0, in xfs_readlink_bmap_ilocked()
66 cur_chunk = bp->b_addr; in xfs_readlink_bmap_ilocked()
68 if (!xfs_symlink_hdr_ok(ip->i_ino, offset, in xfs_readlink_bmap_ilocked()
[all …]
/kernel/linux/linux-6.6/Documentation/devicetree/bindings/mtd/partitions/
Dtplink,safeloader-partitions.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/mtd/partitions/tplink,safeloader-partitions.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: TP-Link SafeLoader partitions
10 TP-Link home routers store various data on flash (e.g. bootloader,
14 Flash space layout of TP-Link devices is stored on flash itself using
15 a custom ASCII-based format. That format was first found in TP-Link
17 CFE and U-Boot bootloaders.
21 calibration data). Others are semi-static (like kernel). Finally some
[all …]
/kernel/linux/linux-5.10/drivers/net/ethernet/sis/
Dsis190.c35 #include <linux/dma-mapping.h>
159 TxDMAShift = 8, /* DMA burst value (0-7) is shift this many bits */
191 LSEN = 0x08000000, // TSO ? -- FR
209 LINK = 0x00010000, enumerator
224 RxDescCountMask = 0x7f000000, // multi-desc pkt when > 1 ? -- FR
345 } debug = { -1 };
349 MODULE_PARM_DESC(rx_copybreak, "Copy breakpoint for copy-only-tiny-frames");
360 * Maximum number of multicast addresses to filter (vs. Rx-all-multicast).
400 struct sis190_private *tp = netdev_priv(dev); in __mdio_write() local
402 mdio_write(tp->mmio_addr, phy_id, reg, val); in __mdio_write()
[all …]
/kernel/linux/linux-6.6/drivers/net/ethernet/sis/
Dsis190.c35 #include <linux/dma-mapping.h>
159 TxDMAShift = 8, /* DMA burst value (0-7) is shift this many bits */
191 LSEN = 0x08000000, // TSO ? -- FR
209 LINK = 0x00010000, enumerator
224 RxDescCountMask = 0x7f000000, // multi-desc pkt when > 1 ? -- FR
345 } debug = { -1 };
349 MODULE_PARM_DESC(rx_copybreak, "Copy breakpoint for copy-only-tiny-frames");
360 * Maximum number of multicast addresses to filter (vs. Rx-all-multicast).
400 struct sis190_private *tp = netdev_priv(dev); in __mdio_write() local
402 mdio_write(tp->mmio_addr, phy_id, reg, val); in __mdio_write()
[all …]
/kernel/linux/linux-5.10/fs/xfs/
Dxfs_symlink.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2000-2006 Silicon Graphics, Inc.
4 * Copyright (c) 2012-2013 Red Hat, Inc.
25 /* ----- Kernel only functions below ----- */
29 char *link) in xfs_readlink_bmap_ilocked() argument
31 struct xfs_mount *mp = ip->i_mount; in xfs_readlink_bmap_ilocked()
36 int pathlen = ip->i_d.di_size; in xfs_readlink_bmap_ilocked()
56 error = xfs_buf_read(mp->m_ddev_targp, d, BTOBB(byte_cnt), 0, in xfs_readlink_bmap_ilocked()
64 cur_chunk = bp->b_addr; in xfs_readlink_bmap_ilocked()
65 if (xfs_sb_version_hascrc(&mp->m_sb)) { in xfs_readlink_bmap_ilocked()
[all …]
/kernel/linux/linux-6.6/drivers/net/wireless/realtek/rtw88/
Drtw8822bu.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
2 /* Copyright(c) 2018-2019 Realtek Corporation
19 .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* Edimax EW-7822ULC */
21 .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* Edimax EW-7822UTC */
27 .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* Edimax EW-7822UAD */
31 .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* ASUS AC1300 USB-AC55 B1 */
35 .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* ASUS - USB-AC58 rev A1 */
41 .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* Dlink - DWA-181 */
43 .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec) }, /* Dlink - DWA-182 - D1 */
45 .driver_info = (kernel_ulong_t)&(rtw8822b_hw_spec)}, /* Dlink - DWA-183 D Ver */
[all …]

12345678910>>...18