Home
last modified time | relevance | path

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

123

/linux/drivers/net/ethernet/netronome/nfp/nfpcore/
A Dnfp_nsp_eth.c232 struct nfp_nsp *nsp; in nfp_eth_read_ports() local
235 if (IS_ERR(nsp)) in nfp_eth_read_ports()
239 nfp_nsp_close(nsp); in nfp_eth_read_ports()
309 if (IS_ERR(nsp)) { in nfp_eth_config_start()
311 return nsp; in nfp_eth_config_start()
327 return nsp; in nfp_eth_config_start()
330 nfp_nsp_close(nsp); in nfp_eth_config_start()
341 nfp_nsp_close(nsp); in nfp_eth_config_cleanup_end()
395 if (IS_ERR(nsp)) in nfp_eth_set_mod_enable()
434 if (IS_ERR(nsp)) in nfp_eth_set_configured()
[all …]
A 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()
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()
81 ret = nfp_nsp_read_sensors(nsp, BIT(id), &s, sizeof(s)); in nfp_hwmon_read_sensor()
[all …]
A Dnfp_nsp.h191 __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);
238 u16 nsp; member
242 struct nfp_nsp_identify *__nfp_nsp_identify(struct nfp_nsp *nsp);
A Dnfp_nsp.c440 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_def()
446 nfp_resource_address(nsp->res) + in nfp_nsp_command_buf_def()
478 ret = __nfp_nsp_command(nsp, &arg->arg); in nfp_nsp_command_buf_def()
498 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_dma_sg()
585 ret = __nfp_nsp_command(nsp, &arg->arg); in nfp_nsp_command_buf_dma_sg()
627 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_dma()
660 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf()
664 if (nsp->ver.minor < 13) { in nfp_nsp_command_buf()
666 arg->arg.code, nsp->ver.major, nsp->ver.minor); in nfp_nsp_command_buf()
671 nfp_resource_address(nsp->res) + in nfp_nsp_command_buf()
[all …]
/linux/drivers/net/ethernet/netronome/nfp/
A Ddevlink_param.c88 struct nfp_nsp *nsp; in nfp_devlink_param_u8_get() local
99 if (IS_ERR(nsp)) { in nfp_devlink_param_u8_get()
100 err = PTR_ERR(nsp); 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
149 if (IS_ERR(nsp)) { in nfp_devlink_param_u8_set()
150 err = PTR_ERR(nsp); in nfp_devlink_param_u8_set()
165 nfp_nsp_close(nsp); in nfp_devlink_param_u8_set()
209 struct nfp_nsp *nsp; in nfp_devlink_supports_params() local
214 if (IS_ERR(nsp)) { in nfp_devlink_supports_params()
[all …]
A Dnfp_main.c308 struct nfp_nsp *nsp; in nfp_flash_update_common() local
312 if (IS_ERR(nsp)) { in nfp_flash_update_common()
313 err = PTR_ERR(nsp); in nfp_flash_update_common()
328 nfp_nsp_close(nsp); in nfp_flash_update_common()
519 if (nfp_nsp_has_fw_loaded(nsp) && nfp_nsp_fw_loaded(nsp)) in nfp_fw_load()
587 struct nfp_nsp *nsp; in nfp_nsp_init() local
595 if (IS_ERR(nsp)) { in nfp_nsp_init()
596 err = PTR_ERR(nsp); in nfp_nsp_init()
623 nfp_nsp_close(nsp); in nfp_nsp_init()
634 if (IS_ERR(nsp)) { in nfp_fw_unload()
[all …]
A Dnfp_devlink.c42 struct nfp_nsp *nsp; in nfp_devlink_set_lanes() local
46 if (IS_ERR(nsp)) in nfp_devlink_set_lanes()
47 return PTR_ERR(nsp); in nfp_devlink_set_lanes()
51 nfp_eth_config_cleanup_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()
293 return PTR_ERR(nsp); in nfp_devlink_info_get()
296 if (nfp_nsp_has_versions(nsp)) { in nfp_devlink_info_get()
320 nfp_nsp_close(nsp); in nfp_devlink_info_get()
[all …]
A Dnfp_net_ethtool.c183 struct nfp_nsp *nsp; in nfp_net_get_nspinfo() local
189 if (IS_ERR(nsp)) in nfp_net_get_nspinfo()
196 nfp_nsp_close(nsp); in nfp_net_get_nspinfo()
341 struct nfp_nsp *nsp; in nfp_net_set_link_ksettings() local
355 if (IS_ERR(nsp)) in nfp_net_set_link_ksettings()
356 return PTR_ERR(nsp); in nfp_net_set_link_ksettings()
1218 struct nfp_nsp *nsp; in nfp_port_get_module_info() local
1228 if (IS_ERR(nsp)) { in nfp_port_get_module_info()
1283 nfp_nsp_close(nsp); in nfp_port_get_module_info()
1302 if (IS_ERR(nsp)) { in nfp_port_get_module_eeprom()
[all …]
/linux/scripts/
A 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 …]
A 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/Documentation/devicetree/bindings/arm/bcm/
A Dbrcm,nsp.yaml4 $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/kernel/
A Dnsproxy.c362 struct nsproxy *nsp; in validate_nsset() local
379 nsp = tsk->nsproxy; in validate_nsset()
380 if (nsp) in validate_nsset()
381 get_nsproxy(nsp); in validate_nsset()
383 if (!nsp) { in validate_nsset()
428 ret = validate_ns(nsset, &nsp->uts_ns->ns); in validate_nsset()
436 ret = validate_ns(nsset, &nsp->ipc_ns->ns); in validate_nsset()
460 ret = validate_ns(nsset, &nsp->net_ns->ns); in validate_nsset()
468 ret = validate_ns(nsset, &nsp->time_ns->ns); in validate_nsset()
477 if (nsp) in validate_nsset()
[all …]
/linux/arch/arm/boot/dts/
A Dbcm-nsp.dtsi35 #include <dt-bindings/clock/bcm-nsp.h>
40 compatible = "brcm,nsp";
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";
426 compatible = "brcm,nsp-srab";
487 compatible = "brcm,nsp-lcpll0";
496 compatible = "brcm,nsp-genpll";
[all …]
A Dbcm958625-meraki-mx64-a0.dts11 #include "bcm-nsp-ax.dtsi"
15 compatible = "meraki,mx64-a0", "brcm,bcm58625", "brcm,nsp";
A Dbcm958625-meraki-mx64w-a0.dts11 #include "bcm-nsp-ax.dtsi"
15 compatible = "meraki,mx64w-a0", "brcm,bcm58625", "brcm,nsp";
A Dbcm958522er.dts35 #include "bcm-nsp.dtsi"
40 compatible = "brcm,bcm958522er", "brcm,bcm58522", "brcm,nsp";
184 compatible = "brcm,bcm58522-srab", "brcm,nsp-srab";
/linux/Documentation/devicetree/bindings/clock/
A Dbrcm,iproc-clocks.yaml33 - 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/net/sched/
A Dcls_rsvp.h348 struct rsvp_session *nsp, *s = f->sess; in rsvp_delete() local
366 for (nsp = rtnl_dereference(*sp); nsp; in rsvp_delete()
367 sp = &nsp->next, nsp = rtnl_dereference(*sp)) { in rsvp_delete()
368 if (nsp == s) { in rsvp_delete()
480 struct rsvp_session *nsp, *s; in rsvp_change() local
637 for (nsp = rtnl_dereference(*sp); nsp; in rsvp_change()
638 sp = &nsp->next, nsp = rtnl_dereference(*sp)) { in rsvp_change()
639 if ((nsp->dpi.mask & s->dpi.mask) != s->dpi.mask) in rsvp_change()
642 RCU_INIT_POINTER(s->next, nsp); in rsvp_change()
/linux/drivers/net/ethernet/netronome/nfp/abm/
A 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/fs/
A Dproc_namespace.c246 struct nsproxy *nsp; in mounts_open_common() local
257 nsp = task->nsproxy; in mounts_open_common()
258 if (!nsp || !nsp->mnt_ns) { in mounts_open_common()
263 ns = nsp->mnt_ns; in mounts_open_common()
/linux/Documentation/devicetree/bindings/mfd/
A Dbrcm,cru.yaml58 #include <dt-bindings/clock/bcm-nsp.h>
68 compatible = "brcm,nsp-lcpll0";
76 compatible = "brcm,nsp-genpll";
/linux/drivers/pinctrl/bcm/
A DMakefile16 obj-$(CONFIG_PINCTRL_NSP_GPIO) += pinctrl-nsp-gpio.o
18 obj-$(CONFIG_PINCTRL_NSP_MUX) += pinctrl-nsp-mux.o
/linux/Documentation/devicetree/bindings/net/
A Dbrcm,amac.txt6 "brcm,nsp-amac"
25 compatible = "brcm,nsp-amac";
/linux/Documentation/devicetree/bindings/rng/
A Dbrcm,bcm2835.yaml18 - brcm,bcm-nsp-rng
68 compatible = "brcm,bcm-nsp-rng";
/linux/Documentation/devicetree/bindings/pinctrl/
A Dbrcm,nsp-pinmux.txt8 Must be "brcm,nsp-pinmux"
27 compatible = "brcm,nsp-pinmux";

Completed in 72 milliseconds

123