Home
last modified time | relevance | path

Searched defs:res (Results 1 – 25 of 2689) sorted by relevance

12345678910>>...108

/Linux-v5.15/arch/mips/include/asm/
Dunaligned-emul.h8 #define _LoadHW(addr, value, res, type) \ argument
31 #define _LoadW(addr, value, res, type) \ argument
53 #define _LoadW(addr, value, res, type) \ argument
88 #define _LoadHWU(addr, value, res, type) \ argument
113 #define _LoadWU(addr, value, res, type) \ argument
135 #define _LoadDW(addr, value, res) \ argument
157 #define _LoadWU(addr, value, res, type) \ argument
190 #define _LoadDW(addr, value, res) \ argument
242 #define _StoreHW(addr, value, res, type) \ argument
266 #define _StoreW(addr, value, res, type) \ argument
[all …]
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Drx_res.c36 static int mlx5e_rx_res_rss_init_def(struct mlx5e_rx_res *res, in mlx5e_rx_res_rss_init_def()
67 int mlx5e_rx_res_rss_init(struct mlx5e_rx_res *res, u32 *rss_idx, unsigned int init_nch) in mlx5e_rx_res_rss_init()
102 static int __mlx5e_rx_res_rss_destroy(struct mlx5e_rx_res *res, u32 rss_idx) in __mlx5e_rx_res_rss_destroy()
117 int mlx5e_rx_res_rss_destroy(struct mlx5e_rx_res *res, u32 rss_idx) in mlx5e_rx_res_rss_destroy()
131 static void mlx5e_rx_res_rss_destroy_all(struct mlx5e_rx_res *res) in mlx5e_rx_res_rss_destroy_all()
154 static void mlx5e_rx_res_rss_enable(struct mlx5e_rx_res *res) in mlx5e_rx_res_rss_enable()
169 static void mlx5e_rx_res_rss_disable(struct mlx5e_rx_res *res) in mlx5e_rx_res_rss_disable()
185 void mlx5e_rx_res_rss_set_indir_uniform(struct mlx5e_rx_res *res, unsigned int nch) in mlx5e_rx_res_rss_set_indir_uniform()
191 int mlx5e_rx_res_rss_get_rxfh(struct mlx5e_rx_res *res, u32 rss_idx, in mlx5e_rx_res_rss_get_rxfh()
206 int mlx5e_rx_res_rss_set_rxfh(struct mlx5e_rx_res *res, u32 rss_idx, in mlx5e_rx_res_rss_set_rxfh()
[all …]
/Linux-v5.15/drivers/media/platform/omap3isp/
Dispresizer.c117 __resizer_get_format(struct isp_res_device *res, in __resizer_get_format()
134 __resizer_get_crop(struct isp_res_device *res, in __resizer_get_crop()
152 static void resizer_set_filters(struct isp_res_device *res, const u16 *h_coeff, in resizer_set_filters()
183 static void resizer_set_bilinear(struct isp_res_device *res, in resizer_set_bilinear()
201 static void resizer_set_ycpos(struct isp_res_device *res, u32 pixelcode) in resizer_set_ycpos()
227 static void resizer_set_phase(struct isp_res_device *res, u32 h_phase, in resizer_set_phase()
263 static void resizer_set_luma(struct isp_res_device *res, in resizer_set_luma()
289 static void resizer_set_source(struct isp_res_device *res, in resizer_set_source()
309 static void resizer_set_ratio(struct isp_res_device *res, in resizer_set_ratio()
353 static void resizer_set_output_size(struct isp_res_device *res, in resizer_set_output_size()
[all …]
/Linux-v5.15/include/linux/
Dkstrtox.h30 static inline int __must_check kstrtoul(const char *s, unsigned int base, unsigned long *res) in kstrtoul()
58 static inline int __must_check kstrtol(const char *s, unsigned int base, long *res) in kstrtol()
74 static inline int __must_check kstrtou64(const char *s, unsigned int base, u64 *res) in kstrtou64()
79 static inline int __must_check kstrtos64(const char *s, unsigned int base, s64 *res) in kstrtos64()
84 static inline int __must_check kstrtou32(const char *s, unsigned int base, u32 *res) in kstrtou32()
89 static inline int __must_check kstrtos32(const char *s, unsigned int base, s32 *res) in kstrtos32()
112 …t __must_check kstrtou64_from_user(const char __user *s, size_t count, unsigned int base, u64 *res) in kstrtou64_from_user()
117 …t __must_check kstrtos64_from_user(const char __user *s, size_t count, unsigned int base, s64 *res) in kstrtos64_from_user()
122 …t __must_check kstrtou32_from_user(const char __user *s, size_t count, unsigned int base, u32 *res) in kstrtou32_from_user()
127 …t __must_check kstrtos32_from_user(const char __user *s, size_t count, unsigned int base, s32 *res) in kstrtos32_from_user()
[all …]
/Linux-v5.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_resource.c40 void vmw_resource_mob_attach(struct vmw_resource *res) in vmw_resource_mob_attach()
68 void vmw_resource_mob_detach(struct vmw_resource *res) in vmw_resource_mob_detach()
80 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference()
87 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed()
99 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id()
113 struct vmw_resource *res = in vmw_resource_release() local
167 struct vmw_resource *res = *p_res; in vmw_resource_unreference() local
182 int vmw_resource_alloc_id(struct vmw_resource *res) in vmw_resource_alloc_id()
212 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res, in vmw_resource_init()
262 struct vmw_resource *res; in vmw_user_resource_lookup_handle() local
[all …]
Dvmwgfx_shader.c35 struct vmw_resource res; member
48 struct vmw_resource res; member
133 vmw_res_to_shader(struct vmw_resource *res) in vmw_res_to_shader()
145 vmw_res_to_dx_shader(struct vmw_resource *res) in vmw_res_to_dx_shader()
150 static void vmw_hw_shader_destroy(struct vmw_resource *res) in vmw_hw_shader_destroy()
159 static int vmw_gb_shader_init(struct vmw_private *dev_priv, in vmw_gb_shader_init()
160 struct vmw_resource *res, in vmw_gb_shader_init()
201 static int vmw_gb_shader_create(struct vmw_resource *res) in vmw_gb_shader_create()
247 static int vmw_gb_shader_bind(struct vmw_resource *res, in vmw_gb_shader_bind()
274 static int vmw_gb_shader_unbind(struct vmw_resource *res, in vmw_gb_shader_unbind()
[all …]
Dvmwgfx_cotable.c51 struct vmw_resource res; member
138 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) in vmw_cotable()
151 static int vmw_cotable_destroy(struct vmw_resource *res) in vmw_cotable_destroy()
166 static int vmw_cotable_unscrub(struct vmw_resource *res) in vmw_cotable_unscrub()
208 static int vmw_cotable_bind(struct vmw_resource *res, in vmw_cotable_bind()
241 int vmw_cotable_scrub(struct vmw_resource *res, bool readback) in vmw_cotable_scrub()
306 static int vmw_cotable_unbind(struct vmw_resource *res, in vmw_cotable_unbind()
341 static int vmw_cotable_readback(struct vmw_resource *res) in vmw_cotable_readback()
384 static int vmw_cotable_resize(struct vmw_resource *res, size_t new_size) in vmw_cotable_resize()
512 static int vmw_cotable_create(struct vmw_resource *res) in vmw_cotable_create()
[all …]
Dvmwgfx_streamoutput.c46 struct vmw_resource res; member
79 vmw_res_to_dx_streamoutput(struct vmw_resource *res) in vmw_res_to_dx_streamoutput()
90 static int vmw_dx_streamoutput_unscrub(struct vmw_resource *res) in vmw_dx_streamoutput_unscrub()
119 static int vmw_dx_streamoutput_create(struct vmw_resource *res) in vmw_dx_streamoutput_create()
138 static int vmw_dx_streamoutput_bind(struct vmw_resource *res, in vmw_dx_streamoutput_bind()
161 static int vmw_dx_streamoutput_scrub(struct vmw_resource *res) in vmw_dx_streamoutput_scrub()
193 static int vmw_dx_streamoutput_unbind(struct vmw_resource *res, bool readback, in vmw_dx_streamoutput_unbind()
219 static void vmw_dx_streamoutput_commit_notify(struct vmw_resource *res, in vmw_dx_streamoutput_commit_notify()
255 static void vmw_dx_streamoutput_res_free(struct vmw_resource *res) in vmw_dx_streamoutput_res_free()
265 static void vmw_dx_streamoutput_hw_destroy(struct vmw_resource *res) in vmw_dx_streamoutput_hw_destroy()
[all …]
Dvmwgfx_context.c36 struct vmw_resource res; member
122 struct vmw_resource *res; in vmw_context_cotables_unref() local
138 static void vmw_hw_context_destroy(struct vmw_resource *res) in vmw_hw_context_destroy()
180 struct vmw_resource *res, in vmw_gb_context_init()
181 void (*res_free)(struct vmw_resource *res)) in vmw_gb_context_init()
240 struct vmw_resource *res, in vmw_context_init()
241 void (*res_free)(struct vmw_resource *res), in vmw_context_init()
296 static int vmw_gb_context_create(struct vmw_resource *res) in vmw_gb_context_create()
339 static int vmw_gb_context_bind(struct vmw_resource *res, in vmw_gb_context_bind()
366 static int vmw_gb_context_unbind(struct vmw_resource *res, in vmw_gb_context_unbind()
[all …]
/Linux-v5.15/drivers/infiniband/hw/bnxt_re/
Dqplib_res.c63 static void __free_pbl(struct bnxt_qplib_res *res, struct bnxt_qplib_pbl *pbl, in __free_pbl()
105 static int __alloc_pbl(struct bnxt_qplib_res *res, in __alloc_pbl()
156 void bnxt_qplib_free_hwq(struct bnxt_qplib_res *res, in bnxt_qplib_free_hwq()
190 struct bnxt_qplib_res *res; in bnxt_qplib_alloc_init_hwq() local
371 void bnxt_qplib_free_ctx(struct bnxt_qplib_res *res, in bnxt_qplib_free_ctx()
389 static int bnxt_qplib_alloc_tqm_rings(struct bnxt_qplib_res *res, in bnxt_qplib_alloc_tqm_rings()
470 static int bnxt_qplib_setup_tqm_rings(struct bnxt_qplib_res *res, in bnxt_qplib_setup_tqm_rings()
505 int bnxt_qplib_alloc_ctx(struct bnxt_qplib_res *res, in bnxt_qplib_alloc_ctx()
591 static void bnxt_qplib_free_sgid_tbl(struct bnxt_qplib_res *res, in bnxt_qplib_free_sgid_tbl()
606 static int bnxt_qplib_alloc_sgid_tbl(struct bnxt_qplib_res *res, in bnxt_qplib_alloc_sgid_tbl()
[all …]
Dqplib_sp.c182 int bnxt_qplib_set_func_resources(struct bnxt_qplib_res *res, in bnxt_qplib_set_func_resources()
214 int bnxt_qplib_get_sgid(struct bnxt_qplib_res *res, in bnxt_qplib_get_sgid()
231 struct bnxt_qplib_res *res = to_bnxt_qplib(sgid_tbl, in bnxt_qplib_del_sgid() local
292 struct bnxt_qplib_res *res = to_bnxt_qplib(sgid_tbl, in bnxt_qplib_add_sgid() local
383 struct bnxt_qplib_res *res = to_bnxt_qplib(sgid_tbl, in bnxt_qplib_update_sgid() local
417 int bnxt_qplib_get_pkey(struct bnxt_qplib_res *res, in bnxt_qplib_get_pkey()
435 int bnxt_qplib_del_pkey(struct bnxt_qplib_res *res, in bnxt_qplib_del_pkey()
467 int bnxt_qplib_add_pkey(struct bnxt_qplib_res *res, in bnxt_qplib_add_pkey()
504 int bnxt_qplib_create_ah(struct bnxt_qplib_res *res, struct bnxt_qplib_ah *ah, in bnxt_qplib_create_ah()
547 void bnxt_qplib_destroy_ah(struct bnxt_qplib_res *res, struct bnxt_qplib_ah *ah, in bnxt_qplib_destroy_ah()
[all …]
/Linux-v5.15/fs/ocfs2/dlm/
Ddlmthread.c42 void __dlm_wait_on_lockres_flags(struct dlm_lock_resource *res, int flags) in __dlm_wait_on_lockres_flags()
61 int __dlm_lockres_has_locks(struct dlm_lock_resource *res) in __dlm_lockres_has_locks()
74 int __dlm_lockres_unused(struct dlm_lock_resource *res) in __dlm_lockres_unused()
107 struct dlm_lock_resource *res) in __dlm_lockres_calc_usage()
133 struct dlm_lock_resource *res) in dlm_lockres_calc_usage()
151 struct dlm_lock_resource *res) in __dlm_do_purge_lockres()
191 struct dlm_lock_resource *res) in dlm_purge_lockres()
341 struct dlm_lock_resource *res) in dlm_shuffle_lists()
497 void dlm_kick_thread(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in dlm_kick_thread()
509 void __dlm_dirty_lockres(struct dlm_ctxt *dlm, struct dlm_lock_resource *res) in __dlm_dirty_lockres()
[all …]
Ddlmmaster.c251 struct dlm_lock_resource *res, in dlm_init_mle()
466 struct dlm_lock_resource *res; in dlm_lockres_release() local
518 void dlm_lockres_put(struct dlm_lock_resource *res) in dlm_lockres_put()
524 struct dlm_lock_resource *res, in dlm_init_lockres()
582 struct dlm_lock_resource *res = NULL; in dlm_new_lockres() local
602 struct dlm_lock_resource *res, int bit) in dlm_lockres_set_refmap_bit()
613 struct dlm_lock_resource *res, int bit) in dlm_lockres_clear_refmap_bit()
624 struct dlm_lock_resource *res) in __dlm_lockres_grab_inflight_ref()
634 struct dlm_lock_resource *res) in dlm_lockres_grab_inflight_ref()
641 struct dlm_lock_resource *res) in dlm_lockres_drop_inflight_ref()
[all …]
Ddlmunlock.c82 struct dlm_lock_resource *res, in dlmunlock_common()
265 void dlm_commit_pending_unlock(struct dlm_lock_resource *res, in dlm_commit_pending_unlock()
273 void dlm_commit_pending_cancel(struct dlm_lock_resource *res, in dlm_commit_pending_cancel()
282 struct dlm_lock_resource *res, in dlmunlock_master()
292 struct dlm_lock_resource *res, in dlmunlock_remote()
308 struct dlm_lock_resource *res, in dlm_send_remote_unlock_request()
394 struct dlm_lock_resource *res = NULL; in dlm_unlock_lock_handler() local
527 struct dlm_lock_resource *res, in dlm_get_cancel_actions()
559 struct dlm_lock_resource *res, in dlm_get_unlock_actions()
589 struct dlm_lock_resource *res; in dlmunlock() local
Ddlmast.c76 struct dlm_lock_resource *res; in __dlm_queue_ast() local
142 struct dlm_lock_resource *res; in __dlm_queue_bast() local
166 static void dlm_update_lvb(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_update_lvb()
196 void dlm_do_local_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_local_ast()
214 int dlm_do_remote_ast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_remote_ast()
238 void dlm_do_local_bast(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_do_local_bast()
262 struct dlm_lock_resource *res = NULL; in dlm_proxy_ast_handler() local
421 int dlm_send_proxy_ast_msg(struct dlm_ctxt *dlm, struct dlm_lock_resource *res, in dlm_send_proxy_ast_msg()
/Linux-v5.15/lib/
Dkstrtox.c53 unsigned long long res; in _parse_integer_limit() local
93 static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res) in _kstrtoull()
128 int kstrtoull(const char *s, unsigned int base, unsigned long long *res) in kstrtoull()
151 int kstrtoll(const char *s, unsigned int base, long long *res) in kstrtoll()
176 int _kstrtoul(const char *s, unsigned int base, unsigned long *res) in _kstrtoul()
192 int _kstrtol(const char *s, unsigned int base, long *res) in _kstrtol()
222 int kstrtouint(const char *s, unsigned int base, unsigned int *res) in kstrtouint()
252 int kstrtoint(const char *s, unsigned int base, int *res) in kstrtoint()
267 int kstrtou16(const char *s, unsigned int base, u16 *res) in kstrtou16()
282 int kstrtos16(const char *s, unsigned int base, s16 *res) in kstrtos16()
[all …]
/Linux-v5.15/net/mac802154/
Dmib.c25 int res; in mac802154_dev_set_page_channel() local
44 int res; in mac802154_get_params() local
60 int res; in mac802154_set_params() local
76 int res; in mac802154_add_key() local
91 int res; in mac802154_del_key() local
106 int res; in mac802154_add_dev() local
120 int res; in mac802154_del_dev() local
136 int res; in mac802154_add_devkey() local
152 int res; in mac802154_del_devkey() local
167 int res; in mac802154_add_seclevel() local
[all …]
/Linux-v5.15/drivers/infiniband/core/
Drestrack.c127 static struct ib_device *res_to_dev(struct rdma_restrack_entry *res) in res_to_dev()
159 static void rdma_restrack_attach_task(struct rdma_restrack_entry *res, in rdma_restrack_attach_task()
177 void rdma_restrack_set_name(struct rdma_restrack_entry *res, const char *caller) in rdma_restrack_set_name()
210 void rdma_restrack_new(struct rdma_restrack_entry *res, in rdma_restrack_new()
223 void rdma_restrack_add(struct rdma_restrack_entry *res) in rdma_restrack_add()
269 int __must_check rdma_restrack_get(struct rdma_restrack_entry *res) in rdma_restrack_get()
288 struct rdma_restrack_entry *res; in rdma_restrack_get_byid() local
302 struct rdma_restrack_entry *res; in restrack_release() local
312 int rdma_restrack_put(struct rdma_restrack_entry *res) in rdma_restrack_put()
322 void rdma_restrack_del(struct rdma_restrack_entry *res) in rdma_restrack_del()
/Linux-v5.15/drivers/acpi/
Dresource.c22 static inline bool acpi_iospace_resource_valid(struct resource *res) in acpi_iospace_resource_valid()
35 acpi_iospace_resource_valid(struct resource *res) { return true; } in acpi_iospace_resource_valid()
71 static void acpi_dev_memresource_flags(struct resource *res, u64 len, in acpi_dev_memresource_flags()
83 static void acpi_dev_get_memresource(struct resource *res, u64 start, u64 len, in acpi_dev_get_memresource()
105 bool acpi_dev_resource_memory(struct acpi_resource *ares, struct resource *res) in acpi_dev_resource_memory()
139 static void acpi_dev_ioresource_flags(struct resource *res, u64 len, in acpi_dev_ioresource_flags()
156 static void acpi_dev_get_ioresource(struct resource *res, u64 start, u64 len, in acpi_dev_get_ioresource()
178 bool acpi_dev_resource_io(struct acpi_resource *ares, struct resource *res) in acpi_dev_resource_io()
213 struct resource *res = &win->res; in acpi_decode_space() local
383 static void acpi_dev_get_irqresource(struct resource *res, u32 gsi, in acpi_dev_get_irqresource()
[all …]
/Linux-v5.15/drivers/ssb/
Dembedded.c72 u32 res = 0; in ssb_gpio_in() local
90 u32 res = 0; in ssb_gpio_out() local
108 u32 res = 0; in ssb_gpio_outen() local
126 u32 res = 0; in ssb_gpio_control() local
140 u32 res = 0; in ssb_gpio_intmask() local
158 u32 res = 0; in ssb_gpio_polarity() local
179 int res; in gige_pci_init_callback() local
221 int res; in gige_map_irq_callback() local
242 int res; in ssb_pcibios_map_irq() local
/Linux-v5.15/drivers/staging/r8188eu/core/
Drtw_cmd.c20 int res = _SUCCESS; in _rtw_init_cmd_priv() local
63 int res = _SUCCESS; in _rtw_init_evt_priv() local
145 u32 res; in rtw_init_cmd_priv() local
154 int res; in rtw_init_evt_priv() local
191 int res = _FAIL; in rtw_enqueue_cmd() local
393 u8 res = _FAIL; in rtw_sitesurvey_cmd() local
470 u8 res = _SUCCESS; in rtw_setdatarate_cmd() local
499 u8 res = _SUCCESS; in rtw_setbasicrate_cmd() local
536 u8 res = _SUCCESS; in rtw_setphy_cmd() local
567 u8 res = _SUCCESS; in rtw_setbbreg_cmd() local
[all …]
/Linux-v5.15/drivers/scsi/libsas/
Dsas_expander.c57 int res, retry; in smp_execute_task_sg() local
373 int res; in sas_ex_phy_discover_helper() local
393 int res = 0; in sas_ex_phy_discover() local
430 int res; in sas_expander_discover() local
470 int res; in sas_ex_general() local
542 int res; in sas_ex_manuf_info() local
583 int res; in sas_smp_phy_control() local
661 int res; in sas_smp_get_phy_events() local
706 int res; in sas_get_report_phy_sata() local
785 int res; in sas_ex_discover_end_dev() local
[all …]
/Linux-v5.15/arch/x86/platform/olpc/
Dolpc_dt.c25 void *res[] = { &node }; in olpc_dt_getsibling() local
39 void *res[] = { &node }; in olpc_dt_getchild() local
56 void *res[] = { &len }; in olpc_dt_getproplen() local
79 void *res[] = { &plen }; in olpc_dt_getproperty() local
94 void *res[] = { &success }; in olpc_dt_nextprop() local
111 void *res[] = { len }; in olpc_dt_pkg2path() local
128 void *res; in prom_early_alloc() local
170 void *res[] = { &node }; in olpc_dt_finddevice() local
187 void *res[] = { &result }; in olpc_dt_interpret() local
/Linux-v5.15/drivers/pci/
Dsetup-res.c32 struct resource *res = dev->resource + resno; in pci_std_update_resource() local
133 struct resource *res = &dev->resource[resource]; in pci_claim_resource() local
195 static int pci_revert_fw_address(struct resource *res, struct pci_dev *dev, in pci_revert_fw_address()
239 const struct resource *res, in pcibios_align_resource()
249 struct resource *res = dev->resource + resno; in __pci_assign_resource() local
312 struct resource *res = dev->resource + resno; in pci_assign_resource() local
358 struct resource *res = dev->resource + resno; in pci_reassign_resource() local
396 struct resource *res = dev->resource + resno; in pci_release_resource() local
412 struct resource *res = dev->resource + resno; in pci_resize_resource() local
/Linux-v5.15/drivers/net/ethernet/netronome/nfp/nfpcore/
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()
155 struct nfp_resource *res; in nfp_resource_acquire() local
213 void nfp_resource_release(struct nfp_resource *res) in nfp_resource_release()
235 struct nfp_resource *res; in nfp_resource_wait() local
271 u32 nfp_resource_cpp_id(struct nfp_resource *res) in nfp_resource_cpp_id()
282 const char *nfp_resource_name(struct nfp_resource *res) in nfp_resource_name()
293 u64 nfp_resource_address(struct nfp_resource *res) in nfp_resource_address()
304 u64 nfp_resource_size(struct nfp_resource *res) in nfp_resource_size()

12345678910>>...108