/linux/arch/mips/include/asm/ |
H A D | unaligned-emul.h | 8 #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/drivers/media/platform/ti/omap3isp/ |
H A D | ispresizer.c | 117 __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() 151 static void resizer_set_filters(struct isp_res_device *res, const u16 *h_coeff, in resizer_set_filters() 182 static void resizer_set_bilinear(struct isp_res_device *res, in resizer_set_bilinear() 200 static void resizer_set_ycpos(struct isp_res_device *res, u32 pixelcode) in resizer_set_ycpos() 226 static void resizer_set_phase(struct isp_res_device *res, u32 h_phase, in resizer_set_phase() 262 static void resizer_set_luma(struct isp_res_device *res, in resizer_set_luma() 288 static void resizer_set_source(struct isp_res_device *res, in resizer_set_source() 308 static void resizer_set_ratio(struct isp_res_device *res, in resizer_set_ratio() 352 static void resizer_set_output_size(struct isp_res_device *res, in resizer_set_output_size() [all …]
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/ |
H A D | rx_res.c | 38 static u32 *get_vhca_ids(struct mlx5e_rx_res *res, int offset) in get_vhca_ids() 45 void mlx5e_rx_res_rss_update_num_channels(struct mlx5e_rx_res *res, u32 nch) in mlx5e_rx_res_rss_update_num_channels() 55 static int mlx5e_rx_res_rss_init_def(struct mlx5e_rx_res *res, in mlx5e_rx_res_rss_init_def() 76 int mlx5e_rx_res_rss_init(struct mlx5e_rx_res *res, u32 *rss_idx, unsigned int init_nch) in mlx5e_rx_res_rss_init() 108 static int __mlx5e_rx_res_rss_destroy(struct mlx5e_rx_res *res, u32 rss_idx) in __mlx5e_rx_res_rss_destroy() 122 int mlx5e_rx_res_rss_destroy(struct mlx5e_rx_res *res, u32 rss_idx) in mlx5e_rx_res_rss_destroy() 136 static void mlx5e_rx_res_rss_destroy_all(struct mlx5e_rx_res *res) in mlx5e_rx_res_rss_destroy_all() 159 static void mlx5e_rx_res_rss_enable(struct mlx5e_rx_res *res) in mlx5e_rx_res_rss_enable() 176 static void mlx5e_rx_res_rss_disable(struct mlx5e_rx_res *res) in mlx5e_rx_res_rss_disable() 192 void mlx5e_rx_res_rss_set_indir_uniform(struct mlx5e_rx_res *res, unsigned int nch) in mlx5e_rx_res_rss_set_indir_uniform() [all …]
|
/linux/arch/arm64/kvm/hyp/nvhe/ |
H A D | ffa.c | 74 static void ffa_to_smccc_error(struct arm_smccc_res *res, u64 ffa_errno) in ffa_to_smccc_error() 82 static void ffa_to_smccc_res_prop(struct arm_smccc_res *res, int ret, u64 prop) in ffa_to_smccc_res_prop() 92 static void ffa_to_smccc_res(struct arm_smccc_res *res, int ret) in ffa_to_smccc_res() 98 struct arm_smccc_res *res) in ffa_set_retval() 116 struct arm_smccc_res res; in ffa_map_hyp_buffers() local 130 struct arm_smccc_res res; in ffa_unmap_hyp_buffers() local 140 static void ffa_mem_frag_tx(struct arm_smccc_res *res, u32 handle_lo, in ffa_mem_frag_tx() 149 static void ffa_mem_frag_rx(struct arm_smccc_res *res, u32 handle_lo, in ffa_mem_frag_rx() 158 static void ffa_mem_xfer(struct arm_smccc_res *res, u64 func_id, u32 len, in ffa_mem_xfer() 166 static void ffa_mem_reclaim(struct arm_smccc_res *res, u32 handle_lo, in ffa_mem_reclaim() [all …]
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_resource.c | 42 void vmw_resource_mob_attach(struct vmw_resource *res) in vmw_resource_mob_attach() 71 void vmw_resource_mob_detach(struct vmw_resource *res) in vmw_resource_mob_detach() 83 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference() 90 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed() 102 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id() 116 struct vmw_resource *res = in vmw_resource_release() local 170 struct vmw_resource *res = *p_res; in vmw_resource_unreference() local 185 int vmw_resource_alloc_id(struct vmw_resource *res) in vmw_resource_alloc_id() 215 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res, in vmw_resource_init() 265 struct vmw_resource *res; in vmw_user_resource_lookup_handle() local [all …]
|
H A D | vmwgfx_shader.c | 36 struct vmw_resource res; member 49 struct vmw_resource res; member 131 vmw_res_to_shader(struct vmw_resource *res) in vmw_res_to_shader() 143 vmw_res_to_dx_shader(struct vmw_resource *res) in vmw_res_to_dx_shader() 148 static void vmw_hw_shader_destroy(struct vmw_resource *res) in vmw_hw_shader_destroy() 157 static int vmw_gb_shader_init(struct vmw_private *dev_priv, in vmw_gb_shader_init() 158 struct vmw_resource *res, in vmw_gb_shader_init() 199 static int vmw_gb_shader_create(struct vmw_resource *res) in vmw_gb_shader_create() 245 static int vmw_gb_shader_bind(struct vmw_resource *res, in vmw_gb_shader_bind() 272 static int vmw_gb_shader_unbind(struct vmw_resource *res, in vmw_gb_shader_unbind() [all …]
|
H A D | vmwgfx_streamoutput.c | 47 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() 263 static void vmw_dx_streamoutput_hw_destroy(struct vmw_resource *res) in vmw_dx_streamoutput_hw_destroy() [all …]
|
H A D | vmwgfx_cotable.c | 53 struct vmw_resource res; member 153 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) in vmw_cotable() 166 static int vmw_cotable_destroy(struct vmw_resource *res) in vmw_cotable_destroy() 181 static int vmw_cotable_unscrub(struct vmw_resource *res) in vmw_cotable_unscrub() 223 static int vmw_cotable_bind(struct vmw_resource *res, in vmw_cotable_bind() 256 int vmw_cotable_scrub(struct vmw_resource *res, bool readback) in vmw_cotable_scrub() 321 static int vmw_cotable_unbind(struct vmw_resource *res, in vmw_cotable_unbind() 356 static int vmw_cotable_readback(struct vmw_resource *res) in vmw_cotable_readback() 399 static int vmw_cotable_resize(struct vmw_resource *res, size_t new_size) in vmw_cotable_resize() 544 static int vmw_cotable_create(struct vmw_resource *res) in vmw_cotable_create() [all …]
|
H A D | vmwgfx_context.c | 37 struct vmw_resource res; member 124 struct vmw_resource *res; in vmw_context_cotables_unref() local 140 static void vmw_hw_context_destroy(struct vmw_resource *res) in vmw_hw_context_destroy() 182 struct vmw_resource *res, in vmw_gb_context_init() 183 void (*res_free)(struct vmw_resource *res)) in vmw_gb_context_init() 242 struct vmw_resource *res, in vmw_context_init() 243 void (*res_free)(struct vmw_resource *res), in vmw_context_init() 298 static int vmw_gb_context_create(struct vmw_resource *res) in vmw_gb_context_create() 341 static int vmw_gb_context_bind(struct vmw_resource *res, in vmw_gb_context_bind() 368 static int vmw_gb_context_unbind(struct vmw_resource *res, in vmw_gb_context_unbind() [all …]
|
/linux/drivers/infiniband/hw/bnxt_re/ |
H A D | qplib_res.c | 63 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 353 void bnxt_qplib_free_ctx(struct bnxt_qplib_res *res, in bnxt_qplib_free_ctx() 371 static int bnxt_qplib_alloc_tqm_rings(struct bnxt_qplib_res *res, in bnxt_qplib_alloc_tqm_rings() 452 static int bnxt_qplib_setup_tqm_rings(struct bnxt_qplib_res *res, in bnxt_qplib_setup_tqm_rings() 487 int bnxt_qplib_alloc_ctx(struct bnxt_qplib_res *res, in bnxt_qplib_alloc_ctx() 556 static void bnxt_qplib_free_sgid_tbl(struct bnxt_qplib_res *res, in bnxt_qplib_free_sgid_tbl() 571 static int bnxt_qplib_alloc_sgid_tbl(struct bnxt_qplib_res *res, in bnxt_qplib_alloc_sgid_tbl() [all …]
|
/linux/fs/ocfs2/dlm/ |
H A D | dlmthread.c | 42 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 …]
|
H A D | dlmmaster.c | 251 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 …]
|
H A D | dlmunlock.c | 82 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 526 struct dlm_lock_resource *res, in dlm_get_cancel_actions() 558 struct dlm_lock_resource *res, in dlm_get_unlock_actions() 588 struct dlm_lock_resource *res; in dlmunlock() local
|
H A D | dlmast.c | 76 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/include/linux/ |
H A D | kstrtox.h | 30 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()
|
/linux/lib/ |
H A D | kstrtox.c | 55 unsigned long long res; in _parse_integer_limit() local 96 static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res) in _kstrtoull() 132 int kstrtoull(const char *s, unsigned int base, unsigned long long *res) in kstrtoull() 156 int kstrtoll(const char *s, unsigned int base, long long *res) in kstrtoll() 181 int _kstrtoul(const char *s, unsigned int base, unsigned long *res) in _kstrtoul() 197 int _kstrtol(const char *s, unsigned int base, long *res) in _kstrtol() 228 int kstrtouint(const char *s, unsigned int base, unsigned int *res) in kstrtouint() 259 int kstrtoint(const char *s, unsigned int base, int *res) in kstrtoint() 275 int kstrtou16(const char *s, unsigned int base, u16 *res) in kstrtou16() 291 int kstrtos16(const char *s, unsigned int base, s16 *res) in kstrtos16() [all …]
|
H A D | devres.c | 21 iounmap(*(void __iomem **)res); in devm_ioremap_match() argument 16 devm_ioremap_release(struct device * dev,void * res) devm_ioremap_release() argument 122 __devm_ioremap_resource(struct device * dev,const struct resource * res,enum devm_ioremap_type type) __devm_ioremap_resource() argument 186 devm_ioremap_resource(struct device * dev,const struct resource * res) devm_ioremap_resource() argument 202 devm_ioremap_resource_wc(struct device * dev,const struct resource * res) devm_ioremap_resource_wc() argument 240 struct resource res; devm_of_iomap() local 254 devm_ioport_map_release(struct device * dev,void * res) devm_ioport_map_release() argument 259 devm_ioport_map_match(struct device * dev,void * res,void * match_data) devm_ioport_map_match() argument 314 devm_arch_phys_ac_add_release(struct device * dev,void * res) devm_arch_phys_ac_add_release() argument 356 devm_arch_io_free_memtype_wc_release(struct device * dev,void * res) devm_arch_io_free_memtype_wc_release() argument [all...] |
/linux/drivers/infiniband/core/ |
H A D | restrack.c | 83 static struct ib_device *res_to_dev(struct rdma_restrack_entry *res) in res_to_dev() 115 static void rdma_restrack_attach_task(struct rdma_restrack_entry *res, in rdma_restrack_attach_task() 133 void rdma_restrack_set_name(struct rdma_restrack_entry *res, const char *caller) in rdma_restrack_set_name() 166 void rdma_restrack_new(struct rdma_restrack_entry *res, in rdma_restrack_new() 179 void rdma_restrack_add(struct rdma_restrack_entry *res) in rdma_restrack_add() 228 int __must_check rdma_restrack_get(struct rdma_restrack_entry *res) in rdma_restrack_get() 247 struct rdma_restrack_entry *res; in rdma_restrack_get_byid() local 261 struct rdma_restrack_entry *res; in restrack_release() local 271 int rdma_restrack_put(struct rdma_restrack_entry *res) in rdma_restrack_put() 281 void rdma_restrack_del(struct rdma_restrack_entry *res) in rdma_restrack_del()
|
/linux/net/mac802154/ |
H A D | mib.c | 25 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/drivers/ufs/host/ |
H A D | ufs-mediatek-sip.h | 45 struct arm_smccc_res *res; member 67 #define ufs_mtk_va09_pwr_ctrl(res, on) \ argument 70 #define ufs_mtk_crypto_ctrl(res, enable) \ argument 73 #define ufs_mtk_ref_clk_notify(on, stage, res) \ argument 76 #define ufs_mtk_device_reset_ctrl(high, res) \ argument 79 #define ufs_mtk_sram_pwr_ctrl(on, res) \ argument 82 #define ufs_mtk_get_vcc_num(res) \ argument 85 #define ufs_mtk_device_pwr_ctrl(on, ufs_version, res) \ argument 88 #define ufs_mtk_mphy_ctrl(op, res) \ argument 91 #define ufs_mtk_mtcmos_ctrl(op, res) \ argument
|
/linux/lib/kunit/ |
H A D | resource.c | 22 struct kunit_resource *res, in __kunit_add_resource() 48 void kunit_remove_resource(struct kunit *test, struct kunit_resource *res) in kunit_remove_resource() 66 struct kunit_resource *res = kunit_find_resource(test, match, in kunit_destroy_resource() local 82 struct kunit_resource res; member 87 static void __kunit_action_free(struct kunit_resource *res) in __kunit_action_free() 119 int res = kunit_add_action(test, action, ctx); in kunit_add_action_or_reset() local 128 struct kunit_resource *res, void *match_data) in __kunit_action_match() 146 struct kunit_resource *res; in kunit_remove_action() local 166 struct kunit_resource *res; in kunit_release_action() local
|
/linux/drivers/ssb/ |
H A D | embedded.c | 72 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/drivers/scsi/libsas/ |
H A D | sas_expander.c | 59 int res, retry; in smp_execute_task_sg() local 378 int res; in sas_ex_phy_discover_helper() local 397 int res = 0; in sas_ex_phy_discover() local 434 int res; in sas_expander_discover() local 461 int res; in sas_ex_general() local 541 int res; in sas_ex_manuf_info() local 582 int res; in sas_smp_phy_control() local 660 int res; in sas_smp_get_phy_events() local 705 int res; in sas_get_report_phy_sata() local 779 int res; in sas_ex_add_dev() local [all …]
|
/linux/include/kunit/ |
H A D | resource.h | 100 static inline void kunit_get_resource(struct kunit_resource *res) in kunit_get_resource() 111 struct kunit_resource *res = container_of(kref, struct kunit_resource, in kunit_release_resource() local 136 static inline void kunit_put_resource(struct kunit_resource *res) in kunit_put_resource() 172 struct kunit_resource *res, in kunit_add_resource() 194 struct kunit_resource *res, in kunit_add_named_resource() 243 struct kunit_resource *res; in kunit_alloc_and_get_resource() local 286 struct kunit_resource *res; in kunit_alloc_resource() local 310 struct kunit_resource *res, in kunit_resource_name_match() 327 struct kunit_resource *res, *found = NULL; in kunit_find_resource() local
|
/linux/arch/x86/platform/olpc/ |
H A D | olpc_dt.c | 25 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
|