nsp              2872 arch/x86/kvm/mmu.c 	struct kvm_mmu_page *sp, *nsp;
nsp              2888 arch/x86/kvm/mmu.c 	list_for_each_entry_safe(sp, nsp, invalid_list, link) {
nsp               340 drivers/connector/cn_proc.c 			      struct netlink_skb_parms *nsp)
nsp               358 drivers/connector/cn_proc.c 	if (!__netlink_ns_capable(nsp, &init_user_ns, CAP_NET_ADMIN)) {
nsp               137 drivers/connector/connector.c 	struct netlink_skb_parms *nsp = &NETLINK_CB(skb);
nsp               156 drivers/connector/connector.c 		cbq->callback(msg, nsp);
nsp                44 drivers/firmware/dmi_scan.c 	const u8 *nsp;
nsp                51 drivers/firmware/dmi_scan.c 		nsp = bp;
nsp                52 drivers/firmware/dmi_scan.c 		while (*nsp == ' ')
nsp                53 drivers/firmware/dmi_scan.c 			nsp++;
nsp                54 drivers/firmware/dmi_scan.c 		if (*nsp != '\0')
nsp               184 drivers/hv/hv_utils_transport.c static void hvt_cn_callback(struct cn_msg *msg, struct netlink_skb_parms *nsp)
nsp               133 drivers/md/dm-log-userspace-transfer.c static void cn_ulog_callback(struct cn_msg *msg, struct netlink_skb_parms *nsp)
nsp               262 drivers/net/ethernet/netronome/nfp/abm/main.c 	struct nfp_nsp *nsp;
nsp               275 drivers/net/ethernet/netronome/nfp/abm/main.c 	nsp = nfp_nsp_open(pf->cpp);
nsp               276 drivers/net/ethernet/netronome/nfp/abm/main.c 	if (IS_ERR(nsp)) {
nsp               278 drivers/net/ethernet/netronome/nfp/abm/main.c 			 PTR_ERR(nsp));
nsp               283 drivers/net/ethernet/netronome/nfp/abm/main.c 	if (!nfp_nsp_has_hwinfo_lookup(nsp)) {
nsp               286 drivers/net/ethernet/netronome/nfp/abm/main.c 		nfp_nsp_close(nsp);
nsp               290 drivers/net/ethernet/netronome/nfp/abm/main.c 	err = nfp_nsp_hwinfo_lookup(nsp, hwinfo, sizeof(hwinfo));
nsp               291 drivers/net/ethernet/netronome/nfp/abm/main.c 	nfp_nsp_close(nsp);
nsp                88 drivers/net/ethernet/netronome/nfp/devlink_param.c 	struct nfp_nsp *nsp;
nsp                98 drivers/net/ethernet/netronome/nfp/devlink_param.c 	nsp = nfp_nsp_open(pf->cpp);
nsp                99 drivers/net/ethernet/netronome/nfp/devlink_param.c 	if (IS_ERR(nsp)) {
nsp               100 drivers/net/ethernet/netronome/nfp/devlink_param.c 		err = PTR_ERR(nsp);
nsp               106 drivers/net/ethernet/netronome/nfp/devlink_param.c 	err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo),
nsp               129 drivers/net/ethernet/netronome/nfp/devlink_param.c 	nfp_nsp_close(nsp);
nsp               139 drivers/net/ethernet/netronome/nfp/devlink_param.c 	struct nfp_nsp *nsp;
nsp               148 drivers/net/ethernet/netronome/nfp/devlink_param.c 	nsp = nfp_nsp_open(pf->cpp);
nsp               149 drivers/net/ethernet/netronome/nfp/devlink_param.c 	if (IS_ERR(nsp)) {
nsp               150 drivers/net/ethernet/netronome/nfp/devlink_param.c 		err = PTR_ERR(nsp);
nsp               158 drivers/net/ethernet/netronome/nfp/devlink_param.c 	err = nfp_nsp_hwinfo_set(nsp, hwinfo, sizeof(hwinfo));
nsp               165 drivers/net/ethernet/netronome/nfp/devlink_param.c 	nfp_nsp_close(nsp);
nsp               209 drivers/net/ethernet/netronome/nfp/devlink_param.c 	struct nfp_nsp *nsp;
nsp               213 drivers/net/ethernet/netronome/nfp/devlink_param.c 	nsp = nfp_nsp_open(pf->cpp);
nsp               214 drivers/net/ethernet/netronome/nfp/devlink_param.c 	if (IS_ERR(nsp)) {
nsp               215 drivers/net/ethernet/netronome/nfp/devlink_param.c 		err = PTR_ERR(nsp);
nsp               220 drivers/net/ethernet/netronome/nfp/devlink_param.c 	supported = nfp_nsp_has_hwinfo_lookup(nsp) &&
nsp               221 drivers/net/ethernet/netronome/nfp/devlink_param.c 		    nfp_nsp_has_hwinfo_set(nsp);
nsp               223 drivers/net/ethernet/netronome/nfp/devlink_param.c 	nfp_nsp_close(nsp);
nsp                42 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	struct nfp_nsp *nsp;
nsp                45 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	nsp = nfp_eth_config_start(pf->cpp, idx);
nsp                46 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	if (IS_ERR(nsp))
nsp                47 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 		return PTR_ERR(nsp);
nsp                49 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	ret = __nfp_eth_set_split(nsp, lanes);
nsp                51 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 		nfp_eth_config_cleanup_end(nsp);
nsp                55 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	ret = nfp_eth_config_commit_end(nsp);
nsp               263 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	struct nfp_nsp *nsp;
nsp               293 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	nsp = nfp_nsp_open(pf->cpp);
nsp               294 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	if (IS_ERR(nsp)) {
nsp               296 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 		return PTR_ERR(nsp);
nsp               299 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	if (nfp_nsp_has_versions(nsp)) {
nsp               306 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 		err = nfp_nsp_versions(nsp, buf, NFP_NSP_VERSION_BUFSZ);
nsp               323 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	nfp_nsp_close(nsp);
nsp               330 drivers/net/ethernet/netronome/nfp/nfp_devlink.c 	nfp_nsp_close(nsp);
nsp               311 drivers/net/ethernet/netronome/nfp/nfp_main.c 	struct nfp_nsp *nsp;
nsp               314 drivers/net/ethernet/netronome/nfp/nfp_main.c 	nsp = nfp_nsp_open(pf->cpp);
nsp               315 drivers/net/ethernet/netronome/nfp/nfp_main.c 	if (IS_ERR(nsp)) {
nsp               316 drivers/net/ethernet/netronome/nfp/nfp_main.c 		err = PTR_ERR(nsp);
nsp               334 drivers/net/ethernet/netronome/nfp/nfp_main.c 	err = nfp_nsp_write_flash(nsp, fw);
nsp               343 drivers/net/ethernet/netronome/nfp/nfp_main.c 	nfp_nsp_close(nsp);
nsp               434 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_get_fw_policy_value(struct pci_dev *pdev, struct nfp_nsp *nsp,
nsp               443 drivers/net/ethernet/netronome/nfp/nfp_main.c 	err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo),
nsp               469 drivers/net/ethernet/netronome/nfp/nfp_main.c nfp_fw_load(struct pci_dev *pdev, struct nfp_pf *pf, struct nfp_nsp *nsp)
nsp               479 drivers/net/ethernet/netronome/nfp/nfp_main.c 	err = nfp_nsp_hwinfo_lookup_optional(nsp, hwinfo, sizeof(hwinfo),
nsp               507 drivers/net/ethernet/netronome/nfp/nfp_main.c 	err = nfp_get_fw_policy_value(pdev, nsp, "abi_drv_reset",
nsp               513 drivers/net/ethernet/netronome/nfp/nfp_main.c 	err = nfp_get_fw_policy_value(pdev, nsp, "app_fw_from_flash",
nsp               525 drivers/net/ethernet/netronome/nfp/nfp_main.c 		err = nfp_nsp_device_soft_reset(nsp);
nsp               534 drivers/net/ethernet/netronome/nfp/nfp_main.c 		if (nfp_nsp_has_fw_loaded(nsp) && nfp_nsp_fw_loaded(nsp))
nsp               537 drivers/net/ethernet/netronome/nfp/nfp_main.c 		err = nfp_nsp_load_fw(nsp, fw);
nsp               546 drivers/net/ethernet/netronome/nfp/nfp_main.c 		   nfp_nsp_has_stored_fw_load(nsp)) {
nsp               551 drivers/net/ethernet/netronome/nfp/nfp_main.c 		if (!nfp_nsp_load_stored_fw(nsp))
nsp               576 drivers/net/ethernet/netronome/nfp/nfp_main.c 		   struct nfp_nsp *nsp)
nsp               581 drivers/net/ethernet/netronome/nfp/nfp_main.c 	pf->eth_tbl = __nfp_eth_read_ports(pf->cpp, nsp);
nsp               585 drivers/net/ethernet/netronome/nfp/nfp_main.c 	if (!nfp_nsp_has_mac_reinit(nsp))
nsp               594 drivers/net/ethernet/netronome/nfp/nfp_main.c 	if (nfp_nsp_mac_reinit(nsp))
nsp               597 drivers/net/ethernet/netronome/nfp/nfp_main.c 	pf->eth_tbl = __nfp_eth_read_ports(pf->cpp, nsp);
nsp               602 drivers/net/ethernet/netronome/nfp/nfp_main.c 	struct nfp_nsp *nsp;
nsp               609 drivers/net/ethernet/netronome/nfp/nfp_main.c 	nsp = nfp_nsp_open(pf->cpp);
nsp               610 drivers/net/ethernet/netronome/nfp/nfp_main.c 	if (IS_ERR(nsp)) {
nsp               611 drivers/net/ethernet/netronome/nfp/nfp_main.c 		err = PTR_ERR(nsp);
nsp               616 drivers/net/ethernet/netronome/nfp/nfp_main.c 	err = nfp_nsp_wait(nsp);
nsp               620 drivers/net/ethernet/netronome/nfp/nfp_main.c 	nfp_nsp_init_ports(pdev, pf, nsp);
nsp               622 drivers/net/ethernet/netronome/nfp/nfp_main.c 	pf->nspi = __nfp_nsp_identify(nsp);
nsp               626 drivers/net/ethernet/netronome/nfp/nfp_main.c 	err = nfp_fw_load(pdev, pf, nsp);
nsp               638 drivers/net/ethernet/netronome/nfp/nfp_main.c 	nfp_nsp_close(nsp);
nsp               645 drivers/net/ethernet/netronome/nfp/nfp_main.c 	struct nfp_nsp *nsp;
nsp               648 drivers/net/ethernet/netronome/nfp/nfp_main.c 	nsp = nfp_nsp_open(pf->cpp);
nsp               649 drivers/net/ethernet/netronome/nfp/nfp_main.c 	if (IS_ERR(nsp)) {
nsp               654 drivers/net/ethernet/netronome/nfp/nfp_main.c 	err = nfp_nsp_device_soft_reset(nsp);
nsp               660 drivers/net/ethernet/netronome/nfp/nfp_main.c 	nfp_nsp_close(nsp);
nsp               161 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	struct nfp_nsp *nsp;
nsp               166 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	nsp = nfp_nsp_open(app->cpp);
nsp               167 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	if (IS_ERR(nsp))
nsp               171 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 		 nfp_nsp_get_abi_ver_major(nsp),
nsp               172 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 		 nfp_nsp_get_abi_ver_minor(nsp));
nsp               174 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	nfp_nsp_close(nsp);
nsp               318 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	struct nfp_nsp *nsp;
nsp               331 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	nsp = nfp_eth_config_start(port->app->cpp, eth_port->index);
nsp               332 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	if (IS_ERR(nsp))
nsp               333 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 		return PTR_ERR(nsp);
nsp               335 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	err = __nfp_eth_set_aneg(nsp, cmd->base.autoneg == AUTONEG_ENABLE ?
nsp               342 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 		err = __nfp_eth_set_speed(nsp, speed);
nsp               347 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	err = nfp_eth_config_commit_end(nsp);
nsp               356 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	nfp_eth_config_cleanup_end(nsp);
nsp              1123 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	struct nfp_nsp *nsp;
nsp              1132 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	nsp = nfp_nsp_open(port->app->cpp);
nsp              1133 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	if (IS_ERR(nsp)) {
nsp              1134 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 		err = PTR_ERR(nsp);
nsp              1139 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	if (!nfp_nsp_has_read_module_eeprom(nsp)) {
nsp              1148 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 		err = nfp_nsp_read_module_eeprom(nsp, eth_port->eth_index,
nsp              1163 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 		err = nfp_nsp_read_module_eeprom(nsp, eth_port->eth_index,
nsp              1188 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	nfp_nsp_close(nsp);
nsp              1198 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	struct nfp_nsp *nsp;
nsp              1206 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	nsp = nfp_nsp_open(port->app->cpp);
nsp              1207 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	if (IS_ERR(nsp)) {
nsp              1208 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 		err = PTR_ERR(nsp);
nsp              1213 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	if (!nfp_nsp_has_read_module_eeprom(nsp)) {
nsp              1219 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	err = nfp_nsp_read_module_eeprom(nsp, eth_port->eth_index,
nsp              1236 drivers/net/ethernet/netronome/nfp/nfp_net_ethtool.c 	nfp_nsp_close(nsp);
nsp               437 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_nsp_command_buf_def(struct nfp_nsp *nsp,
nsp               440 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	struct nfp_cpp *cpp = nsp->cpp;
nsp               445 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	err = nfp_cpp_readq(cpp, nfp_resource_cpp_id(nsp->res),
nsp               446 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			    nfp_resource_address(nsp->res) +
nsp               478 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	ret = __nfp_nsp_command(nsp, &arg->arg);
nsp               493 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_nsp_command_buf_dma_sg(struct nfp_nsp *nsp,
nsp               498 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	struct nfp_cpp *cpp = nsp->cpp;
nsp               585 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	ret = __nfp_nsp_command(nsp, &arg->arg);
nsp               622 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_nsp_command_buf_dma(struct nfp_nsp *nsp,
nsp               627 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	struct nfp_cpp *cpp = nsp->cpp;
nsp               634 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	err = nfp_cpp_readq(cpp, nfp_resource_cpp_id(nsp->res),
nsp               635 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			    nfp_resource_address(nsp->res) + NFP_CAP_CMD_DMA_SG,
nsp               652 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	return nfp_nsp_command_buf_dma_sg(nsp, arg, max_size, chunk_order,
nsp               657 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c nfp_nsp_command_buf(struct nfp_nsp *nsp, struct nfp_nsp_command_buf_arg *arg)
nsp               660 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	struct nfp_cpp *cpp = nsp->cpp;
nsp               664 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	if (nsp->ver.minor < 13) {
nsp               666 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			arg->arg.code, nsp->ver.major, nsp->ver.minor);
nsp               670 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	err = nfp_cpp_readq(cpp, nfp_resource_cpp_id(nsp->res),
nsp               671 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 			    nfp_resource_address(nsp->res) +
nsp               686 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 		return nfp_nsp_command_buf_def(nsp, arg);
nsp               693 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.c 	return nfp_nsp_command_buf_dma(nsp, arg, max_size, dma_order);
nsp               191 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp);
nsp               211 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h int nfp_eth_config_commit_end(struct nfp_nsp *nsp);
nsp               212 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h void nfp_eth_config_cleanup_end(struct nfp_nsp *nsp);
nsp               214 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h int __nfp_eth_set_aneg(struct nfp_nsp *nsp, enum nfp_eth_aneg mode);
nsp               215 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h int __nfp_eth_set_speed(struct nfp_nsp *nsp, unsigned int speed);
nsp               216 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h int __nfp_eth_set_split(struct nfp_nsp *nsp, unsigned int lanes);
nsp               238 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h 	u16 nsp;
nsp               242 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp.h struct nfp_nsp_identify *__nfp_nsp_identify(struct nfp_nsp *nsp);
nsp                18 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	__le16 nsp;
nsp                23 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c struct nfp_nsp_identify *__nfp_nsp_identify(struct nfp_nsp *nsp)
nsp                29 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	if (nfp_nsp_get_abi_ver_minor(nsp) < 15)
nsp                36 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	ret = nfp_nsp_read_identify(nsp, ni, sizeof(*ni));
nsp                38 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 		nfp_err(nfp_nsp_cpp(nsp), "reading bsp version failed %d\n",
nsp                55 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	nspi->nsp = le16_to_cpu(ni->nsp);
nsp                74 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	struct nfp_nsp *nsp;
nsp                77 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	nsp = nfp_nsp_open(cpp);
nsp                78 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	if (IS_ERR(nsp))
nsp                79 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 		return PTR_ERR(nsp);
nsp                81 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	ret = nfp_nsp_read_sensors(nsp, BIT(id), &s, sizeof(s));
nsp                82 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_cmds.c 	nfp_nsp_close(nsp);
nsp               125 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_eth_port_translate(struct nfp_nsp *nsp, const union eth_table_entry *src,
nsp               156 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	if (nfp_nsp_get_abi_ver_minor(nsp) < 17)
nsp               162 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	if (nfp_nsp_get_abi_ver_minor(nsp) < 22)
nsp               232 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	struct nfp_nsp *nsp;
nsp               234 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	nsp = nfp_nsp_open(cpp);
nsp               235 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	if (IS_ERR(nsp))
nsp               238 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	ret = __nfp_eth_read_ports(cpp, nsp);
nsp               239 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	nfp_nsp_close(nsp);
nsp               245 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp)
nsp               255 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	ret = nfp_nsp_read_eth_table(nsp, entries, NSP_ETH_TABLE_SIZE);
nsp               282 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 			nfp_eth_port_translate(nsp, &entries[i], i,
nsp               301 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	struct nfp_nsp *nsp;
nsp               308 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	nsp = nfp_nsp_open(cpp);
nsp               309 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	if (IS_ERR(nsp)) {
nsp               311 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		return nsp;
nsp               314 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	ret = nfp_nsp_read_eth_table(nsp, entries, NSP_ETH_TABLE_SIZE);
nsp               326 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	nfp_nsp_config_set_state(nsp, entries, idx);
nsp               327 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	return nsp;
nsp               330 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	nfp_nsp_close(nsp);
nsp               335 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c void nfp_eth_config_cleanup_end(struct nfp_nsp *nsp)
nsp               337 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	union eth_table_entry *entries = nfp_nsp_config_entries(nsp);
nsp               339 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	nfp_nsp_config_set_modified(nsp, false);
nsp               340 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	nfp_nsp_config_clear_state(nsp);
nsp               341 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	nfp_nsp_close(nsp);
nsp               359 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c int nfp_eth_config_commit_end(struct nfp_nsp *nsp)
nsp               361 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	union eth_table_entry *entries = nfp_nsp_config_entries(nsp);
nsp               364 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	if (nfp_nsp_config_modified(nsp)) {
nsp               365 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		ret = nfp_nsp_write_eth_table(nsp, entries, NSP_ETH_TABLE_SIZE);
nsp               369 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	nfp_eth_config_cleanup_end(nsp);
nsp               391 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	struct nfp_nsp *nsp;
nsp               394 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	nsp = nfp_eth_config_start(cpp, idx);
nsp               395 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	if (IS_ERR(nsp))
nsp               396 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		return PTR_ERR(nsp);
nsp               398 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	entries = nfp_nsp_config_entries(nsp);
nsp               408 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		nfp_nsp_config_set_modified(nsp, true);
nsp               411 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	return nfp_eth_config_commit_end(nsp);
nsp               430 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	struct nfp_nsp *nsp;
nsp               433 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	nsp = nfp_eth_config_start(cpp, idx);
nsp               434 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	if (IS_ERR(nsp))
nsp               435 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		return PTR_ERR(nsp);
nsp               440 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	if (nfp_nsp_get_abi_ver_minor(nsp) < 20) {
nsp               441 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		nfp_eth_config_cleanup_end(nsp);
nsp               445 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	entries = nfp_nsp_config_entries(nsp);
nsp               455 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		nfp_nsp_config_set_modified(nsp, true);
nsp               458 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	return nfp_eth_config_commit_end(nsp);
nsp               462 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c nfp_eth_set_bit_config(struct nfp_nsp *nsp, unsigned int raw_idx,
nsp               466 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	union eth_table_entry *entries = nfp_nsp_config_entries(nsp);
nsp               467 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	unsigned int idx = nfp_nsp_config_idx(nsp);
nsp               473 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	if (nfp_nsp_get_abi_ver_minor(nsp) < 17) {
nsp               474 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		nfp_err(nfp_nsp_cpp(nsp),
nsp               490 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	nfp_nsp_config_set_modified(nsp, true);
nsp               495 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c #define NFP_ETH_SET_BIT_CONFIG(nsp, raw_idx, mask, val, ctrl_bit)	\
nsp               498 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		nfp_eth_set_bit_config(nsp, raw_idx, mask, __bf_shf(mask), \
nsp               512 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c int __nfp_eth_set_aneg(struct nfp_nsp *nsp, enum nfp_eth_aneg mode)
nsp               514 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	return NFP_ETH_SET_BIT_CONFIG(nsp, NSP_ETH_RAW_STATE,
nsp               529 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c static int __nfp_eth_set_fec(struct nfp_nsp *nsp, enum nfp_eth_fec mode)
nsp               531 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	return NFP_ETH_SET_BIT_CONFIG(nsp, NSP_ETH_RAW_STATE,
nsp               550 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	struct nfp_nsp *nsp;
nsp               553 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	nsp = nfp_eth_config_start(cpp, idx);
nsp               554 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	if (IS_ERR(nsp))
nsp               555 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		return PTR_ERR(nsp);
nsp               557 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	err = __nfp_eth_set_fec(nsp, mode);
nsp               559 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		nfp_eth_config_cleanup_end(nsp);
nsp               563 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	return nfp_eth_config_commit_end(nsp);
nsp               578 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c int __nfp_eth_set_speed(struct nfp_nsp *nsp, unsigned int speed)
nsp               584 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 		nfp_warn(nfp_nsp_cpp(nsp),
nsp               590 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	return NFP_ETH_SET_BIT_CONFIG(nsp, NSP_ETH_RAW_STATE,
nsp               605 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c int __nfp_eth_set_split(struct nfp_nsp *nsp, unsigned int lanes)
nsp               607 drivers/net/ethernet/netronome/nfp/nfpcore/nfp_nsp_eth.c 	return NFP_ETH_SET_BIT_CONFIG(nsp, NSP_ETH_RAW_PORT, NSP_ETH_PORT_LANES,
nsp               857 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 	u8 nmp, nsp, nmw, nsw, rev;
nsp               884 drivers/net/wireless/broadcom/brcm80211/brcmfmac/chip.c 		nsp = (val & DMP_COMP_NUM_SPORT) >> DMP_COMP_NUM_SPORT_S;
nsp               492 drivers/s390/scsi/zfcp_fsf.c 	struct fc_els_flogi *nsp, *plogi;
nsp               495 drivers/s390/scsi/zfcp_fsf.c 	nsp = (struct fc_els_flogi *) ((u8 *)&bottom->nport_serv_param
nsp               503 drivers/s390/scsi/zfcp_fsf.c 	fc_host_port_name(shost) = be64_to_cpu(nsp->fl_wwpn);
nsp               504 drivers/s390/scsi/zfcp_fsf.c 	fc_host_node_name(shost) = be64_to_cpu(nsp->fl_wwnn);
nsp                72 drivers/video/fbdev/uvesafb.c static void uvesafb_cn_callback(struct cn_msg *msg, struct netlink_skb_parms *nsp)
nsp               535 drivers/w1/w1_netlink.c static void w1_cn_callback(struct cn_msg *cn, struct netlink_skb_parms *nsp)
nsp               553 drivers/w1/w1_netlink.c 		w1_netlink_send_error(cn, msg, nsp->portid, -EINVAL);
nsp               609 drivers/w1/w1_netlink.c 			w1_netlink_send_error(cn, msg, nsp->portid, -ENOMEM);
nsp               613 drivers/w1/w1_netlink.c 		block->portid = nsp->portid;
nsp               644 drivers/w1/w1_netlink.c 			err = w1_process_command_root(cn, nsp->portid);
nsp               698 drivers/w1/w1_netlink.c 			w1_netlink_send_error(cn, msg, nsp->portid, err);
nsp               242 fs/proc_namespace.c 	struct nsproxy *nsp;
nsp               253 fs/proc_namespace.c 	nsp = task->nsproxy;
nsp               254 fs/proc_namespace.c 	if (!nsp || !nsp->mnt_ns) {
nsp               259 fs/proc_namespace.c 	ns = nsp->mnt_ns;
nsp               245 include/linux/netlink.h bool __netlink_ns_capable(const struct netlink_skb_parms *nsp,
nsp               852 net/netlink/af_netlink.c bool __netlink_ns_capable(const struct netlink_skb_parms *nsp,
nsp               855 net/netlink/af_netlink.c 	return ((nsp->flags & NETLINK_SKB_DST) ||
nsp               856 net/netlink/af_netlink.c 		file_ns_capable(nsp->sk->sk_socket->file, user_ns, cap)) &&
nsp               348 net/sched/cls_rsvp.h 	struct rsvp_session *nsp, *s = f->sess;
nsp               366 net/sched/cls_rsvp.h 			for (nsp = rtnl_dereference(*sp); nsp;
nsp               367 net/sched/cls_rsvp.h 			     sp = &nsp->next, nsp = rtnl_dereference(*sp)) {
nsp               368 net/sched/cls_rsvp.h 				if (nsp == s) {
nsp               481 net/sched/cls_rsvp.h 	struct rsvp_session *nsp, *s;
nsp               638 net/sched/cls_rsvp.h 	for (nsp = rtnl_dereference(*sp); nsp;
nsp               639 net/sched/cls_rsvp.h 	     sp = &nsp->next, nsp = rtnl_dereference(*sp)) {
nsp               640 net/sched/cls_rsvp.h 		if ((nsp->dpi.mask & s->dpi.mask) != s->dpi.mask)
nsp               643 net/sched/cls_rsvp.h 	RCU_INIT_POINTER(s->next, nsp);
nsp                25 samples/connector/cn_test.c static void cn_test_callback(struct cn_msg *msg, struct netlink_skb_parms *nsp)
nsp              2682 security/smack/smack_lsm.c 	struct inode_smack *nsp = smack_inode(inode);
nsp              2695 security/smack/smack_lsm.c 		nsp->smk_inode = skp;
nsp              2696 security/smack/smack_lsm.c 		nsp->smk_flags |= SMK_INODE_INSTANT;
nsp              3579 security/smack/smack_lsm.c 	struct socket_smack *nsp = newsk->sk_security;
nsp              3608 security/smack/smack_lsm.c 		nsp->smk_packet = ssp->smk_out;