Searched refs:odd (Results 1 - 16 of 16) sorted by relevance

/drivers/net/wireless/rtl818x/rtl8180/
H A Dmax2820.c78 bool odd; local
80 odd = !!(agc & 1);
83 if (odd)
/drivers/media/pci/ivtv/
H A Divtv-vbi.c53 data.data[0] = cc->odd[0];
54 data.data[1] = cc->odd[1];
106 cc->odd[0] = d->data[0];
107 cc->odd[1] = d->data[1];
149 struct vbi_cc cc = { .odd = { 0x80, 0x80 }, .even = { 0x80, 0x80 } };
165 struct vbi_cc cc = { .odd = { 0x80, 0x80 }, .even = { 0x80, 0x80 } };
466 struct vbi_cc cc = { .odd = { 0x80, 0x80 }, .even = { 0x80, 0x80 } };
478 struct vbi_cc cc = { .odd = { 0x80, 0x80 }, .even = { 0x80, 0x80 } };
502 cc.odd[0] = data.data[0];
503 cc.odd[
[all...]
H A Divtv-driver.h531 u8 odd[2]; /* two-byte payload of odd field */ member in struct:vbi_cc
543 u8 raw_decoder_sav_odd_field; /* raw VBI Start Active Video digitizer code of odd field */
546 u8 sliced_decoder_sav_odd_field; /* sliced VBI Start Active Video digitizer code of odd field */
549 u32 start[2]; /* start of first VBI line in the odd/even fields */
/drivers/scsi/
H A Deata_pio.c168 unsigned char stat, odd; local
192 odd = 0;
193 while ((cmd->SCp.Status) && ((z > 0) || (odd))) {
194 if (odd) {
197 odd = 0;
208 odd = 1;
217 odd = 0;
219 while ((cmd->SCp.Status) && ((z > 0) || (odd))) {
220 if (odd) {
225 odd
[all...]
/drivers/pcmcia/
H A Dm32r_cfc.c76 u_long odd; local
79 odd = (port&1) << 11;
81 addr = CFC_IO_MAPBASE_BYTE - CFC_IOPORT_BASE + odd + port;
89 u_long odd; local
93 odd = port & 1;
94 port -= odd;
95 odd <<= 11;
96 addr = (addr | CFC_IO_MAPBASE_BYTE) + odd + (port & 0xfff);
/drivers/media/usb/stk1160/
H A Dstk1160.h87 int odd; /* current oddity */ member in struct:stk1160_buffer
H A Dstk1160-video.c140 if (!buf->odd)
295 dev->isoc_ctl.buf->odd = *p & 0x40;
/drivers/usb/host/
H A Dr8a66597.h237 int odd = len & 0x0001; local
241 if (unlikely(odd)) {
/drivers/media/usb/usbtv/
H A Dusbtv-video.c256 static void usbtv_chunk_to_vbuf(u32 *frame, __be32 *src, int chunk_no, int odd) argument
263 int part_index = (line * 2 + !odd) * 3 + (part_no % 3);
277 int frame_id, odd, chunk_no; local
286 odd = USBTV_ODD(chunk);
312 usbtv_chunk_to_vbuf(frame, &chunk[1], chunk_no, odd);
316 if (odd && chunk_no == usbtv->n_chunks-1) {
/drivers/media/platform/vivid/
H A Dvivid-tpg.c574 /* 'odd' is true for pixels 1, 3, 5, etc. and false for pixels 0, 2, 4, etc. */
576 u8 buf[TPG_MAX_PLANES][8], int color, bool odd)
578 unsigned offset = odd * tpg->twopixelsize[0] / 2;
595 buf[1][offset] = odd ? b_v : g_u;
599 buf[1][offset] = odd ? g_u : b_v;
604 buf[0][offset + 1] = odd ? b_v : g_u;
607 buf[0][offset] = odd ? b_v : g_u;
612 buf[0][offset + 1] = odd ? g_u : b_v;
615 buf[0][offset] = odd ? g_u : b_v;
575 gen_twopix(struct tpg_data *tpg, u8 buf[TPG_MAX_PLANES][8], int color, bool odd) argument
/drivers/net/ethernet/8390/
H A Dpcnet_cs.c1229 What effect will an odd byte count have on the 8390?
1322 int odd; local
1326 odd = (c & 1); c >>= 1;
1332 if (odd)
1340 int odd; local
1344 odd = (c & 1); c >>= 1;
1350 if (odd)
/drivers/usb/gadget/udc/
H A Dm66592-udc.h589 unsigned long odd = len & 0x0001; local
593 if (odd) {
/drivers/block/
H A Damiflop.c691 ulong *odd, *even; local
695 odd = raw;
696 even = odd + len;
702 *data++ = ((*odd++ & 0x55555555) << 1) | (*even++ & 0x55555555);
801 /* odd bits */
/drivers/media/platform/
H A Dvino.c187 struct vino_clipping odd; member in struct:vino_data_norm
422 .odd = {
444 .odd = {
466 .odd = {
488 .odd = {
1445 y &= ~1; /* odd/even fields */
1823 ch->clip_start = VINO_CLIP_ODD(norm->odd.top + vcs->clipping.top / 2) |
1827 ch->clip_end = VINO_CLIP_ODD(norm->odd.top +
/drivers/media/pci/bt8xx/
H A Dbttv-risc.c410 /* Even to store Cb first, odd for Cr. */
436 bttv_apply_geo(struct bttv *btv, struct bttv_geometry *geo, int odd) argument
438 int off = odd ? 0x80 : 0x00;
/drivers/tty/serial/
H A Dcrisv10.c2946 /* set odd parity (or Mark if CMSPAR) */
2947 info->tx_ctrl |= IO_STATE(R_SERIAL0_TR_CTRL, tr_par, odd);
2948 info->rx_ctrl |= IO_STATE(R_SERIAL0_REC_CTRL, rec_par, odd);

Completed in 399 milliseconds