| /kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| D | nfp_nsp_eth.c | 128 nfp_eth_port_translate(struct nfp_nsp *nsp, const union eth_table_entry *src, in nfp_eth_port_translate() argument 159 if (nfp_nsp_get_abi_ver_minor(nsp) < 17) in nfp_eth_port_translate() 165 if (nfp_nsp_get_abi_ver_minor(nsp) < 22) in nfp_eth_port_translate() 178 if (nfp_nsp_get_abi_ver_minor(nsp) < 33) in nfp_eth_port_translate() 231 nfp_eth_read_media(struct nfp_cpp *cpp, struct nfp_nsp *nsp, struct nfp_eth_table_port *entry) in nfp_eth_read_media() argument 239 if (!nfp_nsp_has_read_media(nsp)) in nfp_eth_read_media() 242 ret = nfp_nsp_read_media(nsp, ðm, sizeof(ethm)); in nfp_eth_read_media() 266 struct nfp_nsp *nsp; in nfp_eth_read_ports() local 268 nsp = nfp_nsp_open(cpp); in nfp_eth_read_ports() 269 if (IS_ERR(nsp)) 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 | 249 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp); 271 int nfp_eth_config_commit_end(struct nfp_nsp *nsp); 272 void nfp_eth_config_cleanup_end(struct nfp_nsp *nsp); 274 int __nfp_eth_set_aneg(struct nfp_nsp *nsp, enum nfp_eth_aneg mode); 275 int __nfp_eth_set_speed(struct nfp_nsp *nsp, unsigned int speed); 276 int __nfp_eth_set_split(struct nfp_nsp *nsp, unsigned int lanes); 279 * struct nfp_nsp_identify - NSP static information 284 * @br_nsp: branch id of NSP 287 * @nsp: version id of NSP 298 u16 nsp; member [all …]
|
| /kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
| D | nfp_nsp_eth.c | 125 nfp_eth_port_translate(struct nfp_nsp *nsp, const union eth_table_entry *src, in nfp_eth_port_translate() argument 156 if (nfp_nsp_get_abi_ver_minor(nsp) < 17) in nfp_eth_port_translate() 162 if (nfp_nsp_get_abi_ver_minor(nsp) < 22) in nfp_eth_port_translate() 232 struct nfp_nsp *nsp; in nfp_eth_read_ports() local 234 nsp = nfp_nsp_open(cpp); in nfp_eth_read_ports() 235 if (IS_ERR(nsp)) in nfp_eth_read_ports() 238 ret = __nfp_eth_read_ports(cpp, nsp); in nfp_eth_read_ports() 239 nfp_nsp_close(nsp); in nfp_eth_read_ports() 245 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp) in __nfp_eth_read_ports() argument 255 ret = nfp_nsp_read_eth_table(nsp, entries, NSP_ETH_TABLE_SIZE); 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 */ 143 * @dma: @buf points to a host buffer, not NSP buffer 269 * nfp_nsp_open() - Prepare for communication and lock the NSP resource. 300 * nfp_nsp_close() - Clean up and unlock the NSP resource. 350 * positive value for NSP completion with a result code 352 * -EAGAIN if the NSP is not yet present 353 * -ENODEV if the NSP is not a supported model 354 * -EBUSY if the NSP is stuck 356 * -ETIMEDOUT if the NSP took longer than @timeout_sec seconds to complete [all …]
|
| D | nfp_nsp.h | 191 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp); 211 int nfp_eth_config_commit_end(struct nfp_nsp *nsp); 212 void nfp_eth_config_cleanup_end(struct nfp_nsp *nsp); 214 int __nfp_eth_set_aneg(struct nfp_nsp *nsp, enum nfp_eth_aneg mode); 215 int __nfp_eth_set_speed(struct nfp_nsp *nsp, unsigned int speed); 216 int __nfp_eth_set_split(struct nfp_nsp *nsp, unsigned int lanes); 219 * struct nfp_nsp_identify - NSP static information 224 * @br_nsp: branch id of NSP 227 * @nsp: version id of NSP 238 u16 nsp; member [all …]
|
| /kernel/linux/linux-6.6/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() 139 struct nfp_nsp *nsp; in nfp_devlink_param_u8_set() local 148 nsp = nfp_nsp_open(pf->cpp); in nfp_devlink_param_u8_set() 149 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() 238 struct nfp_nsp *nsp; in nfp_devlink_info_get() local 264 nsp = nfp_nsp_open(pf->cpp); in nfp_devlink_info_get() 265 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 …]
|
| /kernel/linux/linux-5.10/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() 139 struct nfp_nsp *nsp; in nfp_devlink_param_u8_set() local 148 nsp = nfp_nsp_open(pf->cpp); in nfp_devlink_param_u8_set() 149 if (IS_ERR(nsp)) { in nfp_devlink_param_u8_set() [all …]
|
| D | nfp_main.c | 309 struct nfp_nsp *nsp; in nfp_flash_update_common() local 312 nsp = nfp_nsp_open(pf->cpp); in nfp_flash_update_common() 313 if (IS_ERR(nsp)) { in nfp_flash_update_common() 314 err = PTR_ERR(nsp); in nfp_flash_update_common() 316 NL_SET_ERR_MSG_MOD(extack, "can't access NSP"); in nfp_flash_update_common() 318 dev_err(dev, "Failed to access the NSP: %d\n", err); in nfp_flash_update_common() 332 err = nfp_nsp_write_flash(nsp, fw); in nfp_flash_update_common() 341 nfp_nsp_close(nsp); in nfp_flash_update_common() 432 nfp_get_fw_policy_value(struct pci_dev *pdev, struct nfp_nsp *nsp, in nfp_get_fw_policy_value() argument 441 err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo), in nfp_get_fw_policy_value() [all …]
|
| D | nfp_devlink.c | 42 struct nfp_nsp *nsp; in nfp_devlink_set_lanes() local 45 nsp = nfp_eth_config_start(pf->cpp, idx); in nfp_devlink_set_lanes() 46 if (IS_ERR(nsp)) in nfp_devlink_set_lanes() 47 return PTR_ERR(nsp); in nfp_devlink_set_lanes() 49 ret = __nfp_eth_set_split(nsp, lanes); in nfp_devlink_set_lanes() 51 nfp_eth_config_cleanup_end(nsp); in nfp_devlink_set_lanes() 55 ret = nfp_eth_config_commit_end(nsp); in nfp_devlink_set_lanes() 260 struct nfp_nsp *nsp; in nfp_devlink_info_get() local 290 nsp = nfp_nsp_open(pf->cpp); in nfp_devlink_info_get() 291 if (IS_ERR(nsp)) { in nfp_devlink_info_get() [all …]
|
| /kernel/linux/linux-6.6/arch/x86/kernel/ |
| D | nmi.c | 537 struct nmi_stats *nsp = this_cpu_ptr(&nmi_stats); in DEFINE_IDTENTRY_RAW() local 545 raw_atomic_long_inc(&nsp->idt_calls); in DEFINE_IDTENTRY_RAW() 562 WRITE_ONCE(nsp->idt_seq, nsp->idt_seq + 1); in DEFINE_IDTENTRY_RAW() 563 WARN_ON_ONCE(!(nsp->idt_seq & 0x1)); in DEFINE_IDTENTRY_RAW() 564 WRITE_ONCE(nsp->recv_jiffies, jiffies); in DEFINE_IDTENTRY_RAW() 580 WRITE_ONCE(nsp->idt_ignored, nsp->idt_ignored + 1); in DEFINE_IDTENTRY_RAW() 583 WRITE_ONCE(nsp->idt_nmi_seq, nsp->idt_nmi_seq + 1); in DEFINE_IDTENTRY_RAW() 584 WARN_ON_ONCE(!(nsp->idt_nmi_seq & 0x1)); in DEFINE_IDTENTRY_RAW() 588 WRITE_ONCE(nsp->idt_nmi_seq, nsp->idt_nmi_seq + 1); in DEFINE_IDTENTRY_RAW() 589 WARN_ON_ONCE(nsp->idt_nmi_seq & 0x1); in DEFINE_IDTENTRY_RAW() [all …]
|
| /kernel/linux/linux-6.6/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
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/drivers/pinctrl/bcm/ |
| D | Kconfig | 42 The Broadcom iProc based SoCs- Cygnus, NS2, NSP and Stingray, use 50 The Broadcom NSP has two GPIO controllers including the ChipcommonA 96 bool "Broadcom NSP GPIO (with PINCONF) driver" 103 Say yes here to enable the Broadcom NSP GPIO driver. 126 bool "Broadcom NSP IOMUX driver" 133 Say yes here to enable the Broadcom NSP SOC IOMUX driver.
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| 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"; 233 compatible = "brcm,nsp-amac"; 243 compatible = "brcm,nsp-amac"; 253 compatible = "brcm,nsp-amac"; 287 compatible = "brcm,spi-nsp-qspi", "brcm,spi-bcm-qspi"; 342 compatible = "brcm,spum-nsp-crypto"; [all …]
|
| /kernel/linux/linux-6.6/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 …]
|