Home
last modified time | relevance | path

Searched refs:nsp (Results 1 – 25 of 67) sorted by relevance

123

/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_nsp_eth.c132 nfp_eth_port_translate(struct nfp_nsp *nsp, const union eth_table_entry *src, in nfp_eth_port_translate() argument
163 if (nfp_nsp_get_abi_ver_minor(nsp) < 17) in nfp_eth_port_translate()
169 if (nfp_nsp_get_abi_ver_minor(nsp) < 22) in nfp_eth_port_translate()
182 if (nfp_nsp_get_abi_ver_minor(nsp) < 33) in nfp_eth_port_translate()
188 if (nfp_nsp_get_abi_ver_minor(nsp) < 37) { in nfp_eth_port_translate()
244 nfp_eth_read_media(struct nfp_cpp *cpp, struct nfp_nsp *nsp, struct nfp_eth_table_port *entry) in nfp_eth_read_media() argument
252 if (!nfp_nsp_has_read_media(nsp)) in nfp_eth_read_media()
255 ret = nfp_nsp_read_media(nsp, &ethm, sizeof(ethm)); in nfp_eth_read_media()
279 struct nfp_nsp *nsp; in nfp_eth_read_ports() local
281 nsp = nfp_nsp_open(cpp); in nfp_eth_read_ports()
[all …]
Dnfp_nsp_cmds.c18 __le16 nsp; member
23 struct nfp_nsp_identify *__nfp_nsp_identify(struct nfp_nsp *nsp) in __nfp_nsp_identify() argument
29 if (nfp_nsp_get_abi_ver_minor(nsp) < 15) in __nfp_nsp_identify()
36 ret = nfp_nsp_read_identify(nsp, ni, sizeof(*ni)); in __nfp_nsp_identify()
38 nfp_err(nfp_nsp_cpp(nsp), "reading bsp version failed %d\n", in __nfp_nsp_identify()
55 nspi->nsp = le16_to_cpu(ni->nsp); in __nfp_nsp_identify()
74 struct nfp_nsp *nsp; in nfp_hwmon_read_sensor() local
77 nsp = nfp_nsp_open(cpp); in nfp_hwmon_read_sensor()
78 if (IS_ERR(nsp)) in nfp_hwmon_read_sensor()
79 return PTR_ERR(nsp); in nfp_hwmon_read_sensor()
[all …]
Dnfp_nsp.h253 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp);
277 int nfp_eth_config_commit_end(struct nfp_nsp *nsp);
278 void nfp_eth_config_cleanup_end(struct nfp_nsp *nsp);
280 int __nfp_eth_set_aneg(struct nfp_nsp *nsp, enum nfp_eth_aneg mode);
281 int __nfp_eth_set_speed(struct nfp_nsp *nsp, unsigned int speed);
282 int __nfp_eth_set_split(struct nfp_nsp *nsp, unsigned int lanes);
304 u16 nsp; member
308 struct nfp_nsp_identify *__nfp_nsp_identify(struct nfp_nsp *nsp);
Dnfp_nsp.c438 nfp_nsp_command_buf_def(struct nfp_nsp *nsp, in nfp_nsp_command_buf_def() argument
441 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_def()
446 err = nfp_cpp_readq(cpp, nfp_resource_cpp_id(nsp->res), in nfp_nsp_command_buf_def()
447 nfp_resource_address(nsp->res) + in nfp_nsp_command_buf_def()
479 ret = __nfp_nsp_command(nsp, &arg->arg); in nfp_nsp_command_buf_def()
494 nfp_nsp_command_buf_dma_sg(struct nfp_nsp *nsp, in nfp_nsp_command_buf_dma_sg() argument
499 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_dma_sg()
586 ret = __nfp_nsp_command(nsp, &arg->arg); in nfp_nsp_command_buf_dma_sg()
623 nfp_nsp_command_buf_dma(struct nfp_nsp *nsp, in nfp_nsp_command_buf_dma() argument
628 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_dma()
[all …]
/linux-6.12.1/arch/x86/kernel/
Dnmi.c496 struct nmi_stats *nsp = this_cpu_ptr(&nmi_stats); in DEFINE_IDTENTRY_RAW() local
504 raw_atomic_long_inc(&nsp->idt_calls); in DEFINE_IDTENTRY_RAW()
521 WRITE_ONCE(nsp->idt_seq, nsp->idt_seq + 1); in DEFINE_IDTENTRY_RAW()
522 WARN_ON_ONCE(!(nsp->idt_seq & 0x1)); in DEFINE_IDTENTRY_RAW()
523 WRITE_ONCE(nsp->recv_jiffies, jiffies); in DEFINE_IDTENTRY_RAW()
539 WRITE_ONCE(nsp->idt_ignored, nsp->idt_ignored + 1); in DEFINE_IDTENTRY_RAW()
542 WRITE_ONCE(nsp->idt_nmi_seq, nsp->idt_nmi_seq + 1); in DEFINE_IDTENTRY_RAW()
543 WARN_ON_ONCE(!(nsp->idt_nmi_seq & 0x1)); in DEFINE_IDTENTRY_RAW()
547 WRITE_ONCE(nsp->idt_nmi_seq, nsp->idt_nmi_seq + 1); in DEFINE_IDTENTRY_RAW()
548 WARN_ON_ONCE(nsp->idt_nmi_seq & 0x1); in DEFINE_IDTENTRY_RAW()
[all …]
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/
Ddevlink_param.c88 struct nfp_nsp *nsp; in nfp_devlink_param_u8_get() local
98 nsp = nfp_nsp_open(pf->cpp); in nfp_devlink_param_u8_get()
99 if (IS_ERR(nsp)) { in nfp_devlink_param_u8_get()
100 err = PTR_ERR(nsp); in nfp_devlink_param_u8_get()
106 err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo), in nfp_devlink_param_u8_get()
129 nfp_nsp_close(nsp); in nfp_devlink_param_u8_get()
140 struct nfp_nsp *nsp; in nfp_devlink_param_u8_set() local
149 nsp = nfp_nsp_open(pf->cpp); in nfp_devlink_param_u8_set()
150 if (IS_ERR(nsp)) { in nfp_devlink_param_u8_set()
151 err = PTR_ERR(nsp); in nfp_devlink_param_u8_set()
[all …]
Dnfp_main.c333 struct nfp_nsp *nsp; in nfp_flash_update_common() local
336 nsp = nfp_nsp_open(pf->cpp); in nfp_flash_update_common()
337 if (IS_ERR(nsp)) { in nfp_flash_update_common()
338 err = PTR_ERR(nsp); in nfp_flash_update_common()
346 err = nfp_nsp_write_flash(nsp, fw); in nfp_flash_update_common()
353 nfp_nsp_close(nsp); in nfp_flash_update_common()
446 nfp_get_fw_policy_value(struct pci_dev *pdev, struct nfp_nsp *nsp, in nfp_get_fw_policy_value() argument
455 err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo), in nfp_get_fw_policy_value()
481 nfp_fw_load(struct pci_dev *pdev, struct nfp_pf *pf, struct nfp_nsp *nsp) in nfp_fw_load() argument
491 err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo), in nfp_fw_load()
[all …]
Dnfp_devlink.c41 struct nfp_nsp *nsp; in nfp_devlink_set_lanes() local
44 nsp = nfp_eth_config_start(pf->cpp, idx); in nfp_devlink_set_lanes()
45 if (IS_ERR(nsp)) in nfp_devlink_set_lanes()
46 return PTR_ERR(nsp); in nfp_devlink_set_lanes()
48 ret = __nfp_eth_set_split(nsp, lanes); in nfp_devlink_set_lanes()
50 nfp_eth_config_cleanup_end(nsp); in nfp_devlink_set_lanes()
54 ret = nfp_eth_config_commit_end(nsp); in nfp_devlink_set_lanes()
243 struct nfp_nsp *nsp; in nfp_devlink_info_get() local
269 nsp = nfp_nsp_open(pf->cpp); in nfp_devlink_info_get()
270 if (IS_ERR(nsp)) { in nfp_devlink_info_get()
[all …]
Dnfp_net_ethtool.c186 struct nfp_nsp *nsp; in nfp_net_get_nspinfo() local
191 nsp = nfp_nsp_open(app->cpp); in nfp_net_get_nspinfo()
192 if (IS_ERR(nsp)) in nfp_net_get_nspinfo()
196 nfp_nsp_get_abi_ver_major(nsp), in nfp_net_get_nspinfo()
197 nfp_nsp_get_abi_ver_minor(nsp)); in nfp_net_get_nspinfo()
199 nfp_nsp_close(nsp); in nfp_net_get_nspinfo()
552 struct nfp_nsp *nsp; in nfp_net_set_link_ksettings() local
565 nsp = nfp_eth_config_start(port->app->cpp, eth_port->index); in nfp_net_set_link_ksettings()
566 if (IS_ERR(nsp)) in nfp_net_set_link_ksettings()
567 return PTR_ERR(nsp); in nfp_net_set_link_ksettings()
[all …]
/linux-6.12.1/fs/
Dpidfs.c120 struct nsproxy *nsp __free(put_nsproxy) = NULL; in pidfd_ioctl()
133 nsp = task->nsproxy; in pidfd_ioctl()
134 if (nsp) in pidfd_ioctl()
135 get_nsproxy(nsp); in pidfd_ioctl()
137 if (!nsp) in pidfd_ioctl()
151 get_cgroup_ns(nsp->cgroup_ns); in pidfd_ioctl()
152 ns_common = to_ns_common(nsp->cgroup_ns); in pidfd_ioctl()
157 get_ipc_ns(nsp->ipc_ns); in pidfd_ioctl()
158 ns_common = to_ns_common(nsp->ipc_ns); in pidfd_ioctl()
162 get_mnt_ns(nsp->mnt_ns); in pidfd_ioctl()
[all …]
Dproc_namespace.c242 struct nsproxy *nsp; in mounts_open_common() local
253 nsp = task->nsproxy; in mounts_open_common()
254 if (!nsp || !nsp->mnt_ns) { in mounts_open_common()
259 ns = nsp->mnt_ns; in mounts_open_common()
/linux-6.12.1/scripts/
Dcleanfile24 my $nsp = 0;
30 my $npos = ($pos+$nsp+8) & ~7;
34 $nsp = 0;
36 $lo .= " " x $nsp;
37 $pos += $nsp;
38 $nsp = 0;
42 $nsp++;
44 $lo .= " " x $nsp;
45 $pos += $nsp;
46 $nsp = 0;
[all …]
Dcleanpatch24 my $nsp = 0;
30 my $npos = ($pos+$nsp+8) & ~7;
34 $nsp = 0;
36 $lo .= " " x $nsp;
37 $pos += $nsp;
38 $nsp = 0;
42 $nsp++;
44 $lo .= " " x $nsp;
45 $pos += $nsp;
46 $nsp = 0;
[all …]
/linux-6.12.1/kernel/
Dnsproxy.c381 struct nsproxy *nsp; in validate_nsset() local
398 nsp = tsk->nsproxy; in validate_nsset()
399 if (nsp) in validate_nsset()
400 get_nsproxy(nsp); in validate_nsset()
402 if (!nsp) { in validate_nsset()
440 ret = validate_ns(nsset, from_mnt_ns(nsp->mnt_ns)); in validate_nsset()
447 ret = validate_ns(nsset, &nsp->uts_ns->ns); in validate_nsset()
455 ret = validate_ns(nsset, &nsp->ipc_ns->ns); in validate_nsset()
471 ret = validate_ns(nsset, &nsp->cgroup_ns->ns); in validate_nsset()
479 ret = validate_ns(nsset, &nsp->net_ns->ns); in validate_nsset()
[all …]
/linux-6.12.1/arch/arm/boot/dts/broadcom/
Dbcm-nsp.dtsi35 #include <dt-bindings/clock/bcm-nsp.h>
40 compatible = "brcm,nsp";
67 enable-method = "brcm,bcm-nsp-smp";
88 compatible = "brcm,nsp-armpll";
176 compatible = "brcm,nsp-gpio-a";
234 compatible = "brcm,nsp-amac";
244 compatible = "brcm,nsp-amac";
254 compatible = "brcm,nsp-amac";
288 compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi";
344 compatible = "brcm,spum-nsp-crypto";
[all …]
Dbcm5301x.dtsi15 compatible = "brcm,nsp-armpll";
79 compatible = "brcm,nsp-lcpll0";
88 compatible = "brcm,nsp-genpll";
100 compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi";
Dbcm958625-meraki-mx64-a0.dts11 #include "bcm-nsp-ax.dtsi"
15 compatible = "meraki,mx64-a0", "brcm,bcm58625", "brcm,nsp";
Dbcm958625-meraki-mx64w-a0.dts11 #include "bcm-nsp-ax.dtsi"
15 compatible = "meraki,mx64w-a0", "brcm,bcm58625", "brcm,nsp";
Dbcm958522er.dts35 #include "bcm-nsp.dtsi"
40 compatible = "brcm,bcm958522er", "brcm,bcm58522", "brcm,nsp";
184 compatible = "brcm,bcm58522-srab", "brcm,nsp-srab";
Dbcm958525er.dts35 #include "bcm-nsp.dtsi"
40 compatible = "brcm,bcm958525er", "brcm,bcm58525", "brcm,nsp";
196 compatible = "brcm,bcm58525-srab", "brcm,nsp-srab";
Dbcm988312hr.dts35 #include "bcm-nsp.dtsi"
40 compatible = "brcm,bcm988312hr", "brcm,bcm88312", "brcm,nsp";
188 compatible = "brcm,bcm88312-srab", "brcm,nsp-srab";
Dbcm958525xmc.dts35 #include "bcm-nsp.dtsi"
40 compatible = "brcm,bcm958525xmc", "brcm,bcm58525", "brcm,nsp";
216 compatible = "brcm,bcm58525-srab", "brcm,nsp-srab";
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/abm/
Dmain.c262 struct nfp_nsp *nsp; in nfp_abm_vnic_set_mac() local
275 nsp = nfp_nsp_open(pf->cpp); in nfp_abm_vnic_set_mac()
276 if (IS_ERR(nsp)) { in nfp_abm_vnic_set_mac()
278 PTR_ERR(nsp)); in nfp_abm_vnic_set_mac()
283 if (!nfp_nsp_has_hwinfo_lookup(nsp)) { in nfp_abm_vnic_set_mac()
286 nfp_nsp_close(nsp); in nfp_abm_vnic_set_mac()
290 err = nfp_nsp_hwinfo_lookup(nsp, hwinfo, sizeof(hwinfo)); in nfp_abm_vnic_set_mac()
291 nfp_nsp_close(nsp); in nfp_abm_vnic_set_mac()
/linux-6.12.1/drivers/pinctrl/bcm/
DMakefile17 obj-$(CONFIG_PINCTRL_NSP_GPIO) += pinctrl-nsp-gpio.o
19 obj-$(CONFIG_PINCTRL_NSP_MUX) += pinctrl-nsp-mux.o
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/
Dbrcm,nsp-pinmux.txt8 Must be "brcm,nsp-pinmux"
27 compatible = "brcm,nsp-pinmux";

123