Home
last modified time | relevance | path

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

12345678910>>...81

/drivers/media/platform/omap3isp/
Dispresizer.c120 __resizer_get_format(struct isp_res_device *res, struct v4l2_subdev_pad_config *cfg, in __resizer_get_format()
136 __resizer_get_crop(struct isp_res_device *res, struct v4l2_subdev_pad_config *cfg, 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 …]
/drivers/gpu/drm/exynos/
Dexynos_mixer.c197 static inline u32 vp_reg_read(struct mixer_resources *res, u32 reg_id) in vp_reg_read()
202 static inline void vp_reg_write(struct mixer_resources *res, u32 reg_id, in vp_reg_write()
208 static inline void vp_reg_writemask(struct mixer_resources *res, u32 reg_id, in vp_reg_writemask()
217 static inline u32 mixer_reg_read(struct mixer_resources *res, u32 reg_id) in mixer_reg_read()
222 static inline void mixer_reg_write(struct mixer_resources *res, u32 reg_id, in mixer_reg_write()
228 static inline void mixer_reg_writemask(struct mixer_resources *res, in mixer_reg_writemask()
304 static inline void vp_filter_set(struct mixer_resources *res, in vp_filter_set()
316 static void vp_default_filter(struct mixer_resources *res) in vp_default_filter()
329 struct mixer_resources *res = &ctx->mixer_res; in mixer_cfg_gfx_blend() local
344 struct mixer_resources *res = &ctx->mixer_res; in mixer_cfg_vp_blend() local
[all …]
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_shader.c35 struct vmw_resource res; member
48 struct vmw_resource res; member
129 vmw_res_to_shader(struct vmw_resource *res) in vmw_res_to_shader()
141 vmw_res_to_dx_shader(struct vmw_resource *res) in vmw_res_to_dx_shader()
146 static void vmw_hw_shader_destroy(struct vmw_resource *res) in vmw_hw_shader_destroy()
155 static int vmw_gb_shader_init(struct vmw_private *dev_priv, in vmw_gb_shader_init()
156 struct vmw_resource *res, in vmw_gb_shader_init()
197 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()
275 static int vmw_gb_shader_unbind(struct vmw_resource *res, in vmw_gb_shader_unbind()
[all …]
Dvmwgfx_cotable.c51 struct vmw_resource res; member
133 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) in vmw_cotable()
146 static int vmw_cotable_destroy(struct vmw_resource *res) in vmw_cotable_destroy()
161 static int vmw_cotable_unscrub(struct vmw_resource *res) in vmw_cotable_unscrub()
206 static int vmw_cotable_bind(struct vmw_resource *res, in vmw_cotable_bind()
239 int vmw_cotable_scrub(struct vmw_resource *res, bool readback) in vmw_cotable_scrub()
307 static int vmw_cotable_unbind(struct vmw_resource *res, in vmw_cotable_unbind()
342 static int vmw_cotable_readback(struct vmw_resource *res) in vmw_cotable_readback()
388 static int vmw_cotable_resize(struct vmw_resource *res, size_t new_size) in vmw_cotable_resize()
510 static int vmw_cotable_create(struct vmw_resource *res) in vmw_cotable_create()
[all …]
Dvmwgfx_context.c36 struct vmw_resource res; member
117 struct vmw_resource *res; in vmw_context_cotables_unref() local
131 static void vmw_hw_context_destroy(struct vmw_resource *res) in vmw_hw_context_destroy()
176 struct vmw_resource *res, in vmw_gb_context_init()
177 void (*res_free)(struct vmw_resource *res)) in vmw_gb_context_init()
236 struct vmw_resource *res, in vmw_context_init()
237 void (*res_free)(struct vmw_resource *res), in vmw_context_init()
293 static int vmw_gb_context_create(struct vmw_resource *res) in vmw_gb_context_create()
338 static int vmw_gb_context_bind(struct vmw_resource *res, in vmw_gb_context_bind()
367 static int vmw_gb_context_unbind(struct vmw_resource *res, in vmw_gb_context_unbind()
[all …]
Dvmwgfx_resource.c61 struct vmw_resource *vmw_resource_reference(struct vmw_resource *res) in vmw_resource_reference()
68 vmw_resource_reference_unless_doomed(struct vmw_resource *res) in vmw_resource_reference_unless_doomed()
80 void vmw_resource_release_id(struct vmw_resource *res) in vmw_resource_release_id()
94 struct vmw_resource *res = in vmw_resource_release() local
143 struct vmw_resource *res = *p_res; in vmw_resource_unreference() local
158 int vmw_resource_alloc_id(struct vmw_resource *res) in vmw_resource_alloc_id()
189 int vmw_resource_init(struct vmw_private *dev_priv, struct vmw_resource *res, in vmw_resource_init()
226 void vmw_resource_activate(struct vmw_resource *res, in vmw_resource_activate()
259 struct vmw_resource *res; in vmw_user_resource_lookup_handle() local
300 struct vmw_resource *res; in vmw_user_lookup_handle() local
[all …]
Dvmwgfx_simple_resource.c65 void (*res_free)(struct vmw_resource *res)) in vmw_simple_resource_init()
67 struct vmw_resource *res = &simple->res; in vmw_simple_resource_init() local
96 static void vmw_simple_resource_free(struct vmw_resource *res) in vmw_simple_resource_free()
122 struct vmw_resource *res = &usimple->simple.res; in vmw_simple_resource_base_release() local
149 struct vmw_resource *res; in vmw_simple_resource_create_ioctl() local
233 struct vmw_resource *res; in vmw_simple_resource_lookup() local
Dvmwgfx_so.c62 struct vmw_resource res; member
112 static struct vmw_view *vmw_view(struct vmw_resource *res) in vmw_view()
125 static void vmw_view_commit_notify(struct vmw_resource *res, in vmw_view_commit_notify()
157 static int vmw_view_create(struct vmw_resource *res) in vmw_view_create()
202 static int vmw_view_destroy(struct vmw_resource *res) in vmw_view_destroy()
242 static void vmw_hw_view_destroy(struct vmw_resource *res) in vmw_hw_view_destroy()
287 static void vmw_view_res_free(struct vmw_resource *res) in vmw_view_res_free()
330 struct vmw_resource *res; in vmw_view_add() local
473 struct vmw_resource *vmw_view_srf(struct vmw_resource *res) in vmw_view_srf()
/drivers/acpi/
Dresource.c30 static inline bool acpi_iospace_resource_valid(struct resource *res) in acpi_iospace_resource_valid()
43 acpi_iospace_resource_valid(struct resource *res) { return true; } in acpi_iospace_resource_valid()
79 static void acpi_dev_memresource_flags(struct resource *res, u64 len, in acpi_dev_memresource_flags()
91 static void acpi_dev_get_memresource(struct resource *res, u64 start, u64 len, in acpi_dev_get_memresource()
113 bool acpi_dev_resource_memory(struct acpi_resource *ares, struct resource *res) in acpi_dev_resource_memory()
147 static void acpi_dev_ioresource_flags(struct resource *res, u64 len, in acpi_dev_ioresource_flags()
164 static void acpi_dev_get_ioresource(struct resource *res, u64 start, u64 len, in acpi_dev_get_ioresource()
186 bool acpi_dev_resource_io(struct acpi_resource *ares, struct resource *res) in acpi_dev_resource_io()
221 struct resource *res = &win->res; in acpi_decode_space() local
390 static void acpi_dev_irqresource_disabled(struct resource *res, u32 gsi) in acpi_dev_irqresource_disabled()
[all …]
/drivers/infiniband/hw/bnxt_re/
Dqplib_res.c465 static void bnxt_qplib_free_sgid_tbl(struct bnxt_qplib_res *res, in bnxt_qplib_free_sgid_tbl()
480 static int bnxt_qplib_alloc_sgid_tbl(struct bnxt_qplib_res *res, in bnxt_qplib_alloc_sgid_tbl()
514 static void bnxt_qplib_cleanup_sgid_tbl(struct bnxt_qplib_res *res, in bnxt_qplib_cleanup_sgid_tbl()
537 static void bnxt_qplib_free_pkey_tbl(struct bnxt_qplib_res *res, in bnxt_qplib_free_pkey_tbl()
550 static int bnxt_qplib_alloc_pkey_tbl(struct bnxt_qplib_res *res, in bnxt_qplib_alloc_pkey_tbl()
577 int bnxt_qplib_dealloc_pd(struct bnxt_qplib_res *res, in bnxt_qplib_dealloc_pd()
597 static int bnxt_qplib_alloc_pd_tbl(struct bnxt_qplib_res *res, in bnxt_qplib_alloc_pd_tbl()
638 int bnxt_qplib_dealloc_dpi(struct bnxt_qplib_res *res, in bnxt_qplib_dealloc_dpi()
658 static void bnxt_qplib_free_dpi_tbl(struct bnxt_qplib_res *res, in bnxt_qplib_free_dpi_tbl()
668 static int bnxt_qplib_alloc_dpi_tbl(struct bnxt_qplib_res *res, in bnxt_qplib_alloc_dpi_tbl()
[all …]
Dqplib_sp.c155 int bnxt_qplib_get_sgid(struct bnxt_qplib_res *res, in bnxt_qplib_get_sgid()
172 struct bnxt_qplib_res *res = to_bnxt_qplib(sgid_tbl, in bnxt_qplib_del_sgid() local
232 struct bnxt_qplib_res *res = to_bnxt_qplib(sgid_tbl, in bnxt_qplib_add_sgid() local
322 struct bnxt_qplib_res *res = to_bnxt_qplib(sgid_tbl, in bnxt_qplib_update_sgid() local
356 int bnxt_qplib_get_pkey(struct bnxt_qplib_res *res, in bnxt_qplib_get_pkey()
374 int bnxt_qplib_del_pkey(struct bnxt_qplib_res *res, in bnxt_qplib_del_pkey()
408 int bnxt_qplib_add_pkey(struct bnxt_qplib_res *res, in bnxt_qplib_add_pkey()
445 int bnxt_qplib_create_ah(struct bnxt_qplib_res *res, struct bnxt_qplib_ah *ah) in bnxt_qplib_create_ah()
487 int bnxt_qplib_destroy_ah(struct bnxt_qplib_res *res, struct bnxt_qplib_ah *ah) in bnxt_qplib_destroy_ah()
508 int bnxt_qplib_free_mrw(struct bnxt_qplib_res *res, struct bnxt_qplib_mrw *mrw) in bnxt_qplib_free_mrw()
[all …]
/drivers/scsi/libsas/
Dsas_expander.c69 int res, retry; in smp_execute_task_sg() local
386 int res; in sas_ex_phy_discover_helper() local
406 int res = 0; in sas_ex_phy_discover() local
443 int res = -ENOMEM; in sas_expander_discover() local
483 int res; in sas_ex_general() local
555 int res; in sas_ex_manuf_info() local
596 int res; in sas_smp_phy_control() local
674 int res; in sas_smp_get_phy_events() local
719 int res; in sas_get_report_phy_sata() local
798 int res; in sas_ex_discover_end_dev() local
[all …]
/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
/drivers/firmware/
Dqcom_scm-64.c85 struct arm_smccc_res *res) in qcom_scm_call()
211 struct arm_smccc_res res; in __qcom_scm_is_call_available() local
228 struct arm_smccc_res res; in __qcom_scm_hdcp_req() local
255 struct arm_smccc_res res; in __qcom_scm_init() local
275 struct arm_smccc_res res; in __qcom_scm_pas_supported() local
292 struct arm_smccc_res res; in __qcom_scm_pas_init_image() local
309 struct arm_smccc_res res; in __qcom_scm_pas_mem_setup() local
326 struct arm_smccc_res res; in __qcom_scm_pas_auth_and_reset() local
342 struct arm_smccc_res res; in __qcom_scm_pas_shutdown() local
356 struct arm_smccc_res res; in __qcom_scm_pas_mss_reset() local
[all …]
/drivers/net/ethernet/netronome/nfp/nfpcore/
Dnfp_resource.c98 static int nfp_cpp_resource_find(struct nfp_cpp *cpp, struct nfp_resource *res) in nfp_cpp_resource_find()
144 nfp_resource_try_acquire(struct nfp_cpp *cpp, struct nfp_resource *res, in nfp_resource_try_acquire()
187 struct nfp_resource *res; in nfp_resource_acquire() local
245 void nfp_resource_release(struct nfp_resource *res) in nfp_resource_release()
267 struct nfp_resource *res; in nfp_resource_wait() local
303 u32 nfp_resource_cpp_id(struct nfp_resource *res) in nfp_resource_cpp_id()
314 const char *nfp_resource_name(struct nfp_resource *res) in nfp_resource_name()
325 u64 nfp_resource_address(struct nfp_resource *res) in nfp_resource_address()
336 u64 nfp_resource_size(struct nfp_resource *res) in nfp_resource_size()
/drivers/ps3/
Dps3av_cmd.c157 int res; in ps3av_cmd_init() local
208 int res; in ps3av_cmd_fin() local
227 int i, send_len, res; in ps3av_cmd_av_video_mute() local
255 int res; in ps3av_cmd_av_video_disable_sig() local
278 int res; in ps3av_cmd_av_tv_mute() local
300 int res; in ps3av_cmd_enable_event() local
321 int res; in ps3av_cmd_av_hdmi_mode() local
423 int res; in ps3av_cmd_video_format_black() local
450 int i, res; in ps3av_cmd_av_audio_mute() local
797 int res; in ps3av_cmd_audio_mode() local
[all …]
/drivers/staging/rtl8723bs/core/
Drtw_cmd.c175 sint res = _SUCCESS; in _rtw_init_cmd_priv() local
216 sint res = _SUCCESS; in _rtw_init_evt_priv() local
310 u32 res; in rtw_init_cmd_priv() local
318 int res; in rtw_init_evt_priv() local
362 int res = _FAIL; in rtw_enqueue_cmd() local
606 u8 res = _FAIL; in rtw_sitesurvey_cmd() local
682 u8 res = _SUCCESS; in rtw_setdatarate_cmd() local
719 u8 res = _SUCCESS; in rtw_createbss_cmd() local
753 u8 res = _SUCCESS; in rtw_startbss_cmd() local
796 u8 *auth, res = _SUCCESS; in rtw_joinbss_cmd() local
[all …]
/drivers/net/ethernet/mellanox/mlxsw/
Dresources.h111 static inline bool mlxsw_res_valid(struct mlxsw_res *res, in mlxsw_res_valid()
117 #define MLXSW_RES_VALID(res, short_res_id) \ argument
120 static inline u64 mlxsw_res_get(struct mlxsw_res *res, in mlxsw_res_get()
128 #define MLXSW_RES_GET(res, short_res_id) \ argument
131 static inline void mlxsw_res_set(struct mlxsw_res *res, in mlxsw_res_set()
138 #define MLXSW_RES_SET(res, short_res_id, value) \ argument
141 static inline void mlxsw_res_parse(struct mlxsw_res *res, u16 id, u64 value) in mlxsw_res_parse()
/drivers/pci/dwc/
Dpcie-qcom.c171 union qcom_pcie_resources res; member
224 struct qcom_pcie_resources_2_1_0 *res = &pcie->res.v2_1_0; in qcom_pcie_get_resources_2_1_0() local
274 struct qcom_pcie_resources_2_1_0 *res = &pcie->res.v2_1_0; in qcom_pcie_deinit_2_1_0() local
291 struct qcom_pcie_resources_2_1_0 *res = &pcie->res.v2_1_0; in qcom_pcie_init_2_1_0() local
409 struct qcom_pcie_resources_1_0_0 *res = &pcie->res.v1_0_0; in qcom_pcie_get_resources_1_0_0() local
439 struct qcom_pcie_resources_1_0_0 *res = &pcie->res.v1_0_0; in qcom_pcie_deinit_1_0_0() local
451 struct qcom_pcie_resources_1_0_0 *res = &pcie->res.v1_0_0; in qcom_pcie_init_1_0_0() local
529 struct qcom_pcie_resources_2_3_2 *res = &pcie->res.v2_3_2; in qcom_pcie_get_resources_2_3_2() local
555 struct qcom_pcie_resources_2_3_2 *res = &pcie->res.v2_3_2; in qcom_pcie_deinit_2_3_2() local
565 struct qcom_pcie_resources_2_3_2 *res = &pcie->res.v2_3_2; in qcom_pcie_post_deinit_2_3_2() local
[all …]
/drivers/scsi/aic94xx/
Daic94xx_tmf.c40 int res; in asd_enqueue_internal() local
183 int res, tmp_res, i; in asd_I_T_nexus_reset() local
290 int res = TMF_RESP_FUNC_FAILED; in asd_get_tmf_resp_tasklet() local
345 int res = TMF_RESP_FUNC_FAILED; in asd_clear_nexus() local
409 int res = 1; in asd_abort_task() local
580 int res = 1; in asd_initiate_ssp_tmf() local
659 int res = asd_initiate_ssp_tmf(dev, lun, TMF_ABORT_TASK_SET, 0); in asd_abort_task_set() local
668 int res = asd_initiate_ssp_tmf(dev, lun, TMF_CLEAR_ACA, 0); in asd_clear_aca() local
677 int res = asd_initiate_ssp_tmf(dev, lun, TMF_CLEAR_TASK_SET, 0); in asd_clear_task_set() local
686 int res = asd_initiate_ssp_tmf(dev, lun, TMF_LU_RESET, 0); in asd_lu_reset() local
/drivers/staging/lustre/lustre/ldlm/
Dldlm_resource.c182 __u64 res = 0; in resource_count_show() local
456 static struct ldlm_resource *ldlm_resource_getref(struct ldlm_resource *res) in ldlm_resource_getref()
510 struct ldlm_resource *res; in ldlm_res_hop_key() local
518 struct ldlm_resource *res; in ldlm_res_hop_keycmp() local
533 struct ldlm_resource *res; in ldlm_res_hop_get_locked() local
541 struct ldlm_resource *res; in ldlm_res_hop_put() local
751 static void cleanup_resource(struct ldlm_resource *res, struct list_head *q, in cleanup_resource()
825 struct ldlm_resource *res = cfs_hash_object(hs, hnode); in ldlm_resource_clean() local
837 struct ldlm_resource *res = cfs_hash_object(hs, hnode); in ldlm_resource_complain() local
1055 struct ldlm_resource *res; in ldlm_resource_new() local
[all …]
/drivers/pci/
Dsetup-res.c36 struct resource *res = dev->resource + resno; in pci_std_update_resource() local
136 struct resource *res = &dev->resource[resource]; in pci_claim_resource() local
200 static int pci_revert_fw_address(struct resource *res, struct pci_dev *dev, in pci_revert_fw_address()
244 const struct resource *res, in pcibios_align_resource()
254 struct resource *res = dev->resource + resno; in __pci_assign_resource() local
317 struct resource *res = dev->resource + resno; in pci_assign_resource() local
364 struct resource *res = dev->resource + resno; in pci_reassign_resource() local
Dbus.c20 void pci_add_resource_offset(struct list_head *resources, struct resource *res, in pci_add_resource_offset()
36 void pci_add_resource(struct list_head *resources, struct resource *res) in pci_add_resource()
48 void pci_bus_add_resource(struct pci_bus *bus, struct resource *res, in pci_bus_add_resource()
98 struct resource *parent, *res; in devm_request_pci_bus_resources() local
138 struct resource *res, in pci_clip_resource_to_region()
155 static int pci_bus_alloc_from_region(struct pci_bus *bus, struct resource *res, in pci_bus_alloc_from_region()
225 int pci_bus_alloc_resource(struct pci_bus *bus, struct resource *res, in pci_bus_alloc_resource()
265 struct resource *res = &dev->resource[idx]; in pci_bus_clip_resource() local
/drivers/regulator/
Ddevres.c22 static void devm_regulator_release(struct device *dev, void *res) in devm_regulator_release()
94 static int devm_regulator_match(struct device *dev, void *res, void *data) in devm_regulator_match()
128 static void devm_regulator_bulk_release(struct device *dev, void *res) in devm_regulator_bulk_release()
174 static void devm_rdev_release(struct device *dev, void *res) in devm_rdev_release()
212 static int devm_rdev_match(struct device *dev, void *res, void *data) in devm_rdev_match()
245 static int devm_regulator_match_supply_alias(struct device *dev, void *res, in devm_regulator_match_supply_alias()
254 static void devm_regulator_destroy_supply_alias(struct device *dev, void *res) in devm_regulator_destroy_supply_alias()
408 static int devm_regulator_match_notifier(struct device *dev, void *res, in devm_regulator_match_notifier()
417 static void devm_regulator_destroy_notifier(struct device *dev, void *res) in devm_regulator_destroy_notifier()
/drivers/pnp/
Dresource.c166 int pnp_check_port(struct pnp_dev *dev, struct resource *res) in pnp_check_port()
229 int pnp_check_mem(struct pnp_dev *dev, struct resource *res) in pnp_check_mem()
352 int pnp_check_irq(struct pnp_dev *dev, struct resource *res) in pnp_check_irq()
416 int pnp_check_dma(struct pnp_dev *dev, struct resource *res) in pnp_check_dma()
475 unsigned long pnp_resource_type(struct resource *res) in pnp_resource_type()
486 struct resource *res; in pnp_get_resource() local
510 struct resource *res) in pnp_add_resource()
530 struct resource *res; in pnp_add_irq_resource() local
551 struct resource *res; in pnp_add_dma_resource() local
573 struct resource *res; in pnp_add_io_resource() local
[all …]

12345678910>>...81