/linux-6.12.1/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_nsp_eth.c | 132 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, ðm, 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 …]
|
D | nfp_nsp_cmds.c | 18 __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 …]
|
D | nfp_nsp.c | 95 SPCODE_NSP_SENSORS = 12, /* Read NSP sensor(s) */ 96 SPCODE_NSP_IDENTIFY = 13, /* Read NSP version */ 144 * @dma: @buf points to a host buffer, not NSP buffer 270 * nfp_nsp_open() - Prepare for communication and lock the NSP resource. 301 * nfp_nsp_close() - Clean up and unlock the NSP resource. 351 * positive value for NSP completion with a result code 353 * -EAGAIN if the NSP is not yet present 354 * -ENODEV if the NSP is not a supported model 355 * -EBUSY if the NSP is stuck 357 * -ETIMEDOUT if the NSP took longer than @timeout_sec seconds to complete [all …]
|
D | nfp_nsp.h | 253 __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); 285 * struct nfp_nsp_identify - NSP static information 290 * @br_nsp: branch id of NSP 293 * @nsp: version id of NSP 304 u16 nsp; member [all …]
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/ |
D | devlink_param.c | 88 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() 101 nfp_warn(pf->cpp, "can't access NSP: %d\n", err); 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() [all …]
|
D | nfp_main.c | 333 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() 340 NL_SET_ERR_MSG_MOD(extack, "can't access NSP"); in nfp_flash_update_common() 342 dev_err(dev, "Failed to access the NSP: %d\n", err); 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() [all …]
|
D | nfp_devlink.c | 41 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 …]
|
D | nfp_net_ethtool.c | 186 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/arch/x86/kernel/ |
D | nmi.c | 496 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/fs/ |
D | pidfs.c | 120 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 …]
|
/linux-6.12.1/Documentation/devicetree/bindings/arm/bcm/ |
D | brcm,nsp.yaml | 4 $id: http://devicetree.org/schemas/arm/bcm/brcm,nsp.yaml# 31 - const: brcm,nsp 39 - const: brcm,nsp 44 - const: brcm,nsp 51 - const: brcm,nsp 58 - const: brcm,nsp 72 - const: brcm,nsp 79 - const: brcm,nsp
|
/linux-6.12.1/scripts/ |
D | cleanfile | 24 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 …]
|
D | cleanpatch | 24 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/Documentation/devicetree/bindings/clock/ |
D | brcm,iproc-clocks.yaml | 33 - brcm,nsp-armpll 34 - brcm,nsp-genpll 35 - brcm,nsp-lcpll0 77 - brcm,nsp-armpll 167 - brcm,nsp-armpll 168 - brcm,nsp-genpll 169 - brcm,nsp-lcpll0 176 "include/dt-bindings/clock/bcm-nsp.h" 348 const: brcm,nsp-lcpll0 361 const: brcm,nsp-genpll [all …]
|
/linux-6.12.1/arch/arm/boot/dts/broadcom/ |
D | bcm-nsp.dtsi | 35 #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 …]
|
D | bcm5301x.dtsi | 15 compatible = "brcm,nsp-armpll"; 79 compatible = "brcm,nsp-lcpll0"; 88 compatible = "brcm,nsp-genpll"; 100 compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi";
|
/linux-6.12.1/Documentation/devicetree/bindings/pinctrl/ |
D | brcm,nsp-pinmux.txt | 1 Broadcom NSP (Northstar plus) IOMUX Controller 3 The NSP IOMUX controller supports group based mux configuration. In 8 Must be "brcm,nsp-pinmux" 27 compatible = "brcm,nsp-pinmux";
|
D | brcm,nsp-gpio.txt | 1 Broadcom Northstar plus (NSP) GPIO/PINCONF Controller 5 Must be "brcm,nsp-gpio-a" 57 compatible = "brcm,nsp-gpio-a";
|
/linux-6.12.1/kernel/ |
D | nsproxy.c | 381 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/drivers/pinctrl/bcm/ |
D | Kconfig | 119 The Broadcom iProc based SoCs- Cygnus, NS2, NSP and Stingray, use 127 The Broadcom NSP has two GPIO controllers including the ChipcommonA 175 bool "Broadcom NSP GPIO (with PINCONF) driver" 182 Say yes here to enable the Broadcom NSP GPIO driver. 205 bool "Broadcom NSP IOMUX driver" 212 Say yes here to enable the Broadcom NSP SOC IOMUX driver.
|
D | pinctrl-nsp-mux.c | 4 * This file contains the Northstar plus (NSP) IOMUX driver that supports 39 * nsp IOMUX register description 54 * Keep track of nsp IOMUX configuration and prevent double configuration 56 * @nsp_mux: nsp IOMUX register description 71 * @mux: nsp group based IOMUX configuration 81 * nsp mux function and supported pin groups 94 * nsp IOMUX pinctrl core 123 * Description of a pin in nsp 143 * List of muxable pins in nsp 235 * List of nsp pin groups [all …]
|
/linux-6.12.1/drivers/scsi/pcmcia/ |
D | nsp_message.c | 19 * XXX: NSP QUIRK in nsp_message_in() 20 * NSP invoke interrupts only in the case of scsi phase changes, in nsp_message_in() 60 * XXX: NSP QUIRK in nsp_message_out() 61 * NSP invoke interrupts only in the case of scsi phase changes, in nsp_message_out()
|
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/abm/ |
D | main.c | 262 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() 277 nfp_warn(pf->cpp, "Failed to access the NSP for persistent MAC address: %ld\n", 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() 284 nfp_warn(pf->cpp, "NSP doesn't support PF MAC generation\n"); 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/Documentation/devicetree/bindings/net/ |
D | brcm,amac.yaml | 32 - brcm,nsp-amac 59 - brcm,nsp-amac 83 compatible = "brcm,nsp-amac";
|
/linux-6.12.1/drivers/clk/bcm/ |
D | clk-nsp.c | 11 #include <dt-bindings/clock/bcm-nsp.h> 33 CLK_OF_DECLARE(nsp_armpll, "brcm,nsp-armpll", nsp_armpll_init); 90 CLK_OF_DECLARE(nsp_genpll_clk, "brcm,nsp-genpll", nsp_genpll_clk_init); 129 CLK_OF_DECLARE(nsp_lcpll0_clk, "brcm,nsp-lcpll0", nsp_lcpll0_clk_init);
|