Home
last modified time | relevance | path

Searched refs:cpp (Results 1 – 25 of 170) sorted by relevance

1234567

/Linux-v4.19/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cppcore.c118 struct nfp_cpp *cpp; member
130 struct nfp_cpp *cpp; member
162 struct nfp_cpp *cpp = nfp_cpp_area_cpp(area); in __release_cpp_area() local
164 if (area->cpp->op->area_cleanup) in __release_cpp_area()
165 area->cpp->op->area_cleanup(area); in __release_cpp_area()
167 write_lock(&cpp->resource_lock); in __release_cpp_area()
169 write_unlock(&cpp->resource_lock); in __release_cpp_area()
189 void nfp_cpp_free(struct nfp_cpp *cpp) in nfp_cpp_free() argument
195 list_for_each_entry_safe(cache, ctmp, &cpp->area_cache_list, entry) { in nfp_cpp_free()
204 WARN_ON(!list_empty(&cpp->resource_list)); in nfp_cpp_free()
[all …]
Dnfp_mutex.c45 struct nfp_cpp *cpp; member
116 int nfp_cpp_mutex_init(struct nfp_cpp *cpp, in nfp_cpp_mutex_init() argument
120 u16 interface = nfp_cpp_interface(cpp); in nfp_cpp_mutex_init()
127 err = nfp_cpp_writel(cpp, muw, address + 4, key); in nfp_cpp_mutex_init()
131 err = nfp_cpp_writel(cpp, muw, address, nfp_mutex_locked(interface)); in nfp_cpp_mutex_init()
153 struct nfp_cpp_mutex *nfp_cpp_mutex_alloc(struct nfp_cpp *cpp, int target, in nfp_cpp_mutex_alloc() argument
157 u16 interface = nfp_cpp_interface(cpp); in nfp_cpp_mutex_alloc()
166 err = nfp_cpp_readl(cpp, mur, address + 4, &tmp); in nfp_cpp_mutex_alloc()
177 mutex->cpp = cpp; in nfp_cpp_mutex_alloc()
220 nfp_info(mutex->cpp, in nfp_cpp_mutex_lock()
[all …]
Dnfp_cpp.h51 #define nfp_err(cpp, fmt, args...) \ argument
52 dev_err(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args)
53 #define nfp_warn(cpp, fmt, args...) \ argument
54 dev_warn(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args)
55 #define nfp_info(cpp, fmt, args...) \ argument
56 dev_info(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args)
57 #define nfp_dbg(cpp, fmt, args...) \ argument
58 dev_dbg(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args)
225 void nfp_cpp_free(struct nfp_cpp *cpp);
226 u32 nfp_cpp_model(struct nfp_cpp *cpp);
[all …]
Dnfp_resource.c99 static int nfp_cpp_resource_find(struct nfp_cpp *cpp, struct nfp_resource *res) in nfp_cpp_resource_find() argument
109 nfp_err(cpp, "Grabbing device lock not supported\n"); in nfp_cpp_resource_find()
118 ret = nfp_cpp_read(cpp, cpp_id, addr, &entry, sizeof(entry)); in nfp_cpp_resource_find()
127 nfp_cpp_mutex_alloc(cpp, in nfp_cpp_resource_find()
142 nfp_resource_try_acquire(struct nfp_cpp *cpp, struct nfp_resource *res, in nfp_resource_try_acquire() argument
150 err = nfp_cpp_resource_find(cpp, res); in nfp_resource_try_acquire()
180 nfp_resource_acquire(struct nfp_cpp *cpp, const char *name) in nfp_resource_acquire() argument
194 dev_mutex = nfp_cpp_mutex_alloc(cpp, NFP_RESOURCE_TBL_TARGET, in nfp_resource_acquire()
203 err = nfp_resource_try_acquire(cpp, res, dev_mutex); in nfp_resource_acquire()
217 nfp_warn(cpp, "Warning: waiting for NFP resource %s\n", in nfp_resource_acquire()
[all …]
Dnfp_nsp.c117 struct nfp_cpp *cpp; member
132 return state->cpp; in nfp_nsp_cpp()
177 nfp_err(state->cpp, "err msg: %s\n", nsp_errors[i].msg); in nfp_nsp_print_extended_error()
182 struct nfp_cpp *cpp = state->cpp; in nfp_nsp_check() local
190 err = nfp_cpp_readq(cpp, nsp_cpp, nsp_status, &reg); in nfp_nsp_check()
195 nfp_err(cpp, "Cannot detect NFP Service Processor\n"); in nfp_nsp_check()
203 nfp_err(cpp, "Unsupported ABI %hu.%hu\n", in nfp_nsp_check()
209 nfp_err(cpp, "Service processor busy!\n"); in nfp_nsp_check()
220 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp) in nfp_nsp_open() argument
226 res = nfp_resource_acquire(cpp, NFP_RESOURCE_NSP); in nfp_nsp_open()
[all …]
Dnfp_hwinfo.c136 hwinfo_db_walk(struct nfp_cpp *cpp, struct nfp_hwinfo *hwinfo, u32 size) in hwinfo_db_walk() argument
145 nfp_warn(cpp, "Bad HWINFO - overflowing key\n"); in hwinfo_db_walk()
150 nfp_warn(cpp, "Bad HWINFO - overflowing value\n"); in hwinfo_db_walk()
159 hwinfo_db_validate(struct nfp_cpp *cpp, struct nfp_hwinfo *db, u32 len) in hwinfo_db_validate() argument
165 nfp_err(cpp, "Unsupported hwinfo size %u > %u\n", size, len); in hwinfo_db_validate()
172 nfp_err(cpp, "Corrupt hwinfo table (CRC mismatch), calculated 0x%x, expected 0x%x\n", in hwinfo_db_validate()
178 return hwinfo_db_walk(cpp, db, size); in hwinfo_db_validate()
182 hwinfo_try_fetch(struct nfp_cpp *cpp, size_t *cpp_size) in hwinfo_try_fetch() argument
191 res = nfp_resource_acquire(cpp, NFP_RESOURCE_NFP_HWINFO); in hwinfo_try_fetch()
215 err = nfp_cpp_read(cpp, cpp_id, cpp_addr, db, *cpp_size); in hwinfo_try_fetch()
[all …]
Dnfp_cpplib.c69 int nfp_cpp_readl(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readl() argument
75 n = nfp_cpp_read(cpp, cpp_id, address, tmp, sizeof(tmp)); in nfp_cpp_readl()
92 int nfp_cpp_writel(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writel() argument
99 n = nfp_cpp_write(cpp, cpp_id, address, tmp, sizeof(tmp)); in nfp_cpp_writel()
113 int nfp_cpp_readq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readq() argument
119 n = nfp_cpp_read(cpp, cpp_id, address, tmp, sizeof(tmp)); in nfp_cpp_readq()
136 int nfp_cpp_writeq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writeq() argument
143 n = nfp_cpp_write(cpp, cpp_id, address, tmp, sizeof(tmp)); in nfp_cpp_writeq()
151 int nfp_cpp_model_autodetect(struct nfp_cpp *cpp, u32 *model) in nfp_cpp_model_autodetect() argument
157 err = nfp_cpp_readl(cpp, arm_id, NFP6000_ARM_GCSR_SOFTMODEL0, model); in nfp_cpp_model_autodetect()
[all …]
Dnfp_rtsym.c69 struct nfp_cpp *cpp; member
110 struct nfp_rtsym_table *nfp_rtsym_table_read(struct nfp_cpp *cpp) in nfp_rtsym_table_read() argument
115 mip = nfp_mip_open(cpp); in nfp_rtsym_table_read()
116 rtbl = __nfp_rtsym_table_read(cpp, mip); in nfp_rtsym_table_read()
123 __nfp_rtsym_table_read(struct nfp_cpp *cpp, const struct nfp_mip *mip) in __nfp_rtsym_table_read() argument
156 cache->cpp = cpp; in __nfp_rtsym_table_read()
160 err = nfp_cpp_read(cpp, dram, symtab_addr, rtsymtab, symtab_size); in __nfp_rtsym_table_read()
164 err = nfp_cpp_read(cpp, dram, strtab_addr, cache->strtab, strtab_size); in __nfp_rtsym_table_read()
266 err = nfp_cpp_readl(rtbl->cpp, id, sym->addr, &val32); in nfp_rtsym_read_le()
270 err = nfp_cpp_readq(rtbl->cpp, id, sym->addr, &val); in nfp_rtsym_read_le()
[all …]
Dnfp_mip.c73 nfp_mip_try_read(struct nfp_cpp *cpp, u32 cpp_id, u64 addr, struct nfp_mip *mip) in nfp_mip_try_read() argument
77 ret = nfp_cpp_read(cpp, cpp_id, addr, mip, sizeof(*mip)); in nfp_mip_try_read()
79 nfp_err(cpp, "Failed to read MIP data (%d, %zu)\n", in nfp_mip_try_read()
84 nfp_warn(cpp, "Incorrect MIP signature (0x%08x)\n", in nfp_mip_try_read()
89 nfp_warn(cpp, "Unsupported MIP version (%d)\n", in nfp_mip_try_read()
98 static int nfp_mip_read_resource(struct nfp_cpp *cpp, struct nfp_mip *mip) in nfp_mip_read_resource() argument
105 nffw_info = nfp_nffw_info_open(cpp); in nfp_mip_read_resource()
113 err = nfp_mip_try_read(cpp, cpp_id, addr, mip); in nfp_mip_read_resource()
129 const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp) in nfp_mip_open() argument
138 err = nfp_mip_read_resource(cpp, mip); in nfp_mip_open()
Dnfp_nsp_eth.c206 nfp_eth_calc_port_geometry(struct nfp_cpp *cpp, struct nfp_eth_table *table) in nfp_eth_calc_port_geometry() argument
223 nfp_warn(cpp, in nfp_eth_calc_port_geometry()
234 nfp_eth_calc_port_type(struct nfp_cpp *cpp, struct nfp_eth_table_port *entry) in nfp_eth_calc_port_type() argument
256 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp) in nfp_eth_read_ports() argument
261 nsp = nfp_nsp_open(cpp); in nfp_eth_read_ports()
265 ret = __nfp_eth_read_ports(cpp, nsp); in nfp_eth_read_ports()
272 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp) in __nfp_eth_read_ports() argument
284 nfp_err(cpp, "reading port table failed %d\n", ret); in __nfp_eth_read_ports()
297 nfp_err(cpp, "table entry count reported (%d) does not match entries present (%d)\n", in __nfp_eth_read_ports()
313 nfp_eth_calc_port_geometry(cpp, table); in __nfp_eth_read_ports()
[all …]
Dnfp_nsp.h44 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp);
164 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp);
166 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp);
168 int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable);
169 int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx,
172 nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode);
185 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx);
226 int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id,
Dnfp_nffw.c109 struct nfp_cpp *cpp; member
164 static int nfp_mip_mu_locality_lsb(struct nfp_cpp *cpp) in nfp_mip_mu_locality_lsb() argument
172 err = nfp_xpb_readl(cpp, xpbaddr, &imbcppat); in nfp_mip_mu_locality_lsb()
212 struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp) in nfp_nffw_info_open() argument
223 state->res = nfp_resource_acquire(cpp, NFP_RESOURCE_NFP_NFFW); in nfp_nffw_info_open()
232 err = nfp_cpp_read(cpp, nfp_resource_cpp_id(state->res), in nfp_nffw_info_open()
245 state->cpp = cpp; in nfp_nffw_info_open()
312 locality_off = nfp_mip_mu_locality_lsb(state->cpp); in nfp_nffw_info_mip_first()
Dnfp.h50 struct nfp_hwinfo *nfp_hwinfo_read(struct nfp_cpp *cpp);
97 int nfp_resource_table_init(struct nfp_cpp *cpp);
100 nfp_resource_acquire(struct nfp_cpp *cpp, const char *name);
104 int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs);
Dnfp_nffw.h47 struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp);
55 const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp);
93 struct nfp_rtsym_table *nfp_rtsym_table_read(struct nfp_cpp *cpp);
95 __nfp_rtsym_table_read(struct nfp_cpp *cpp, const struct nfp_mip *mip);
/Linux-v4.19/drivers/gpu/drm/
Ddrm_fourcc.c108 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info()
109 …{ .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info()
110 …{ .format = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info()
111 …{ .format = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
112 …{ .format = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
113 …{ .format = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
114 …{ .format = DRM_FORMAT_BGRX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
115 …{ .format = DRM_FORMAT_ARGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
116 …{ .format = DRM_FORMAT_ABGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
117 …{ .format = DRM_FORMAT_RGBA4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info()
[all …]
Ddrm_dumb_buffers.c60 u32 cpp, stride, size; in drm_mode_create_dumb() local
70 cpp = DIV_ROUND_UP(args->bpp, 8); in drm_mode_create_dumb()
71 if (cpp > U32_MAX / args->width) in drm_mode_create_dumb()
73 stride = cpp * args->width; in drm_mode_create_dumb()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/
Dnfp_main.c86 snprintf(name, sizeof(name), format, nfp_cppcore_pcie_unit(pf->cpp)); in nfp_pf_rtsym_read_optional()
92 nfp_err(pf->cpp, "Unable to read symbol %s\n", name); in nfp_pf_rtsym_read_optional()
106 nfp_cppcore_pcie_unit(pf->cpp)); in nfp_pf_map_rtsym()
131 err = nfp_cpp_readl(pf->cpp, cpp_id, addr + NFP_MBOX_CMD, &val); in nfp_mbox_cmd()
133 nfp_warn(pf->cpp, "failed to issue command (%u): %u, err: %d\n", in nfp_mbox_cmd()
139 n = nfp_cpp_write(pf->cpp, cpp_id, addr + NFP_MBOX_DATA, in nfp_mbox_cmd()
144 err = nfp_cpp_writeq(pf->cpp, cpp_id, addr + NFP_MBOX_DATA_LEN, in nfp_mbox_cmd()
150 err = nfp_cpp_readl(pf->cpp, cpp_id, addr + NFP_MBOX_DATA_LEN, &val); in nfp_mbox_cmd()
155 err = nfp_cpp_writeq(pf->cpp, cpp_id, addr + NFP_MBOX_CMD, cmd); in nfp_mbox_cmd()
162 err = nfp_cpp_readl(pf->cpp, cpp_id, addr + NFP_MBOX_CMD, &val); in nfp_mbox_cmd()
[all …]
Dnfp_net_debugdump.c89 struct nfp_dump_common_cpp cpp; member
101 struct nfp_dump_common_cpp cpp; member
109 struct nfp_dump_common_cpp cpp; member
186 nfp_net_dump_load_dumpspec(struct nfp_cpp *cpp, struct nfp_rtsym_table *rtbl) in nfp_net_dump_load_dumpspec() argument
207 bytes_read = nfp_cpp_read(cpp, cpp_id, specsym->addr, dumpspec->data, in nfp_net_dump_load_dumpspec()
211 nfp_warn(cpp, "Debug dump specification read failed.\n"); in nfp_net_dump_load_dumpspec()
309 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); in nfp_add_tlv_size()
317 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length) * in nfp_add_tlv_size()
506 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); in nfp_dump_csr_range()
513 dump_header->cpp = spec_csr->cpp; in nfp_dump_csr_range()
[all …]
Dnfp_net_main.c277 nfp_warn(pf->cpp, "Unable to allocate MSI-X vectors\n"); in nfp_net_pf_alloc_irqs()
354 nfp_err(pf->cpp, "Failed to find ctrl vNIC memory symbol\n"); in nfp_net_pf_app_init()
481 nfp_err(pf->cpp, "Failed to find data vNIC memory symbol\n"); in nfp_net_pci_map_mem()
522 mem = nfp_cpp_map_area(pf->cpp, "net.qc", 0, 0, in nfp_net_pci_map_mem()
526 nfp_err(pf->cpp, "Failed to map Queue Controller area.\n"); in nfp_net_pci_map_mem()
548 nfp_net_eth_port_update(struct nfp_cpp *cpp, struct nfp_port *port, in nfp_net_eth_port_update() argument
558 nfp_warn(cpp, "Warning: port #%d not present after reconfig\n", in nfp_net_eth_port_update()
563 …nfp_warn(cpp, "Port #%d config changed, unregistering. Driver reload required before port will be … in nfp_net_eth_port_update()
590 eth_table = nfp_eth_read_ports(pf->cpp); in nfp_net_refresh_port_table_sync()
596 nfp_err(pf->cpp, "Error refreshing port config!\n"); in nfp_net_refresh_port_table_sync()
[all …]
/Linux-v4.19/arch/sparc/vdso/
Dvma.c55 struct page *cp, **cpp = NULL; in init_vdso_image() local
65 cpp = kcalloc(cnpages, sizeof(struct page *), GFP_KERNEL); in init_vdso_image()
66 vdso_mapping->pages = cpp; in init_vdso_image()
68 if (!cpp) in init_vdso_image()
91 cpp[i] = cp; in init_vdso_image()
122 if (cpp != NULL) { in init_vdso_image()
124 if (cpp[i] != NULL) in init_vdso_image()
125 __free_page(cpp[i]); in init_vdso_image()
127 kfree(cpp); in init_vdso_image()
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/abm/
Dctrl.c70 struct nfp_cpp *cpp = alink->abm->app->cpp; in nfp_abm_ctrl_stat() local
79 err = nfp_cpp_readq(cpp, mur, addr, &val); in nfp_abm_ctrl_stat()
81 err = nfp_cpp_readl(cpp, mur, addr, &val32); in nfp_abm_ctrl_stat()
83 nfp_err(cpp, in nfp_abm_ctrl_stat()
116 struct nfp_cpp *cpp = alink->abm->app->cpp; in nfp_abm_ctrl_set_q_lvl() local
123 err = nfp_cpp_writel(cpp, muw, nfp_abm_q_lvl_thrs(alink, i), val); in nfp_abm_ctrl_set_q_lvl()
125 nfp_err(cpp, "RED offload setting level failed on vNIC %d queue %d\n", in nfp_abm_ctrl_set_q_lvl()
290 nfp_err(pf->cpp, "Symbol '%s' not found\n", name); in nfp_abm_ctrl_find_rtsym()
294 nfp_err(pf->cpp, in nfp_abm_ctrl_find_rtsym()
317 pf_id = nfp_cppcore_pcie_unit(pf->cpp); in nfp_abm_ctrl_find_addrs()
/Linux-v4.19/drivers/gpu/drm/vc4/
Dvc4_validate.c57 utile_width(int cpp) in utile_width() argument
59 switch (cpp) { in utile_width()
68 DRM_ERROR("unknown cpp: %d\n", cpp); in utile_width()
75 utile_height(int cpp) in utile_height() argument
77 switch (cpp) { in utile_height()
85 DRM_ERROR("unknown cpp: %d\n", cpp); in utile_height()
99 size_is_lt(uint32_t width, uint32_t height, int cpp) in size_is_lt() argument
101 return (width <= 4 * utile_width(cpp) || in size_is_lt()
102 height <= 4 * utile_height(cpp)); in size_is_lt()
161 uint32_t width, uint32_t height, uint8_t cpp) in vc4_check_tex_size() argument
[all …]
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/bpf/
Dmain.c97 nfp_err(pf->cpp, "No ETH table\n"); in nfp_bpf_vnic_alloc()
101 nfp_err(pf->cpp, "ETH entries don't match vNICs (%d vs %d)\n", in nfp_bpf_vnic_alloc()
247 struct nfp_cpp *cpp = bpf->app->pf->cpp; in nfp_bpf_parse_cap_adjust_head() local
250 nfp_err(cpp, "truncated adjust_head TLV: %d\n", length); in nfp_bpf_parse_cap_adjust_head()
261 nfp_err(cpp, "invalid adjust_head TLV: min > max\n"); in nfp_bpf_parse_cap_adjust_head()
266 nfp_warn(cpp, "disabling adjust_head - driver expects min/max to fit in as immediates\n"); in nfp_bpf_parse_cap_adjust_head()
280 nfp_err(bpf->app->cpp, "truncated function TLV: %d\n", length); in nfp_bpf_parse_cap_func()
308 nfp_err(bpf->app->cpp, "truncated maps TLV: %d\n", length); in nfp_bpf_parse_cap_maps()
347 struct nfp_cpp *cpp = app->pf->cpp; in nfp_bpf_parse_capabilities() local
397 nfp_dbg(cpp, "unknown BPF capability: %d\n", type); in nfp_bpf_parse_capabilities()
[all …]
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/flower/
Dmain.c150 nfp_warn(app->cpp, "Not all reprs responded to reify\n"); in nfp_flower_wait_repr_reify()
209 nfp_warn(app->cpp, "Failed to notify firmware about repr destruction\n"); in nfp_flower_repr_netdev_preclean()
231 u8 nfp_pcie = nfp_cppcore_pcie_unit(app->pf->cpp); in nfp_flower_spawn_vnic_reprs()
300 nfp_info(app->cpp, "%s%d Representor(%s) created\n", in nfp_flower_spawn_vnic_reprs()
311 nfp_warn(app->cpp, "Failed to notify firmware about repr creation\n"); in nfp_flower_spawn_vnic_reprs()
413 nfp_info(app->cpp, "Phys Port %d Representor(%s) created\n", in nfp_flower_spawn_phy_reprs()
430 nfp_warn(app->cpp, "Failed to notify firmware about repr creation\n"); in nfp_flower_spawn_phy_reprs()
454 nfp_warn(app->cpp, "FlowerNIC doesn't support more than one data vNIC\n"); in nfp_flower_vnic_alloc()
526 nfp_warn(app->cpp, "FlowerNIC requires eth table\n"); in nfp_flower_init()
531 nfp_warn(app->cpp, "FlowerNIC requires mac_stats BAR\n"); in nfp_flower_init()
[all …]
/Linux-v4.19/drivers/net/slip/
Dslhc.c83 static long decode(unsigned char **cpp);
85 static unsigned short pull16(unsigned char **cpp);
195 pull16(unsigned char **cpp) in pull16() argument
199 rval = *(*cpp)++; in pull16()
201 rval |= *(*cpp)++; in pull16()
207 decode(unsigned char **cpp) in decode() argument
211 x = *(*cpp)++; in decode()
213 return pull16(cpp) & 0xffff; /* pull16 returns -1 on error */ in decode()
228 unsigned char *ocp, unsigned char **cpp, int compress_cid) in slhc_compress() argument
447 *cpp = ocp; in slhc_compress()
[all …]

1234567