Searched refs:res (Results 51 - 75 of 3701) sorted by relevance

1234567891011>>

/linux-master/drivers/media/platform/ti/omap3isp/
H A Dispresizer.c110 * @res : pointer to resizer private structure
117 __resizer_get_format(struct isp_res_device *res, argument
124 return &res->formats[pad];
129 * @res : pointer to resizer private structure
134 __resizer_get_crop(struct isp_res_device *res, argument
141 return &res->crop.request;
146 * @res: Device context.
151 static void resizer_set_filters(struct isp_res_device *res, const u16 *h_coeff, argument
154 struct isp_device *isp = to_isp_device(res);
175 * @res
182 resizer_set_bilinear(struct isp_res_device *res, enum resizer_chroma_algo type) argument
200 resizer_set_ycpos(struct isp_res_device *res, u32 pixelcode) argument
226 resizer_set_phase(struct isp_res_device *res, u32 h_phase, u32 v_phase) argument
262 resizer_set_luma(struct isp_res_device *res, struct resizer_luma_yenh *luma) argument
288 resizer_set_source(struct isp_res_device *res, enum resizer_input_entity source) argument
308 resizer_set_ratio(struct isp_res_device *res, const struct resizer_ratio *ratio) argument
352 resizer_set_output_size(struct isp_res_device *res, u32 width, u32 height) argument
374 resizer_set_output_offset(struct isp_res_device *res, u32 offset) argument
396 resizer_set_start(struct isp_res_device *res, u32 left, u32 top) argument
415 resizer_set_input_size(struct isp_res_device *res, u32 width, u32 height) argument
438 resizer_set_input_offset(struct isp_res_device *res, u32 offset) argument
450 resizer_set_intype(struct isp_res_device *res, enum resizer_colors_type type) argument
469 __resizer_set_inaddr(struct isp_res_device *res, u32 addr) argument
499 omap3isp_resizer_max_rate(struct isp_res_device *res, unsigned int *max_rate) argument
541 resizer_adjust_bandwidth(struct isp_res_device *res) argument
609 omap3isp_resizer_busy(struct isp_res_device *res) argument
621 resizer_set_inaddr(struct isp_res_device *res, u32 addr) argument
638 resizer_set_outaddr(struct isp_res_device *res, u32 addr) argument
657 resizer_print_status(struct isp_res_device *res) argument
779 resizer_calc_ratios(struct isp_res_device *res, struct v4l2_rect *input, struct v4l2_mbus_framefmt *output, struct resizer_ratio *ratio) argument
910 resizer_set_crop_params(struct isp_res_device *res, const struct v4l2_mbus_framefmt *input, const struct v4l2_mbus_framefmt *output) argument
958 resizer_configure(struct isp_res_device *res) argument
991 resizer_enable_oneshot(struct isp_res_device *res) argument
999 omap3isp_resizer_isr_frame_sync(struct isp_res_device *res) argument
1014 resizer_isr_buffer(struct isp_res_device *res) argument
1060 omap3isp_resizer_isr(struct isp_res_device *res) argument
1091 struct isp_res_device *res = &video->isp->isp_res; local
1134 struct isp_res_device *res = v4l2_get_subdevdata(sd); local
1228 struct isp_res_device *res = v4l2_get_subdevdata(sd); local
1281 struct isp_res_device *res = v4l2_get_subdevdata(sd); local
1354 resizer_max_in_width(struct isp_res_device *res) argument
1376 resizer_try_format(struct isp_res_device *res, struct v4l2_subdev_state *sd_state, unsigned int pad, struct v4l2_mbus_framefmt *fmt, enum v4l2_subdev_format_whence which) argument
1423 struct isp_res_device *res = v4l2_get_subdevdata(sd); local
1447 struct isp_res_device *res = v4l2_get_subdevdata(sd); local
1484 struct isp_res_device *res = v4l2_get_subdevdata(sd); local
1506 struct isp_res_device *res = v4l2_get_subdevdata(sd); local
1551 struct isp_res_device *res = v4l2_get_subdevdata(sd); local
1629 struct isp_res_device *res = v4l2_get_subdevdata(sd); local
1678 omap3isp_resizer_unregister_entities(struct isp_res_device *res) argument
1685 omap3isp_resizer_register_entities(struct isp_res_device *res, struct v4l2_device *vdev) argument
1720 resizer_init_entities(struct isp_res_device *res) argument
1784 struct isp_res_device *res = &isp->isp_res; local
1795 struct isp_res_device *res = &isp->isp_res; local
[all...]
/linux-master/arch/mips/include/asm/
H A Dunaligned-emul.h8 #define _LoadHW(addr, value, res, type) \
26 : "=&r" (value), "=r" (res) \
31 #define _LoadW(addr, value, res, type) \
47 : "=&r" (value), "=r" (res) \
53 #define _LoadW(addr, value, res, type) \
82 : "=&r" (value), "=r" (res) \
88 #define _LoadHWU(addr, value, res, type) \
108 : "=&r" (value), "=r" (res) \
113 #define _LoadWU(addr, value, res, type) \
131 : "=&r" (value), "=r" (res) \
[all...]
/linux-master/drivers/media/pci/mgb4/
H A Dmgb4_regs.c10 int mgb4_regs_map(struct resource *res, struct mgb4_regs *regs) argument
12 regs->mapbase = res->start;
13 regs->mapsize = res->end - res->start;
15 if (!request_mem_region(regs->mapbase, regs->mapsize, res->name))
/linux-master/include/kunit/
H A Dskbuff.h32 struct sk_buff *res = alloc_skb(len, GFP_KERNEL); local
34 if (!res || skb_pad(res, len))
37 if (kunit_add_action_or_reset(test, kunit_action_kfree_skb, res))
40 return res;
/linux-master/arch/sparc/kernel/
H A Dioport.c55 static void __iomem *_sparc_ioremap(struct resource *res, u32 bus, u32 pa, int sz);
58 static void _sparc_free_io(struct resource *res);
128 struct resource *res; local
134 if ((res = lookup_resource(&sparc_iomap, vaddr)) == NULL) {
138 _sparc_free_io(res);
140 if ((char *)res >= (char*)xresv && (char *)res < (char *)&xresv[XNRES]) {
141 xres_free((struct xresource *)res);
143 kfree(res);
148 void __iomem *of_ioremap(struct resource *res, unsigne argument
157 of_iounmap(struct resource *res, void __iomem *base, unsigned long size) argument
171 struct resource *res; local
205 _sparc_ioremap(struct resource *res, u32 bus, u32 pa, int sz) argument
227 _sparc_free_io(struct resource *res) argument
239 struct resource *res; local
259 struct resource *res; local
[all...]
/linux-master/arch/mips/pci/
H A Dpci-generic.c24 resource_size_t pcibios_align_resource(void *data, const struct resource *res, argument
28 resource_size_t start = res->start;
31 if (res->flags & IORESOURCE_IO && start & 0x300)
39 return host_bridge->align_resource(dev, res,
51 int pci_remap_iospace(const struct resource *res, phys_addr_t phys_addr) argument
55 if (res->start != 0) {
60 vaddr = (unsigned long)ioremap(phys_addr, resource_size(res));
/linux-master/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_va.c44 * @res: Pointer to the struct vmw_resource.
49 vmw_stream(struct vmw_resource *res) argument
51 return container_of(res, struct vmw_stream, sres.res);
57 static void vmw_stream_hw_destroy(struct vmw_resource *res) argument
59 struct vmw_private *dev_priv = res->dev_priv;
60 struct vmw_stream *stream = vmw_stream(res);
67 static int vmw_stream_init(struct vmw_resource *res, void *data) argument
69 struct vmw_stream *stream = vmw_stream(res);
71 return vmw_overlay_claim(res
159 struct vmw_resource *res = local
[all...]
H A Dvmwgfx_cotable.c44 * @res: struct vmw_resource we are deriving from.
53 struct vmw_resource res; member in struct:vmw_cotable
124 static int vmw_cotable_bind(struct vmw_resource *res,
126 static int vmw_cotable_unbind(struct vmw_resource *res,
129 static int vmw_cotable_create(struct vmw_resource *res);
130 static int vmw_cotable_destroy(struct vmw_resource *res);
151 * @res: Pointer to the resource.
153 static struct vmw_cotable *vmw_cotable(struct vmw_resource *res) argument
155 return container_of(res, struct vmw_cotable, res);
166 vmw_cotable_destroy(struct vmw_resource *res) argument
181 vmw_cotable_unscrub(struct vmw_resource *res) argument
223 vmw_cotable_bind(struct vmw_resource *res, struct ttm_validate_buffer *val_buf) argument
256 vmw_cotable_scrub(struct vmw_resource *res, bool readback) argument
321 vmw_cotable_unbind(struct vmw_resource *res, bool readback, struct ttm_validate_buffer *val_buf) argument
356 vmw_cotable_readback(struct vmw_resource *res) argument
399 vmw_cotable_resize(struct vmw_resource *res, size_t new_size) argument
544 vmw_cotable_create(struct vmw_resource *res) argument
576 vmw_hw_cotable_destroy(struct vmw_resource *res) argument
586 vmw_cotable_free(struct vmw_resource *res) argument
649 vmw_cotable_notify(struct vmw_resource *res, int id) argument
675 vmw_cotable_add_resource(struct vmw_resource *res, struct list_head *head) argument
[all...]
/linux-master/arch/arm64/include/asm/
H A Dkvm_pkvm.h42 unsigned long res = 0, i; local
45 res += hyp_vmemmap_memblock_size(&kvm_nvhe_sym(hyp_memory)[i],
49 return res >> PAGE_SHIFT;
73 unsigned long res = 0, i; local
78 res += __hyp_pgtable_max_pages(reg->size >> PAGE_SHIFT);
81 return res;
86 unsigned long res; local
88 res = __hyp_pgtable_total_pages();
91 res += __hyp_pgtable_max_pages(SZ_1G >> PAGE_SHIFT);
93 return res;
98 unsigned long res; local
[all...]
H A Darchrandom.h17 struct arm_smccc_res res; local
19 arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_VERSION, &res);
20 if ((s32)res.a0 < 0)
23 return res.a0 >= ARM_SMCCC_TRNG_MIN_VERSION;
94 struct arm_smccc_res res; local
97 arm_smccc_1_1_invoke(ARM_SMCCC_TRNG_RND64, max_longs * 64, &res);
98 if ((int)res.a0 >= 0) {
101 *v++ = res.a1;
104 *v++ = res.a2;
107 *v++ = res
[all...]
/linux-master/tools/testing/selftests/futex/functional/
H A Dfutex_waitv.c40 int res; local
48 res = futex_waitv(waitv, NR_FUTEXES, 0, &to, CLOCK_MONOTONIC);
49 if (res < 0) {
52 } else if (res != NR_FUTEXES - 1) {
54 res, NR_FUTEXES - 1);
63 int res, ret = RET_PASS; local
102 res = futex_wake(u64_to_ptr(waitv[NR_FUTEXES - 1].uaddr), 1, FUTEX_PRIVATE_FLAG);
103 if (res != 1) {
105 res ? errno : res,
[all...]
/linux-master/arch/x86/lib/
H A Dstring_32.c99 int res; local
110 : "=a" (res), "=&S" (d0), "=&D" (d1)
113 return res;
121 int res; local
135 : "=a" (res), "=&S" (d0), "=&D" (d1), "=&c" (d2)
138 return res;
147 char *res; local
157 : "=a" (res), "=&S" (d0)
160 return res;
169 size_t res; local
184 void *res; local
221 int res; local
[all...]
/linux-master/arch/x86/pci/
H A Dbus_numa.c46 if (window->res->flags & IORESOURCE_BUS) {
55 pci_add_resource(resources, &root_res->res);
98 struct resource *res; local
115 res = &root_res->res;
116 if (res->flags != flags)
119 common_start = max(res->start, start);
120 common_end = min(res->end, end);
124 final_start = min(res->start, start);
125 final_end = max(res
[all...]
H A Dbroadcom_bus.c22 struct resource res; local
49 res.start = ((resource_size_t) word1 << 16) | 0x0000;
50 res.end = ((resource_size_t) word2 << 16) | 0xffff;
51 res.flags = IORESOURCE_MEM;
52 update_res(info, res.start, res.end, res.flags, 0);
59 res.start = ((resource_size_t) word1 << 16) | 0x0000;
60 res.end = ((resource_size_t) word2 << 16) | 0xffff;
61 res
[all...]
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_rdonly_maps.c22 } res = {}; variable in typeref:struct:__anon2876
37 res.did_run = 1;
38 res.iters = iters;
39 res.sum = sum;
56 res.did_run = 1;
57 res.iters = iters;
58 res.sum = sum;
77 res.did_run = 1;
78 res.iters = iters;
79 res
[all...]
/linux-master/drivers/net/ethernet/netronome/nfp/nfpcore/
H A Dnfp_resource.c22 #define NFP_RESOURCE_TBL_NAME "nfp.res"
69 static int nfp_cpp_resource_find(struct nfp_cpp *cpp, struct nfp_resource *res) argument
78 if (!strcmp(res->name, NFP_RESOURCE_TBL_NAME)) {
82 key = crc32_posix(res->name, NFP_RESOURCE_ENTRY_NAME_SZ);
96 res->mutex =
99 res->cpp_id = NFP_CPP_ID(entry.region.cpp_target,
102 res->addr = (u64)entry.region.page_offset << 8;
103 res->size = (u64)entry.region.page_size << 8;
112 nfp_resource_try_acquire(struct nfp_cpp *cpp, struct nfp_resource *res, argument
120 err = nfp_cpp_resource_find(cpp, res);
155 struct nfp_resource *res; local
213 nfp_resource_release(struct nfp_resource *res) argument
235 struct nfp_resource *res; local
271 nfp_resource_cpp_id(struct nfp_resource *res) argument
282 nfp_resource_name(struct nfp_resource *res) argument
293 nfp_resource_address(struct nfp_resource *res) argument
304 nfp_resource_size(struct nfp_resource *res) argument
[all...]
/linux-master/tools/testing/selftests/bpf/
H A Dbench.h57 void (*measure)(struct bench_res* res);
58 void (*report_progress)(int iter, struct bench_res* res, long delta_ns);
59 void (*report_final)(struct bench_res res[], int res_cnt);
70 void hits_drops_report_progress(int iter, struct bench_res *res, long delta_ns);
71 void hits_drops_report_final(struct bench_res res[], int res_cnt);
72 void false_hits_report_progress(int iter, struct bench_res *res, long delta_ns);
73 void false_hits_report_final(struct bench_res res[], int res_cnt);
74 void ops_report_progress(int iter, struct bench_res *res, long delta_ns);
75 void ops_report_final(struct bench_res res[], int res_cnt);
76 void local_storage_report_progress(int iter, struct bench_res *res,
[all...]
/linux-master/samples/hidraw/
H A Dhid-example.c46 int i, res, desc_size = 0; local
69 res = ioctl(fd, HIDIOCGRDESCSIZE, &desc_size);
70 if (res < 0)
77 res = ioctl(fd, HIDIOCGRDESC, &rpt_desc);
78 if (res < 0) {
88 res = ioctl(fd, HIDIOCGRAWNAME(256), buf);
89 if (res < 0)
95 res = ioctl(fd, HIDIOCGRAWPHYS(256), buf);
96 if (res < 0)
102 res
[all...]
/linux-master/lib/
H A Dkstrtox.c55 unsigned long long res; local
58 res = 0;
78 if (unlikely(res & (~0ull << 60))) {
79 if (res > div_u64(ULLONG_MAX - val, base))
82 res = res * base + val;
86 *p = res;
96 static int _kstrtoull(const char *s, unsigned int base, unsigned long long *res) argument
112 *res = _res;
126 * @res
132 kstrtoull(const char *s, unsigned int base, unsigned long long *res) argument
156 kstrtoll(const char *s, unsigned int base, long long *res) argument
181 _kstrtoul(const char *s, unsigned int base, unsigned long *res) argument
197 _kstrtol(const char *s, unsigned int base, long *res) argument
228 kstrtouint(const char *s, unsigned int base, unsigned int *res) argument
259 kstrtoint(const char *s, unsigned int base, int *res) argument
275 kstrtou16(const char *s, unsigned int base, u16 *res) argument
291 kstrtos16(const char *s, unsigned int base, s16 *res) argument
307 kstrtou8(const char *s, unsigned int base, u8 *res) argument
323 kstrtos8(const char *s, unsigned int base, s8 *res) argument
348 kstrtobool(const char *s, bool *res) argument
395 kstrtobool_from_user(const char __user *s, size_t count, bool *res) argument
[all...]
H A Dstrncpy_from_user.c32 unsigned long res = 0; local
41 unsafe_get_user(c, (unsigned long __user *)(src+res), byte_at_a_time);
58 *(unsigned long *)(dst+res) = c & mask;
59 return res + find_zero(data);
62 *(unsigned long *)(dst+res) = c;
64 res += sizeof(unsigned long);
72 unsafe_get_user(c,src+res, efault);
73 dst[res] = c;
75 return res;
76 res
[all...]
/linux-master/drivers/ssb/
H A Dembedded.c72 u32 res = 0; local
76 res = ssb_chipco_gpio_in(&bus->chipco, mask);
78 res = ssb_extif_gpio_in(&bus->extif, mask);
83 return res;
90 u32 res = 0; local
94 res = ssb_chipco_gpio_out(&bus->chipco, mask, value);
96 res = ssb_extif_gpio_out(&bus->extif, mask, value);
101 return res;
108 u32 res = 0; local
112 res
126 u32 res = 0; local
140 u32 res = 0; local
158 u32 res = 0; local
179 int res; local
221 int res; local
242 int res; local
[all...]
/linux-master/include/net/
H A Dtc_wrapper.h23 struct tcf_result *res))
47 struct tcf_result *res)
54 return tcf_gact_act(skb, a, res);
58 return tcf_mirred_act(skb, a, res);
62 return tcf_pedit_act(skb, a, res);
66 return tcf_skbedit_act(skb, a, res);
70 return tcf_skbmod_act(skb, a, res);
74 return tcf_police_act(skb, a, res);
78 return tcf_bpf_act(skb, a, res);
82 return tcf_connmark_act(skb, a, res);
46 tc_act(struct sk_buff *skb, const struct tc_action *a, struct tcf_result *res) argument
153 tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, struct tcf_result *res) argument
214 tc_act(struct sk_buff *skb, const struct tc_action *a, struct tcf_result *res) argument
220 tc_classify(struct sk_buff *skb, const struct tcf_proto *tp, struct tcf_result *res) argument
[all...]
/linux-master/drivers/gpu/drm/amd/display/dc/basics/
H A Dfixpt31_32.c73 struct fixed31_32 res; local
115 res.value = (long long)res_value;
118 res.value = -res.value;
120 return res;
125 struct fixed31_32 res; local
141 res.value = arg1_int * arg2_int;
143 ASSERT(res.value <= LONG_MAX);
145 res.value <<= FIXED31_32_BITS_PER_FRACTIONAL_PART;
149 ASSERT(tmp <= (unsigned long long)(LLONG_MAX - res
176 struct fixed31_32 res; local
232 struct fixed31_32 res = dc_fixpt_one; local
285 struct fixed31_32 res = dc_fixpt_one; local
315 struct fixed31_32 res = dc_fixpt_from_fraction( local
384 struct fixed31_32 res = dc_fixpt_neg(dc_fixpt_one); local
[all...]
/linux-master/arch/mips/include/asm/sn/sn0/
H A Dhub.h42 * Returns the local nasid into res.
44 .macro GET_NASID_ASM res
45 dli \res, LOCAL_HUB_ADDR(NI_STATUS_REV_ID)
46 ld \res, (\res) variable
47 and \res, NSRI_NODEID_MASK variable
48 dsrl \res, NSRI_NODEID_SHFT variable
/linux-master/arch/mips/loongson64/
H A Dcop2-ex.c31 unsigned int res, fpu_owned; local
74 LoadDW(addr, value, res);
75 if (res)
78 LoadDW(addr + 8, value_next, res);
79 if (res)
90 LoadDW(addr, value, res);
91 if (res)
94 LoadDW(addr + 8, value_next, res);
95 if (res)
116 StoreDW(addr + 8, value_next, res);
[all...]

Completed in 249 milliseconds

1234567891011>>