Home
last modified time | relevance | path

Searched refs:bh (Results 1 – 20 of 20) sorted by relevance

/drivers/usb/gadget/
Df_mass_storage.c478 struct fsg_buffhd *bh, unsigned int length) in set_bulk_out_req_length() argument
482 bh->bulk_out_intended_length = length; in set_bulk_out_req_length()
486 bh->outreq->length = length; in set_bulk_out_req_length()
566 struct fsg_buffhd *bh = req->context; in bulk_in_complete() local
577 bh->inreq_busy = 0; in bulk_in_complete()
578 bh->state = BUF_STATE_EMPTY; in bulk_in_complete()
586 struct fsg_buffhd *bh = req->context; in bulk_out_complete() local
589 if (req->status || req->actual != bh->bulk_out_intended_length) in bulk_out_complete()
591 req->status, req->actual, bh->bulk_out_intended_length); in bulk_out_complete()
598 bh->outreq_busy = 0; in bulk_out_complete()
[all …]
Dfile_storage.c503 struct fsg_buffhd *bh, unsigned int length) in set_bulk_out_req_length() argument
507 bh->bulk_out_intended_length = length; in set_bulk_out_req_length()
511 bh->outreq->length = length; in set_bulk_out_req_length()
723 struct fsg_buffhd *bh = req->context; in bulk_in_complete() local
734 bh->inreq_busy = 0; in bulk_in_complete()
735 bh->state = BUF_STATE_EMPTY; in bulk_in_complete()
743 struct fsg_buffhd *bh = req->context; in bulk_out_complete() local
746 if (req->status || req->actual != bh->bulk_out_intended_length) in bulk_out_complete()
749 bh->bulk_out_intended_length); in bulk_out_complete()
756 bh->outreq_busy = 0; in bulk_out_complete()
[all …]
/drivers/md/
Dbitmap.c277 struct buffer_head *bh; in write_page() local
286 bh = page_buffers(page); in write_page()
288 while (bh && bh->b_blocknr) { in write_page()
290 set_buffer_locked(bh); in write_page()
291 set_buffer_mapped(bh); in write_page()
292 submit_bh(WRITE | REQ_SYNC, bh); in write_page()
293 bh = bh->b_this_page; in write_page()
304 static void end_bitmap_write(struct buffer_head *bh, int uptodate) in end_bitmap_write() argument
306 struct bitmap *bitmap = bh->b_private; in end_bitmap_write()
328 struct buffer_head *bh = page_buffers(page); in free_buffers() local
[all …]
/drivers/net/usb/
Dusbnet.c316 tasklet_schedule(&dev->bh); in defer_bh()
387 tasklet_schedule (&dev->bh); in rx_submit()
579 tasklet_schedule(&dev->bh); in usbnet_resume_rx()
648 tasklet_schedule(&dev->bh); in usbnet_unlink_rx_urbs()
722 tasklet_kill (&dev->bh); in usbnet_stop()
795 tasklet_schedule (&dev->bh); in usbnet_open()
965 tasklet_schedule (&dev->bh); in kevent()
990 tasklet_schedule (&dev->bh); in kevent()
1076 tasklet_schedule (&dev->bh); in usbnet_tx_timeout()
1264 tasklet_schedule (&dev->bh); in usbnet_bh()
[all …]
Dcdc_ncm.c98 struct tasklet_struct bh; member
472 ctx->bh.data = (unsigned long)ctx; in cdc_ncm_bind()
473 ctx->bh.func = cdc_ncm_txpath_bh; in cdc_ncm_bind()
627 tasklet_kill(&ctx->bh); in cdc_ncm_unbind()
904 tasklet_schedule(&ctx->bh); in cdc_ncm_tx_timer_cb()
/drivers/net/wimax/i2400m/
Dfw.c709 const struct i2400m_bootrom_header *bh; in i2400m_dnload_bcf() local
718 bh = (void *) bcf + offset; in i2400m_dnload_bcf()
719 data_size = le32_to_cpu(bh->data_size); in i2400m_dnload_bcf()
720 section_size = ALIGN(sizeof(*bh) + data_size, 4); in i2400m_dnload_bcf()
723 section, offset, sizeof(*bh) + data_size, in i2400m_dnload_bcf()
724 le32_to_cpu(bh->target_addr)); in i2400m_dnload_bcf()
731 if (i2400m_brh_get_opcode(bh) == I2400M_BRH_SIGNED_JUMP || in i2400m_dnload_bcf()
732 i2400m_brh_get_opcode(bh) == I2400M_BRH_JUMP) { in i2400m_dnload_bcf()
745 ret = i2400m_bm_cmd(i2400m, bh, section_size, in i2400m_dnload_bcf()
750 offset, sizeof(*bh) + data_size, (int) ret); in i2400m_dnload_bcf()
/drivers/staging/cxt1e1/
Dmusycc.c232 int bh; in musycc_dump_ring() local
234 bh = atomic_read (&ci->bh_pending); in musycc_dump_ring()
236 bh, max_bh, ci->iqp_headx, ci->iqp_tailx, max_intcnt, in musycc_dump_ring()
1363 unsigned int bh = atomic_read (&ci->bh_pending); in musycc_intr_bh_tasklet() local
1365 max_bh = max (bh, max_bh); in musycc_intr_bh_tasklet()
1623 int bh; in musycc_intr_bh_tasklet() local
1625 bh = atomic_read (&CI->bh_pending); in musycc_intr_bh_tasklet()
1627 ci->iqp_headx, ci->iqp_tailx, bh); in musycc_intr_bh_tasklet()
/drivers/video/console/
Dbitblit.c212 unsigned int bh = info->var.yres - (vc->vc_rows*ch); in bit_clear_margins() local
214 unsigned int bs = info->var.yres - bh; in bit_clear_margins()
228 if (bh) { in bit_clear_margins()
232 region.height = bh; in bit_clear_margins()
Dfbcon_ccw.c197 unsigned int bh = info->var.xres - (vc->vc_rows*ch); in ccw_clear_margins() local
213 if (bh) { in ccw_clear_margins()
217 region.width = bh; in ccw_clear_margins()
Dfbcon_cw.c181 unsigned int bh = info->var.xres - (vc->vc_rows*ch); in cw_clear_margins() local
197 if (bh) { in cw_clear_margins()
201 region.width = bh; in cw_clear_margins()
Dfbcon_ud.c228 unsigned int bh = info->var.yres - (vc->vc_rows*ch); in ud_clear_margins() local
243 if (bh) { in ud_clear_margins()
246 region.height = bh; in ud_clear_margins()
/drivers/usb/host/
Dehci-hcd.c851 int bh; in ehci_irq() local
878 bh = 0; in ehci_irq()
893 bh = 1; in ehci_irq()
970 bh = 1; in ehci_irq()
973 if (bh) in ehci_irq()
Doxu210hp-hcd.c2441 int bh; in oxu210_hcd_irq() local
2463 bh = 0; in oxu210_hcd_irq()
2474 bh = 1; in oxu210_hcd_irq()
2479 bh = 1; in oxu210_hcd_irq()
2525 bh = 1; in oxu210_hcd_irq()
2529 if (bh) in oxu210_hcd_irq()
/drivers/mtd/nand/
Dcafe_nand.c606 u8 ah, al, bh, bl, ch, cl; in gf4096_mul() local
610 bh = b >> 6; in gf4096_mul()
613 ch = gf64_mul(ah ^ al, bh ^ bl) ^ gf64_mul(al, bl); in gf4096_mul()
614 cl = gf64_mul(gf64_mul(ah, bh), 0x21) ^ gf64_mul(al, bl); in gf4096_mul()
/drivers/video/
Dffb.c208 u32 bh; member
502 upa_writel(rect->height, &fbc->bh); in ffb_fillrect()
537 upa_writel(area->height, &fbc->bh); in ffb_copyarea()
/drivers/scsi/aic7xxx/
Daic7xxx_osm.c708 uint8_t *bh; in ahc_linux_biosparam() local
720 bh = scsi_bios_ptable(bdev); in ahc_linux_biosparam()
721 if (bh) { in ahc_linux_biosparam()
722 ret = scsi_partsize(bh, capacity, in ahc_linux_biosparam()
724 kfree(bh); in ahc_linux_biosparam()
Daic79xx_osm.c726 uint8_t *bh; in ahd_linux_biosparam() local
736 bh = scsi_bios_ptable(bdev); in ahd_linux_biosparam()
737 if (bh) { in ahd_linux_biosparam()
738 ret = scsi_partsize(bh, capacity, in ahd_linux_biosparam()
740 kfree(bh); in ahd_linux_biosparam()
/drivers/gpu/drm/radeon/
Dr600_cs.c226 unsigned bh; in r600_fmt_get_nblocksy() local
231 bh = color_formats_table[format].blockheight; in r600_fmt_get_nblocksy()
232 if (bh == 0) in r600_fmt_get_nblocksy()
235 return (h + bh - 1) / bh; in r600_fmt_get_nblocksy()
/drivers/scsi/
Dmegaraid.c3135 unsigned char *bh; in megaraid_biosparam() local
3166 bh = scsi_bios_ptable(bdev); in megaraid_biosparam()
3168 if( bh ) { in megaraid_biosparam()
3169 rval = scsi_partsize(bh, capacity, in megaraid_biosparam()
3171 kfree(bh); in megaraid_biosparam()
/drivers/staging/xgifb/
Dvb_setmode.c1620 unsigned short temp, bh, bl; in XGI_WriteDAC() local
1622 bh = ah; in XGI_WriteDAC()
1626 temp = bh; in XGI_WriteDAC()
1627 bh = dh; in XGI_WriteDAC()
1635 bl = bh; in XGI_WriteDAC()
1636 bh = temp; in XGI_WriteDAC()
1640 outb((unsigned short) bh, pVBInfo->P3c9); in XGI_WriteDAC()