Home
last modified time | relevance | path

Searched defs:cpp (Results 1 – 25 of 145) sorted by relevance

123456

/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_rtsym.c41 struct nfp_cpp *cpp; member
82 struct nfp_rtsym_table *nfp_rtsym_table_read(struct nfp_cpp *cpp) in nfp_rtsym_table_read()
95 __nfp_rtsym_table_read(struct nfp_cpp *cpp, const struct nfp_mip *mip) in __nfp_rtsym_table_read()
226 nfp_rtsym_to_dest(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, in nfp_rtsym_to_dest()
257 int __nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, in __nfp_rtsym_read()
288 int nfp_rtsym_read(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_read()
294 int __nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, in __nfp_rtsym_readl()
314 int nfp_rtsym_readl(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_readl()
320 int __nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, in __nfp_rtsym_readq()
345 int nfp_rtsym_readq(struct nfp_cpp *cpp, const struct nfp_rtsym *sym, u64 off, in nfp_rtsym_readq()
[all …]
Dnfp_cppcore.c90 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
161 void nfp_cpp_free(struct nfp_cpp *cpp) in nfp_cpp_free()
212 u32 nfp_cpp_model(struct nfp_cpp *cpp) in nfp_cpp_model()
223 u16 nfp_cpp_interface(struct nfp_cpp *cpp) in nfp_cpp_interface()
235 int nfp_cpp_serial(struct nfp_cpp *cpp, const u8 **serial) in nfp_cpp_serial()
246 static int nfp_cpp_set_mu_locality_lsb(struct nfp_cpp *cpp) in nfp_cpp_set_mu_locality_lsb()
264 unsigned int nfp_cpp_mu_locality_lsb(struct nfp_cpp *cpp) in nfp_cpp_mu_locality_lsb()
285 nfp_cpp_area_alloc_with_name(struct nfp_cpp *cpp, u32 dest, const char *name, in nfp_cpp_area_alloc_with_name()
[all …]
Dnfp_cpplib.c40 int nfp_cpp_readl(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readl()
63 int nfp_cpp_writel(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writel()
84 int nfp_cpp_readq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readq()
107 int nfp_cpp_writeq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writeq()
122 int nfp_cpp_model_autodetect(struct nfp_cpp *cpp, u32 *model) in nfp_cpp_model_autodetect()
153 int nfp_cpp_explicit_read(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_explicit_read()
206 int nfp_cpp_explicit_write(struct nfp_cpp *cpp, u32 cpp_id, u64 addr, in nfp_cpp_explicit_write()
274 nfp_cpp_map_area(struct nfp_cpp *cpp, const char *name, u32 cpp_id, u64 addr, in nfp_cpp_map_area()
Dnfp_mutex.c15 struct nfp_cpp *cpp; member
86 int nfp_cpp_mutex_init(struct nfp_cpp *cpp, 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()
221 struct nfp_cpp *cpp = mutex->cpp; in nfp_cpp_mutex_unlock() local
267 struct nfp_cpp *cpp = mutex->cpp; in nfp_cpp_mutex_trylock() local
341 int nfp_cpp_mutex_reclaim(struct nfp_cpp *cpp, int target, in nfp_cpp_mutex_reclaim()
Dnfp_hwinfo.c106 hwinfo_db_walk(struct nfp_cpp *cpp, struct nfp_hwinfo *hwinfo, u32 size) in hwinfo_db_walk()
129 hwinfo_db_validate(struct nfp_cpp *cpp, struct nfp_hwinfo *db, u32 len) in hwinfo_db_validate()
152 hwinfo_try_fetch(struct nfp_cpp *cpp, size_t *cpp_size) in hwinfo_try_fetch()
208 static struct nfp_hwinfo *hwinfo_fetch(struct nfp_cpp *cpp, size_t *hwdb_size) in hwinfo_fetch()
229 struct nfp_hwinfo *nfp_hwinfo_read(struct nfp_cpp *cpp) in nfp_hwinfo_read()
Dnfp_nsp_eth.c176 nfp_eth_calc_port_geometry(struct nfp_cpp *cpp, struct nfp_eth_table *table) 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()
229 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp) in nfp_eth_read_ports()
245 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp) in __nfp_eth_read_ports()
298 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx) in nfp_eth_config_start()
388 int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable) in nfp_eth_set_mod_enable()
427 int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx, bool configed) in nfp_eth_set_configured()
548 nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode) in nfp_eth_set_fec()
Dnfp_resource.c69 static int nfp_cpp_resource_find(struct nfp_cpp *cpp, struct nfp_resource *res) in nfp_cpp_resource_find()
112 nfp_resource_try_acquire(struct nfp_cpp *cpp, struct nfp_resource *res, in nfp_resource_try_acquire()
150 nfp_resource_acquire(struct nfp_cpp *cpp, const char *name) in nfp_resource_acquire()
231 int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs) in nfp_resource_wait()
318 int nfp_resource_table_init(struct nfp_cpp *cpp) in nfp_resource_table_init()
Dnfp_cpp.h21 #define nfp_err(cpp, fmt, args...) \ argument
23 #define nfp_warn(cpp, fmt, args...) \ argument
25 #define nfp_info(cpp, fmt, args...) \ argument
27 #define nfp_dbg(cpp, fmt, args...) \ argument
29 #define nfp_printk(level, cpp, fmt, args...) \ argument
290 static inline u8 nfp_cppcore_pcie_unit(struct nfp_cpp *cpp) in nfp_cppcore_pcie_unit()
Dnfp_mip.c43 nfp_mip_try_read(struct nfp_cpp *cpp, u32 cpp_id, u64 addr, struct nfp_mip *mip) 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()
99 const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp) in nfp_mip_open()
Dnfp_nsp.c127 struct nfp_cpp *cpp; member
229 struct nfp_cpp *cpp = state->cpp; in nfp_nsp_check() local
272 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp) in nfp_nsp_open()
320 nfp_nsp_wait_reg(struct nfp_cpp *cpp, u64 *reg, u32 nsp_cpp, u64 addr, in nfp_nsp_wait_reg()
362 struct nfp_cpp *cpp = state->cpp; in __nfp_nsp_command() local
440 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_def() local
498 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_dma_sg() local
627 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf_dma() local
660 struct nfp_cpp *cpp = nsp->cpp; in nfp_nsp_command_buf() local
/kernel/linux/linux-4.19/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_cpplib.c69 int nfp_cpp_readl(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readl()
92 int nfp_cpp_writel(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writel()
113 int nfp_cpp_readq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_readq()
136 int nfp_cpp_writeq(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_writeq()
151 int nfp_cpp_model_autodetect(struct nfp_cpp *cpp, u32 *model) in nfp_cpp_model_autodetect()
187 int nfp_cpp_explicit_read(struct nfp_cpp *cpp, u32 cpp_id, in nfp_cpp_explicit_read()
240 int nfp_cpp_explicit_write(struct nfp_cpp *cpp, u32 cpp_id, u64 addr, in nfp_cpp_explicit_write()
309 nfp_cpp_map_area(struct nfp_cpp *cpp, const char *name, int domain, int target, in nfp_cpp_map_area()
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
189 void nfp_cpp_free(struct nfp_cpp *cpp) in nfp_cpp_free()
240 u32 nfp_cpp_model(struct nfp_cpp *cpp) in nfp_cpp_model()
251 u16 nfp_cpp_interface(struct nfp_cpp *cpp) in nfp_cpp_interface()
263 int nfp_cpp_serial(struct nfp_cpp *cpp, const u8 **serial) in nfp_cpp_serial()
285 nfp_cpp_area_alloc_with_name(struct nfp_cpp *cpp, u32 dest, const char *name, in nfp_cpp_area_alloc_with_name()
357 nfp_cpp_area_alloc(struct nfp_cpp *cpp, u32 dest, in nfp_cpp_area_alloc()
380 nfp_cpp_area_alloc_acquire(struct nfp_cpp *cpp, const char *name, u32 dest, in nfp_cpp_area_alloc_acquire()
[all …]
Dnfp_mutex.c45 struct nfp_cpp *cpp; member
116 int nfp_cpp_mutex_init(struct nfp_cpp *cpp, 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()
251 struct nfp_cpp *cpp = mutex->cpp; in nfp_cpp_mutex_unlock() local
297 struct nfp_cpp *cpp = mutex->cpp; in nfp_cpp_mutex_trylock() local
371 int nfp_cpp_mutex_reclaim(struct nfp_cpp *cpp, int target, in nfp_cpp_mutex_reclaim()
Dnfp_hwinfo.c136 hwinfo_db_walk(struct nfp_cpp *cpp, struct nfp_hwinfo *hwinfo, u32 size) in hwinfo_db_walk()
159 hwinfo_db_validate(struct nfp_cpp *cpp, struct nfp_hwinfo *db, u32 len) in hwinfo_db_validate()
182 hwinfo_try_fetch(struct nfp_cpp *cpp, size_t *cpp_size) in hwinfo_try_fetch()
238 static struct nfp_hwinfo *hwinfo_fetch(struct nfp_cpp *cpp, size_t *hwdb_size) in hwinfo_fetch()
259 struct nfp_hwinfo *nfp_hwinfo_read(struct nfp_cpp *cpp) in nfp_hwinfo_read()
Dnfp_nsp_eth.c206 nfp_eth_calc_port_geometry(struct nfp_cpp *cpp, struct nfp_eth_table *table) 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()
256 struct nfp_eth_table *nfp_eth_read_ports(struct nfp_cpp *cpp) in nfp_eth_read_ports()
272 __nfp_eth_read_ports(struct nfp_cpp *cpp, struct nfp_nsp *nsp) in __nfp_eth_read_ports()
326 struct nfp_nsp *nfp_eth_config_start(struct nfp_cpp *cpp, unsigned int idx) in nfp_eth_config_start()
416 int nfp_eth_set_mod_enable(struct nfp_cpp *cpp, unsigned int idx, bool enable) in nfp_eth_set_mod_enable()
455 int nfp_eth_set_configured(struct nfp_cpp *cpp, unsigned int idx, bool configed) in nfp_eth_set_configured()
576 nfp_eth_set_fec(struct nfp_cpp *cpp, unsigned int idx, enum nfp_eth_fec mode) in nfp_eth_set_fec()
Dnfp_resource.c99 static int nfp_cpp_resource_find(struct nfp_cpp *cpp, struct nfp_resource *res) in nfp_cpp_resource_find()
142 nfp_resource_try_acquire(struct nfp_cpp *cpp, struct nfp_resource *res, in nfp_resource_try_acquire()
180 nfp_resource_acquire(struct nfp_cpp *cpp, const char *name) in nfp_resource_acquire()
261 int nfp_resource_wait(struct nfp_cpp *cpp, const char *name, unsigned int secs) in nfp_resource_wait()
348 int nfp_resource_table_init(struct nfp_cpp *cpp) in nfp_resource_table_init()
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()
98 static int nfp_mip_read_resource(struct nfp_cpp *cpp, struct nfp_mip *mip) in nfp_mip_read_resource()
129 const struct nfp_mip *nfp_mip_open(struct nfp_cpp *cpp) in nfp_mip_open()
Dnfp_cpp.h51 #define nfp_err(cpp, fmt, args...) \ argument
53 #define nfp_warn(cpp, fmt, args...) \ argument
55 #define nfp_info(cpp, fmt, args...) \ argument
57 #define nfp_dbg(cpp, fmt, args...) \ argument
312 static inline u8 nfp_cppcore_pcie_unit(struct nfp_cpp *cpp) in nfp_cppcore_pcie_unit()
Dnfp_nsp.c117 struct nfp_cpp *cpp; member
182 struct nfp_cpp *cpp = state->cpp; in nfp_nsp_check() local
220 struct nfp_nsp *nfp_nsp_open(struct nfp_cpp *cpp) in nfp_nsp_open()
268 nfp_nsp_wait_reg(struct nfp_cpp *cpp, u64 *reg, u32 nsp_cpp, u64 addr, in nfp_nsp_wait_reg()
315 struct nfp_cpp *cpp = state->cpp; in __nfp_nsp_command() local
396 struct nfp_cpp *cpp = nsp->cpp; in __nfp_nsp_command_buf() local
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()
212 struct nfp_nffw_info *nfp_nffw_info_open(struct nfp_cpp *cpp) in nfp_nffw_info_open()
/kernel/linux/linux-5.10/drivers/net/slip/
Dslhc.c195 pull16(unsigned char **cpp) in pull16()
207 decode(unsigned char **cpp) in decode()
228 unsigned char *ocp, unsigned char **cpp, int compress_cid) in slhc_compress()
720 unsigned char *ocp, unsigned char **cpp, int compress_cid) in slhc_compress()
/kernel/linux/linux-4.19/drivers/net/slip/
Dslhc.c195 pull16(unsigned char **cpp) in pull16()
207 decode(unsigned char **cpp) in decode()
228 unsigned char *ocp, unsigned char **cpp, int compress_cid) in slhc_compress()
720 unsigned char *ocp, unsigned char **cpp, int compress_cid) in slhc_compress()
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_format_helper.c21 unsigned int pitch, unsigned int cpp) in clip_offset()
39 unsigned int cpp = fb->format->cpp[0]; in drm_fb_memcpy() local
66 unsigned int cpp = fb->format->cpp[0]; in drm_fb_memcpy_dstclip() local
98 u8 cpp = fb->format->cpp[0]; in drm_fb_swab() local
/kernel/linux/linux-4.19/drivers/gpu/drm/vc4/
Dvc4_validate.c57 utile_width(int cpp) in utile_width()
75 utile_height(int cpp) in utile_height()
99 size_is_lt(uint32_t width, uint32_t height, int cpp) in size_is_lt()
161 uint32_t width, uint32_t height, uint8_t cpp) in vc4_check_tex_size()
578 uint32_t cpp, tiling_format, utile_w, utile_h; in reloc_tex() local
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_validate.c57 utile_width(int cpp) in utile_width()
75 utile_height(int cpp) in utile_height()
99 size_is_lt(uint32_t width, uint32_t height, int cpp) in size_is_lt()
161 uint32_t width, uint32_t height, uint8_t cpp) in vc4_check_tex_size()
578 uint32_t cpp, tiling_format, utile_w, utile_h; in reloc_tex() local

123456