Home
last modified time | relevance | path

Searched refs:odd (Results 1 – 17 of 17) sorted by relevance

/drivers/media/platform/vivid/
Dvivid-tpg.c901 u8 buf[TPG_MAX_PLANES][8], int color, bool odd) in gen_twopix() argument
903 unsigned offset = odd * tpg->twopixelsize[0] / 2; in gen_twopix()
940 if (odd) { in gen_twopix()
953 if (odd) { in gen_twopix()
969 if (odd) { in gen_twopix()
982 if (odd) { in gen_twopix()
1005 if (odd) { in gen_twopix()
1015 if (odd) { in gen_twopix()
1025 if (odd) { in gen_twopix()
1035 if (odd) { in gen_twopix()
[all …]
/drivers/media/pci/ivtv/
Divtv-vbi.c53 data.data[0] = cc->odd[0]; in ivtv_set_cc()
54 data.data[1] = cc->odd[1]; in ivtv_set_cc()
106 cc->odd[0] = d->data[0]; in ivtv_write_vbi_line()
107 cc->odd[1] = d->data[1]; in ivtv_write_vbi_line()
149 struct vbi_cc cc = { .odd = { 0x80, 0x80 }, .even = { 0x80, 0x80 } }; in ivtv_write_vbi()
165 struct vbi_cc cc = { .odd = { 0x80, 0x80 }, .even = { 0x80, 0x80 } }; in ivtv_write_vbi_from_user()
466 struct vbi_cc cc = { .odd = { 0x80, 0x80 }, .even = { 0x80, 0x80 } }; in ivtv_disable_cc()
478 struct vbi_cc cc = { .odd = { 0x80, 0x80 }, .even = { 0x80, 0x80 } }; in ivtv_vbi_work_handler()
502 cc.odd[0] = data.data[0]; in ivtv_vbi_work_handler()
503 cc.odd[1] = data.data[1]; in ivtv_vbi_work_handler()
[all …]
Divtv-driver.h531 u8 odd[2]; /* two-byte payload of odd field */ member
/drivers/scsi/
Deata_pio.c168 unsigned char stat, odd; in eata_pio_int_handler() local
192 odd = 0; in eata_pio_int_handler()
193 while ((cmd->SCp.Status) && ((z > 0) || (odd))) { in eata_pio_int_handler()
194 if (odd) { in eata_pio_int_handler()
197 odd = 0; in eata_pio_int_handler()
208 odd = 1; in eata_pio_int_handler()
217 odd = 0; in eata_pio_int_handler()
219 while ((cmd->SCp.Status) && ((z > 0) || (odd))) { in eata_pio_int_handler()
220 if (odd) { in eata_pio_int_handler()
225 odd = 0; in eata_pio_int_handler()
[all …]
/drivers/net/wireless/realtek/rtl818x/rtl8180/
Dmax2820.c78 bool odd; in max2820_rf_calc_rssi() local
80 odd = !!(agc & 1); in max2820_rf_calc_rssi()
83 if (odd) in max2820_rf_calc_rssi()
/drivers/pcmcia/
Dm32r_cfc.c76 u_long odd; in pcc_port2addr() local
79 odd = (port&1) << 11; in pcc_port2addr()
81 addr = CFC_IO_MAPBASE_BYTE - CFC_IOPORT_BASE + odd + port; in pcc_port2addr()
89 u_long odd; in pcc_port2addr() local
93 odd = port & 1; in pcc_port2addr()
94 port -= odd; in pcc_port2addr()
95 odd <<= 11; in pcc_port2addr()
96 addr = (addr | CFC_IO_MAPBASE_BYTE) + odd + (port & 0xfff); in pcc_port2addr()
/drivers/media/usb/usbtv/
Dusbtv-video.c256 static void usbtv_chunk_to_vbuf(u32 *frame, __be32 *src, int chunk_no, int odd) in usbtv_chunk_to_vbuf() argument
263 int part_index = (line * 2 + !odd) * 3 + (part_no % 3); in usbtv_chunk_to_vbuf()
277 int frame_id, odd, chunk_no; in usbtv_image_chunk() local
286 odd = USBTV_ODD(chunk); in usbtv_image_chunk()
312 usbtv_chunk_to_vbuf(frame, &chunk[1], chunk_no, odd); in usbtv_image_chunk()
316 if (odd && chunk_no == usbtv->n_chunks-1) { in usbtv_image_chunk()
/drivers/usb/host/
Dr8a66597.h237 int odd = len & 0x0001; in r8a66597_write_fifo() local
241 if (unlikely(odd)) { in r8a66597_write_fifo()
/drivers/media/usb/stk1160/
Dstk1160.h86 int odd; /* current oddity */ member
Dstk1160-video.c138 if (!buf->odd) in stk1160_copy_video()
293 dev->isoc_ctl.buf->odd = *p & 0x40; in stk1160_process_isoc()
/drivers/usb/gadget/udc/
Dm66592-udc.h589 unsigned long odd = len & 0x0001; in m66592_write_fifo() local
593 if (odd) { in m66592_write_fifo()
/drivers/net/ethernet/8390/
Dpcnet_cs.c1319 int odd; in copyin() local
1323 odd = (c & 1); c >>= 1; in copyin()
1329 if (odd) in copyin()
1337 int odd; in copyout() local
1341 odd = (c & 1); c >>= 1; in copyout()
1347 if (odd) in copyout()
/drivers/mtd/onenand/
DKconfig61 while Plane2 has only odd blocks such as block1, block3, block5.
/drivers/block/
Damiflop.c691 ulong *odd, *even; in decode() local
695 odd = raw; in decode()
696 even = odd + len; in decode()
702 *data++ = ((*odd++ & 0x55555555) << 1) | (*even++ & 0x55555555); in decode()
/drivers/media/pci/bt8xx/
Dbttv-risc.c436 bttv_apply_geo(struct bttv *btv, struct bttv_geometry *geo, int odd) in bttv_apply_geo() argument
438 int off = odd ? 0x80 : 0x00; in bttv_apply_geo()
/drivers/tty/serial/
Dcrisv10.c2892 info->tx_ctrl |= IO_STATE(R_SERIAL0_TR_CTRL, tr_par, odd); in change_speed()
2893 info->rx_ctrl |= IO_STATE(R_SERIAL0_REC_CTRL, rec_par, odd); in change_speed()
/drivers/scsi/aic7xxx/
Daic79xx.reg3694 * the current data phase is odd.