Searched refs:comp (Results 1 - 25 of 94) sorted by relevance

1234

/drivers/net/slip/
H A Dslhc.c95 struct slcompress *comp; local
97 comp = kzalloc(sizeof(struct slcompress), GFP_KERNEL);
98 if (! comp)
103 comp->rstate = kzalloc(rsize, GFP_KERNEL);
104 if (! comp->rstate)
106 comp->rslot_limit = rslots - 1;
111 comp->tstate = kzalloc(tsize, GFP_KERNEL);
112 if (! comp->tstate)
114 comp->tslot_limit = tslots - 1;
117 comp
150 slhc_free(struct slcompress *comp) argument
223 slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, unsigned char *ocp, unsigned char **cpp, int compress_cid) argument
484 slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) argument
631 slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) argument
681 slhc_toss(struct slcompress *comp) argument
693 slhc_toss(struct slcompress *comp) argument
699 slhc_uncompress(struct slcompress *comp, unsigned char *icp, int isize) argument
705 slhc_compress(struct slcompress *comp, unsigned char *icp, int isize, unsigned char *ocp, unsigned char **cpp, int compress_cid) argument
713 slhc_remember(struct slcompress *comp, unsigned char *icp, int isize) argument
720 slhc_free(struct slcompress *comp) argument
[all...]
/drivers/misc/altera-stapl/
H A DMakefile1 altera-stapl-objs = altera-lpt.o altera-jtag.o altera-comp.o altera.o
/drivers/staging/tidspbridge/include/dspbridge/
H A Dsync.h31 * @comp: use to signal events
36 struct completion comp; member in struct:sync_object
49 init_completion(&event->comp);
62 INIT_COMPLETION(event->comp);
92 res = wait_for_completion_interruptible_timeout(&event->comp,
/drivers/staging/tidspbridge/core/
H A Dsync.c39 complete(&event->comp);
74 if (completion_done(&events[i]->comp)) {
75 INIT_COMPLETION(events[i]->comp);
94 if (completion_done(&events[i]->comp)) {
95 INIT_COMPLETION(events[i]->comp);
/drivers/video/
H A Dsyscopyarea.c44 *dst = comp(*src, *dst, first);
49 *dst = comp(*src, *dst, first);
73 *dst = comp(*src, *dst, last);
89 *dst = comp(*src >> right, *dst, first);
92 *dst = comp(*src << left, *dst, first);
97 *dst = comp(d0 << left | d1 >> right, *dst,
112 *dst = comp(d0 >> right, *dst, first);
118 *dst = comp(d0 << left | *dst >> right, *dst, first);
152 *dst = comp(d0 << left, *dst, last);
156 *dst = comp(d
[all...]
H A Dsysfillrect.c40 *dst = comp(pat, *dst, first);
46 *dst = comp(pat, *dst, first);
68 *dst = comp(pat, *dst, last);
96 *dst = comp(pat, *dst, first);
101 *dst = comp(pat, *dst, first);
127 *dst = comp(pat, *dst, last);
151 *dst = comp(*dst ^ val, *dst, first);
156 *dst = comp(*dst ^ val, *dst, first);
178 *dst = comp(*dst ^ val, *dst, last);
207 *dst = comp(*ds
[all...]
H A Dcfbcopyarea.c64 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst);
70 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst);
94 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), last), dst);
124 FB_WRITEL(comp(d0, FB_READL(dst), first), dst);
151 FB_WRITEL(comp(d0, FB_READL(dst), first), dst);
194 FB_WRITEL(comp(d0, FB_READL(dst), last), dst);
236 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst);
242 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), first), dst);
266 FB_WRITEL( comp( FB_READL(src), FB_READL(dst), last), dst);
295 FB_WRITEL(comp(d
[all...]
H A Dcfbfillrect.c50 FB_WRITEL(comp(pat, FB_READL(dst), first), dst);
56 FB_WRITEL(comp(pat, FB_READL(dst), first), dst);
79 FB_WRITEL(comp(pat, FB_READL(dst), last), dst);
107 FB_WRITEL(comp(pat, FB_READL(dst), first), dst);
112 FB_WRITEL(comp(pat, FB_READL(dst), first), dst);
138 FB_WRITEL(comp(pat, FB_READL(dst), last), dst);
164 FB_WRITEL(comp(dat ^ val, dat, first), dst);
170 FB_WRITEL(comp(dat ^ val, dat, first), dst);
203 FB_WRITEL(comp(dat ^ val, dat, last), dst);
234 FB_WRITEL(comp(da
[all...]
H A Dfb_draw.h13 comp(unsigned long a, unsigned long b, unsigned long mask) function
89 val = comp(val >> 1, val << 1, REV_PIXELS_MASK1);
91 val = comp(val >> 2, val << 2, REV_PIXELS_MASK2);
93 val = comp(val >> 4, val << 4, REV_PIXELS_MASK4);
H A Dc2p_core.h150 static inline u32 comp(u32 a, u32 b, u32 mask) function
/drivers/hwmon/
H A Dntc_thermistor.c122 const struct ntc_compensation *comp; member in struct:ntc_data
180 if (data->comp[mid].ohm < ohm)
182 else if (data->comp[mid].ohm > ohm)
189 if (data->comp[mid].ohm > ohm) {
200 if (data->comp[mid].ohm <= ohm) {
211 if (data->comp[mid].ohm <= ohm) {
231 *temp = data->comp[low].temp_C * 1000;
233 *temp = data->comp[high].temp_C * 1000;
237 *temp = data->comp[low].temp_C * 1000 +
238 ((data->comp[hig
[all...]
/drivers/infiniband/core/
H A Dsa.h48 complete(&client->comp);
H A Dmad_priv.h112 struct completion comp; member in struct:ib_mad_agent_private
121 struct completion comp; member in struct:ib_mad_snoop_private
H A Duverbs.h74 struct completion comp; member in struct:ib_uverbs_device
106 struct ib_uverbs_comp_event_desc comp; member in union:ib_uverbs_event::__anon919
/drivers/net/wireless/rtlwifi/
H A Ddebug.h169 #define RT_TRACE(rtlpriv, comp, level, fmt, ...) \
171 if (unlikely(((comp) & rtlpriv->dbg.global_debugcomponents) && \
211 int comp, int level,
224 int comp, int level,
210 RT_TRACE(struct rtl_priv *rtlpriv, int comp, int level, const char *fmt, ...) argument
223 RT_PRINT_DATA(struct rtl_priv *rtlpriv, int comp, int level, const char *titlestring, const void *hexdata, size_t hexdatalen) argument
/drivers/rtc/
H A Drtc-ep93xx.c46 unsigned long comp; local
48 comp = __raw_readl(ep93xx_rtc->mmio_base + EP93XX_RTC_SWCOMP);
51 *preload = (comp & EP93XX_RTC_SWCOMP_INT_MASK)
55 *delete = (comp & EP93XX_RTC_SWCOMP_DEL_MASK)
/drivers/gpu/drm/nouveau/
H A Dnv50_vram.c88 int comp = (memtype & 0x300) >> 8; local
103 if (comp) {
106 int n = (size >> 4) * comp;
114 comp = 0;
119 mem->memtype = (comp << 7) | type;
H A Dnv50_vm.c77 u32 comp = (mem->memtype & 0x180) >> 7; local
105 if (comp) {
106 u32 tag = mem->tag->start + ((delta >> 16) * comp);
/drivers/scsi/bfa/
H A Dbfad_bsg.c244 init_completion(&fcomp.comp);
253 wait_for_completion(&fcomp.comp);
265 init_completion(&fcomp.comp);
275 wait_for_completion(&fcomp.comp);
326 init_completion(&fcomp.comp);
336 wait_for_completion(&fcomp.comp);
349 init_completion(&fcomp.comp);
358 wait_for_completion(&fcomp.comp);
1133 init_completion(&fcomp.comp);
1142 wait_for_completion(&fcomp.comp);
[all...]
H A Dbfad_drv.h197 struct completion comp; member in struct:bfad_s
279 struct completion comp; member in struct:bfad_fcxp
284 struct completion comp; member in struct:bfad_hal_comp
/drivers/char/ipmi/
H A Dipmi_poweroff.c130 struct completion *comp = recv_msg->user_msg_data; local
132 if (comp)
133 complete(comp);
146 struct completion comp; local
148 init_completion(&comp);
150 rv = ipmi_request_supply_msgs(user, addr, 0, send_msg, &comp,
155 wait_for_completion(&comp);
/drivers/block/
H A Dsunvdc.c457 struct vio_completion comp; local
555 init_completion(&comp.com);
556 comp.waiting_for = WAITING_FOR_GEN_CMD;
557 port->vio.cmp = &comp;
580 wait_for_completion(&comp.com);
581 err = comp.err;
643 struct vio_completion comp; local
648 init_completion(&comp.com);
649 comp.err = 0;
650 comp
[all...]
/drivers/regulator/
H A Dtwl-regulator.c1122 #define TWL_OF_MATCH(comp, family, label) \
1124 .compatible = comp, \
1128 #define TWL4030_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWL4030, label)
1129 #define TWL6030_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWL6030, label)
1130 #define TWL6025_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWL6025, label)
1131 #define TWLFIXED_OF_MATCH(comp, label) TWL_OF_MATCH(comp, TWLFIXE
[all...]
/drivers/mtd/nand/
H A Dalauda.c192 struct completion comp; member in struct:alauda_sg_request
197 struct completion *comp = urb->context; local
199 if (comp)
200 complete(comp);
225 init_completion(&sg.comp);
231 alauda_complete, &sg.comp);
239 if (!wait_for_completion_timeout(&sg.comp, TIMEOUT)) {
290 init_completion(&sg.comp);
296 alauda_complete, &sg.comp);
304 if (!wait_for_completion_timeout(&sg.comp, TIMEOU
[all...]
/drivers/scsi/ibmvscsi/
H A Dibmvscsi.h74 struct completion comp; member in struct:srp_event_struct

Completed in 9856 milliseconds

1234