/linux-5.19.10/drivers/net/ethernet/netronome/nfp/nfpcore/ |
D | nfp_cppcore.c | 90 struct nfp_cpp *cpp; member 102 struct nfp_cpp *cpp; member 134 struct nfp_cpp *cpp = nfp_cpp_area_cpp(area); in __release_cpp_area() local 136 if (area->cpp->op->area_cleanup) in __release_cpp_area() 137 area->cpp->op->area_cleanup(area); in __release_cpp_area() 139 write_lock(&cpp->resource_lock); in __release_cpp_area() 141 write_unlock(&cpp->resource_lock); in __release_cpp_area() 161 void nfp_cpp_free(struct nfp_cpp *cpp) in nfp_cpp_free() argument 167 list_for_each_entry_safe(cache, ctmp, &cpp->area_cache_list, entry) { in nfp_cpp_free() 176 WARN_ON(!list_empty(&cpp->resource_list)); in nfp_cpp_free() [all …]
|
D | nfp_cpp.h | 24 #define __nfp_err(cpp, fmt, args...) \ argument 25 dev_err(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) 26 #define __nfp_warn(cpp, fmt, args...) \ argument 27 dev_warn(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) 28 #define __nfp_info(cpp, fmt, args...) \ argument 29 dev_info(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) 30 #define __nfp_dbg(cpp, fmt, args...) \ argument 31 dev_dbg(nfp_cpp_device(cpp)->parent, NFP_SUBSYS ": " fmt, ## args) 32 #define __nfp_printk(level, cpp, fmt, args...) \ argument 33 dev_printk(level, nfp_cpp_device(cpp)->parent, \ [all …]
|
D | nfp_rtsym.c | 41 struct nfp_cpp *cpp; member 82 struct nfp_rtsym_table *nfp_rtsym_table_read(struct nfp_cpp *cpp) in nfp_rtsym_table_read() argument 87 mip = nfp_mip_open(cpp); in nfp_rtsym_table_read() 88 rtbl = __nfp_rtsym_table_read(cpp, mip); in nfp_rtsym_table_read() 95 __nfp_rtsym_table_read(struct nfp_cpp *cpp, const struct nfp_mip *mip) in __nfp_rtsym_table_read() argument 128 cache->cpp = cpp; in __nfp_rtsym_table_read() 132 err = nfp_cpp_read(cpp, dram, symtab_addr, rtsymtab, symtab_size); in __nfp_rtsym_table_read() 136 err = nfp_cpp_read(cpp, dram, strtab_addr, cache->strtab, strtab_size); in __nfp_rtsym_table_read() 226 nfp_rtsym_to_dest(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, in nfp_rtsym_to_dest() argument 230 nfp_err(cpp, "rtsym '%s': direct access to non-object rtsym\n", in nfp_rtsym_to_dest() [all …]
|
D | nfp_mutex.c | 15 struct nfp_cpp *cpp; member 86 int nfp_cpp_mutex_init(struct nfp_cpp *cpp, in nfp_cpp_mutex_init() argument 90 u16 interface = nfp_cpp_interface(cpp); in nfp_cpp_mutex_init() 97 err = nfp_cpp_writel(cpp, muw, address + 4, key); in nfp_cpp_mutex_init() 101 err = nfp_cpp_writel(cpp, muw, address, nfp_mutex_locked(interface)); in nfp_cpp_mutex_init() 123 struct nfp_cpp_mutex *nfp_cpp_mutex_alloc(struct nfp_cpp *cpp, int target, in nfp_cpp_mutex_alloc() argument 127 u16 interface = nfp_cpp_interface(cpp); in nfp_cpp_mutex_alloc() 136 err = nfp_cpp_readl(cpp, mur, address + 4, &tmp); in nfp_cpp_mutex_alloc() 147 mutex->cpp = cpp; in nfp_cpp_mutex_alloc() 190 nfp_info(mutex->cpp, in nfp_cpp_mutex_lock() [all …]
|
D | nfp_resource.c | 69 static int nfp_cpp_resource_find(struct nfp_cpp *cpp, struct nfp_resource *res) in nfp_cpp_resource_find() argument 79 nfp_err(cpp, "Grabbing device lock not supported\n"); in nfp_cpp_resource_find() 88 ret = nfp_cpp_read(cpp, cpp_id, addr, &entry, sizeof(entry)); in nfp_cpp_resource_find() 97 nfp_cpp_mutex_alloc(cpp, in nfp_cpp_resource_find() 112 nfp_resource_try_acquire(struct nfp_cpp *cpp, struct nfp_resource *res, in nfp_resource_try_acquire() argument 120 err = nfp_cpp_resource_find(cpp, res); in nfp_resource_try_acquire() 150 nfp_resource_acquire(struct nfp_cpp *cpp, const char *name) in nfp_resource_acquire() argument 164 dev_mutex = nfp_cpp_mutex_alloc(cpp, NFP_RESOURCE_TBL_TARGET, in nfp_resource_acquire() 173 err = nfp_resource_try_acquire(cpp, res, dev_mutex); in nfp_resource_acquire() 187 nfp_warn(cpp, "Warning: waiting for NFP resource %s\n", in nfp_resource_acquire() [all …]
|
D | nfp_nffw.h | 17 struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp); 25 const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp); 65 struct nfp_rtsym_table *nfp_rtsym_table_read(struct nfp_cpp *cpp); 67 __nfp_rtsym_table_read(struct nfp_cpp *cpp, const struct nfp_mip *mip); 74 int __nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, 76 int nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, 78 int __nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, 80 int nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, 82 int __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, 84 int nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, [all …]
|
D | nfp_hwinfo.c | 106 hwinfo_db_walk(struct nfp_cpp *cpp, struct nfp_hwinfo *hwinfo, u32 size) in hwinfo_db_walk() argument 115 nfp_warn(cpp, "Bad HWINFO - overflowing key\n"); in hwinfo_db_walk() 120 nfp_warn(cpp, "Bad HWINFO - overflowing value\n"); in hwinfo_db_walk() 129 hwinfo_db_validate(struct nfp_cpp *cpp, struct nfp_hwinfo *db, u32 len) in hwinfo_db_validate() argument 135 nfp_err(cpp, "Unsupported hwinfo size %u > %u\n", size, len); in hwinfo_db_validate() 142 nfp_err(cpp, "Corrupt hwinfo table (CRC mismatch), calculated 0x%x, expected 0x%x\n", in hwinfo_db_validate() 148 return hwinfo_db_walk(cpp, db, size); in hwinfo_db_validate() 152 hwinfo_try_fetch(struct nfp_cpp *cpp, size_t *cpp_size) in hwinfo_try_fetch() argument 161 res = nfp_resource_acquire(cpp, NFP_RESOURCE_NFP_HWINFO); in hwinfo_try_fetch() 185 err = nfp_cpp_read(cpp, cpp_id, cpp_addr, db, *cpp_size); in hwinfo_try_fetch() [all …]
|
D | nfp_nsp.c | 127 struct nfp_cpp *cpp; member 179 return state->cpp; in nfp_nsp_cpp() 224 nfp_err(state->cpp, "err msg: %s\n", nsp_errors[i].msg); in nfp_nsp_print_extended_error() 229 struct nfp_cpp *cpp = state->cpp; in nfp_nsp_check() local 237 err = nfp_cpp_readq(cpp, nsp_cpp, nsp_status, ®); in nfp_nsp_check() 242 nfp_err(cpp, "Cannot detect NFP Service Processor\n"); in nfp_nsp_check() 250 nfp_err(cpp, "Unsupported ABI %hu.%hu\n", in nfp_nsp_check() 255 …nfp_err(cpp, "ABI too old to support NIC operation (%u.%hu < %u.%u), please update the management … in nfp_nsp_check() 261 nfp_err(cpp, "Service processor busy!\n"); in nfp_nsp_check() 272 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp) in nfp_nsp_open() argument [all …]
|
D | nfp_cpplib.c | 41 int nfp_cpp_readl(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readl() argument 47 n = nfp_cpp_read(cpp, cpp_id, address, tmp, sizeof(tmp)); in nfp_cpp_readl() 64 int nfp_cpp_writel(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writel() argument 71 n = nfp_cpp_write(cpp, cpp_id, address, tmp, sizeof(tmp)); in nfp_cpp_writel() 85 int nfp_cpp_readq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readq() argument 91 n = nfp_cpp_read(cpp, cpp_id, address, tmp, sizeof(tmp)); in nfp_cpp_readq() 108 int nfp_cpp_writeq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writeq() argument 115 n = nfp_cpp_write(cpp, cpp_id, address, tmp, sizeof(tmp)); in nfp_cpp_writeq() 123 int nfp_cpp_model_autodetect(struct nfp_cpp *cpp, u32 *model) in nfp_cpp_model_autodetect() argument 128 err = nfp_xpb_readl(cpp, NFP_XPB_DEVICE(1, 1, 16) + NFP_PL_DEVICE_ID, in nfp_cpp_model_autodetect() [all …]
|
D | nfp_mip.c | 43 nfp_mip_try_read(struct nfp_cpp *cpp, u32 cpp_id, u64 addr, struct nfp_mip *mip) in nfp_mip_try_read() argument 47 ret = nfp_cpp_read(cpp, cpp_id, addr, mip, sizeof(*mip)); in nfp_mip_try_read() 49 nfp_err(cpp, "Failed to read MIP data (%d, %zu)\n", in nfp_mip_try_read() 54 nfp_warn(cpp, "Incorrect MIP signature (0x%08x)\n", in nfp_mip_try_read() 59 nfp_warn(cpp, "Unsupported MIP version (%d)\n", in nfp_mip_try_read() 68 static int nfp_mip_read_resource(struct nfp_cpp *cpp, struct nfp_mip *mip) in nfp_mip_read_resource() argument 75 nffw_info = nfp_nffw_info_open(cpp); in nfp_mip_read_resource() 83 err = nfp_mip_try_read(cpp, cpp_id, addr, mip); in nfp_mip_read_resource() 99 const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp) in nfp_mip_open() argument 108 err = nfp_mip_read_resource(cpp, mip); in nfp_mip_open()
|
D | nfp_nsp_eth.c | 176 nfp_eth_calc_port_geometry(struct nfp_cpp *cpp, struct nfp_eth_table *table) in nfp_eth_calc_port_geometry() argument 193 nfp_warn(cpp, in nfp_eth_calc_port_geometry() 204 nfp_eth_calc_port_type(struct nfp_cpp *cpp, struct nfp_eth_table_port *entry) in nfp_eth_calc_port_type() argument 229 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp) in nfp_eth_read_ports() argument 234 nsp = nfp_nsp_open(cpp); in nfp_eth_read_ports() 238 ret = __nfp_eth_read_ports(cpp, 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 257 nfp_err(cpp, "reading port table failed %d\n", ret); in __nfp_eth_read_ports() 270 nfp_err(cpp, "table entry count reported (%d) does not match entries present (%d)\n", in __nfp_eth_read_ports() 285 nfp_eth_calc_port_geometry(cpp, table); in __nfp_eth_read_ports() [all …]
|
D | nfp_nsp.h | 14 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp); 189 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp); 191 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp); 193 int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable); 194 int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx, 197 nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode); 210 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx); 251 int nfp_hwmon_read_sensor(struct nfp_cpp *cpp, enum nfp_nsp_sensor_id id,
|
D | nfp_nffw.c | 79 struct nfp_cpp *cpp; member 159 struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp) in nfp_nffw_info_open() argument 170 state->res = nfp_resource_acquire(cpp, NFP_RESOURCE_NFP_NFFW); in nfp_nffw_info_open() 179 err = nfp_cpp_read(cpp, nfp_resource_cpp_id(state->res), in nfp_nffw_info_open() 192 state->cpp = cpp; in nfp_nffw_info_open() 254 int locality_off = nfp_cpp_mu_locality_lsb(state->cpp); in nfp_nffw_info_mip_first()
|
/linux-5.19.10/drivers/gpu/drm/ |
D | drm_fourcc.c | 135 …{ .format = DRM_FORMAT_C8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 136 …{ .format = DRM_FORMAT_R8, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub = 1… in __drm_format_info() 137 …{ .format = DRM_FORMAT_R10, .depth = 10, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = … in __drm_format_info() 138 …{ .format = DRM_FORMAT_R12, .depth = 12, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsub = … in __drm_format_info() 139 …{ .format = DRM_FORMAT_RGB332, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info() 140 …{ .format = DRM_FORMAT_BGR233, .depth = 8, .num_planes = 1, .cpp = { 1, 0, 0 }, .hsub = 1, .vsub… in __drm_format_info() 141 …{ .format = DRM_FORMAT_XRGB4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() 142 …{ .format = DRM_FORMAT_XBGR4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() 143 …{ .format = DRM_FORMAT_RGBX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() 144 …{ .format = DRM_FORMAT_BGRX4444, .depth = 0, .num_planes = 1, .cpp = { 2, 0, 0 }, .hsub = 1, .vsu… in __drm_format_info() [all …]
|
D | drm_format_helper.c | 22 static unsigned int clip_offset(const struct drm_rect *clip, unsigned int pitch, unsigned int cpp) in clip_offset() argument 24 return clip->y1 * pitch + clip->x1 * cpp; in clip_offset() 39 return clip_offset(clip, pitch, format->cpp[0]); in drm_fb_clip_offset() 51 size_t sbuf_len = linepixels * fb->format->cpp[0]; in drm_fb_xfrm() 69 vaddr += clip_offset(clip, fb->pitches[0], fb->format->cpp[0]); in drm_fb_xfrm() 96 size_t sbuf_len = linepixels * fb->format->cpp[0]; in drm_fb_xfrm_toio() 113 vaddr += clip_offset(clip, fb->pitches[0], fb->format->cpp[0]); in drm_fb_xfrm_toio() 145 unsigned int cpp = fb->format->cpp[0]; in drm_fb_memcpy() local 146 size_t len = (clip->x2 - clip->x1) * cpp; in drm_fb_memcpy() 152 vaddr += clip_offset(clip, fb->pitches[0], cpp); in drm_fb_memcpy() [all …]
|
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/ |
D | nfp_main.c | 79 snprintf(name, sizeof(name), format, nfp_cppcore_pcie_unit(pf->cpp)); in nfp_pf_rtsym_read_optional() 85 nfp_err(pf->cpp, "Unable to read symbol %s\n", name); in nfp_pf_rtsym_read_optional() 99 nfp_cppcore_pcie_unit(pf->cpp)); in nfp_pf_map_rtsym() 119 err = nfp_rtsym_readl(pf->cpp, pf->mbox, NFP_MBOX_CMD, &val); in nfp_mbox_cmd() 121 nfp_warn(pf->cpp, "failed to issue command (%u): %u, err: %d\n", in nfp_mbox_cmd() 127 n = nfp_rtsym_write(pf->cpp, pf->mbox, NFP_MBOX_DATA, in_data, in nfp_mbox_cmd() 132 err = nfp_rtsym_writeq(pf->cpp, pf->mbox, NFP_MBOX_DATA_LEN, in_length); in nfp_mbox_cmd() 137 err = nfp_rtsym_readl(pf->cpp, pf->mbox, NFP_MBOX_DATA_LEN, &val); in nfp_mbox_cmd() 142 err = nfp_rtsym_writeq(pf->cpp, pf->mbox, NFP_MBOX_CMD, cmd); in nfp_mbox_cmd() 149 err = nfp_rtsym_readl(pf->cpp, pf->mbox, NFP_MBOX_CMD, &val); in nfp_mbox_cmd() [all …]
|
D | nfp_net_debugdump.c | 59 struct nfp_dump_common_cpp cpp; member 71 struct nfp_dump_common_cpp cpp; member 79 struct nfp_dump_common_cpp cpp; member 156 nfp_net_dump_load_dumpspec(struct nfp_cpp *cpp, struct nfp_rtsym_table *rtbl) in nfp_net_dump_load_dumpspec() argument 174 bytes_read = nfp_rtsym_read(cpp, specsym, 0, dumpspec->data, sym_size); in nfp_net_dump_load_dumpspec() 177 nfp_warn(cpp, "Debug dump specification read failed.\n"); in nfp_net_dump_load_dumpspec() 269 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); in nfp_add_tlv_size() 277 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length) * in nfp_add_tlv_size() 466 ALIGN8(be32_to_cpu(spec_csr->cpp.dump_length)); in nfp_dump_csr_range() 473 dump_header->cpp = spec_csr->cpp; in nfp_dump_csr_range() [all …]
|
D | devlink_param.c | 98 nsp = nfp_nsp_open(pf->cpp); in nfp_devlink_param_u8_get() 101 nfp_warn(pf->cpp, "can't access NSP: %d\n", err); in nfp_devlink_param_u8_get() 109 nfp_warn(pf->cpp, "HWinfo lookup failed: %d\n", err); in nfp_devlink_param_u8_get() 115 nfp_warn(pf->cpp, "HWinfo '%s' value %li invalid\n", in nfp_devlink_param_u8_get() 148 nsp = nfp_nsp_open(pf->cpp); in nfp_devlink_param_u8_set() 151 nfp_warn(pf->cpp, "can't access NSP: %d\n", err); in nfp_devlink_param_u8_set() 160 nfp_warn(pf->cpp, "HWinfo set failed: %d\n", err); in nfp_devlink_param_u8_set() 213 nsp = nfp_nsp_open(pf->cpp); in nfp_devlink_supports_params()
|
D | nfp_net_main.c | 252 nfp_warn(pf->cpp, "Unable to allocate MSI-X vectors\n"); in nfp_net_pf_alloc_irqs() 330 nfp_err(pf->cpp, "Failed to find ctrl vNIC memory symbol\n"); in nfp_net_pf_app_init() 459 nfp_err(pf->cpp, "Failed to find data vNIC memory symbol\n"); in nfp_net_pci_map_mem() 501 mem = nfp_cpp_map_area(pf->cpp, "net.qc", cpp_id, in nfp_net_pci_map_mem() 505 nfp_err(pf->cpp, "Failed to map Queue Controller area.\n"); in nfp_net_pci_map_mem() 527 nfp_net_eth_port_update(struct nfp_cpp *cpp, struct nfp_port *port, in nfp_net_eth_port_update() argument 537 nfp_warn(cpp, "Warning: port #%d not present after reconfig\n", in nfp_net_eth_port_update() 542 …nfp_warn(cpp, "Port #%d config changed, unregistering. Driver reload required before port will be … in nfp_net_eth_port_update() 570 eth_table = nfp_eth_read_ports(pf->cpp); in nfp_net_refresh_port_table_sync() 576 nfp_err(pf->cpp, "Error refreshing port config!\n"); in nfp_net_refresh_port_table_sync() [all …]
|
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/abm/ |
D | ctrl.c | 52 struct nfp_cpp *cpp = alink->abm->app->cpp; in nfp_abm_ctrl_stat() local 62 err = __nfp_rtsym_readq(cpp, sym, 3, 0, sym_offset, &val); in nfp_abm_ctrl_stat() 64 err = __nfp_rtsym_readl(cpp, sym, 3, 0, sym_offset, &val32); in nfp_abm_ctrl_stat() 66 nfp_err(cpp, "RED offload reading stat failed on vNIC %d band %d queue %d (+ %d)\n", in nfp_abm_ctrl_stat() 77 struct nfp_cpp *cpp = abm->app->cpp; in __nfp_abm_ctrl_set_q_lvl() local 86 err = __nfp_rtsym_writel(cpp, abm->q_lvls, 4, 0, sym_offset, val); in __nfp_abm_ctrl_set_q_lvl() 88 nfp_err(cpp, in __nfp_abm_ctrl_set_q_lvl() 111 struct nfp_cpp *cpp = abm->app->cpp; in __nfp_abm_ctrl_set_q_act() local 119 err = __nfp_rtsym_writel(cpp, abm->q_lvls, 4, 0, sym_offset, act); in __nfp_abm_ctrl_set_q_act() 121 nfp_err(cpp, in __nfp_abm_ctrl_set_q_act() [all …]
|
D | qdisc.c | 48 struct nfp_cpp *cpp = alink->abm->app->cpp; in nfp_abm_stats_update_red() local 59 nfp_err(cpp, "RED stats (%d, %d) read failed with error %d\n", in nfp_abm_stats_update_red() 65 nfp_err(cpp, "RED xstats (%d, %d) read failed with error %d\n", in nfp_abm_stats_update_red() 125 nfp_warn(alink->abm->app->cpp, "Offload of '%08x' stopped\n", in nfp_abm_qdisc_offload_stop() 153 nfp_err(alink->abm->app->cpp, in __nfp_abm_stats_init() 161 nfp_err(alink->abm->app->cpp, in __nfp_abm_stats_init() 365 nfp_err(alink->abm->app->cpp, in nfp_abm_qdisc_alloc() 519 struct nfp_cpp *cpp = alink->abm->app->cpp; in nfp_abm_gred_check_params() local 524 nfp_warn(cpp, "GRED offload failed - GRIO and WRED not supported (p:%08x h:%08x)\n", in nfp_abm_gred_check_params() 529 nfp_warn(cpp, "GRED offload failed - default band must be %d (p:%08x h:%08x)\n", in nfp_abm_gred_check_params() [all …]
|
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/bpf/ |
D | main.c | 70 nfp_err(pf->cpp, "No ETH table\n"); in nfp_bpf_vnic_alloc() 74 nfp_err(pf->cpp, "ETH entries don't match vNICs (%d vs %d)\n", in nfp_bpf_vnic_alloc() 210 struct nfp_cpp *cpp = bpf->app->pf->cpp; in nfp_bpf_parse_cap_adjust_head() local 213 nfp_err(cpp, "truncated adjust_head TLV: %d\n", length); in nfp_bpf_parse_cap_adjust_head() 224 nfp_err(cpp, "invalid adjust_head TLV: min > max\n"); in nfp_bpf_parse_cap_adjust_head() 229 nfp_warn(cpp, "disabling adjust_head - driver expects min/max to fit in as immediates\n"); in nfp_bpf_parse_cap_adjust_head() 243 nfp_err(bpf->app->cpp, "truncated function TLV: %d\n", length); in nfp_bpf_parse_cap_func() 271 nfp_err(bpf->app->cpp, "truncated maps TLV: %d\n", length); in nfp_bpf_parse_cap_maps() 321 nfp_err(bpf->app->cpp, "truncated ABI version TLV: %d\n", in nfp_bpf_parse_cap_abi_version() 328 nfp_warn(bpf->app->cpp, "unsupported BPF ABI version: %d\n", in nfp_bpf_parse_cap_abi_version() [all …]
|
/linux-5.19.10/drivers/gpu/drm/vc4/ |
D | vc4_validate.c | 57 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() 165 uint32_t width, uint32_t height, uint8_t cpp) in vc4_check_tex_size() argument [all …]
|
/linux-5.19.10/drivers/net/ethernet/netronome/nfp/flower/ |
D | main.c | 302 nfp_warn(app->cpp, "Not all reprs responded to reify\n"); in nfp_flower_wait_repr_reify() 350 nfp_warn(app->cpp, "Failed to notify firmware about repr destruction\n"); in nfp_flower_repr_netdev_preclean() 372 u8 nfp_pcie = nfp_cppcore_pcie_unit(app->pf->cpp); in nfp_flower_spawn_vnic_reprs() 445 nfp_info(app->cpp, "%s%d Representor(%s) created\n", in nfp_flower_spawn_vnic_reprs() 456 nfp_warn(app->cpp, "Failed to notify firmware about repr creation\n"); in nfp_flower_spawn_vnic_reprs() 563 nfp_info(app->cpp, "Phys Port %d Representor(%s) created\n", in nfp_flower_spawn_phy_reprs() 580 nfp_warn(app->cpp, "Failed to notify firmware about repr creation\n"); in nfp_flower_spawn_phy_reprs() 604 nfp_warn(app->cpp, "FlowerNIC doesn't support more than one data vNIC\n"); in nfp_flower_vnic_alloc() 681 nfp_warn(app->cpp, in nfp_flower_wait_host_bit() 689 nfp_warn(app->cpp, in nfp_flower_wait_host_bit() [all …]
|
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_display.c | 524 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, }, 526 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, }, 528 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 531 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 534 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 537 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, }, 539 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, }, 541 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 544 .cpp = { 4, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, 547 .cpp = { 2, 0, }, .block_w = {1, 1, 1}, .block_h = {1, 1, 1}, .hsub = 1, .vsub = 1, }, [all …]
|