Home
last modified time | relevance | path

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

12

/drivers/usb/gadget/function/
Df_mass_storage.c363 struct fsg_buffhd *bh, unsigned int length) in set_bulk_out_req_length() argument
367 bh->bulk_out_intended_length = length; in set_bulk_out_req_length()
371 bh->outreq->length = length; in set_bulk_out_req_length()
447 struct fsg_buffhd *bh = req->context; in bulk_in_complete() local
456 smp_store_release(&bh->state, BUF_STATE_EMPTY); in bulk_in_complete()
463 struct fsg_buffhd *bh = req->context; in bulk_out_complete() local
466 if (req->status || req->actual != bh->bulk_out_intended_length) in bulk_out_complete()
468 req->status, req->actual, bh->bulk_out_intended_length); in bulk_out_complete()
473 smp_store_release(&bh->state, BUF_STATE_FULL); in bulk_out_complete()
576 static bool start_in_transfer(struct fsg_common *common, struct fsg_buffhd *bh) in start_in_transfer() argument
[all …]
/drivers/scsi/esas2r/
Desas2r_flash.c247 struct esas2r_boot_header *bh; in fix_bios() local
250 bh = in fix_bios()
253 bh->device_id = cpu_to_le16(a->pcid->device); in fix_bios()
281 struct esas2r_boot_header *bh; in fix_efi() local
287 bh = (struct esas2r_boot_header *)((u8 *)ei + in fix_efi()
290 bh->device_id = cpu_to_le16(a->pcid->device); in fix_efi()
291 thislen = (u32)le16_to_cpu(bh->image_length) * 512; in fix_efi()
634 struct esas2r_boot_header *bh; in chk_boot() local
644 bh = (struct esas2r_boot_header *)((char *)bi + hdroffset); in chk_boot()
646 if (bh->signature[0] != 'P' in chk_boot()
[all …]
/drivers/usb/core/
Dhcd.c1694 struct giveback_urb_bh *bh = from_tasklet(bh, t, bh); in usb_giveback_urb_bh() local
1697 spin_lock_irq(&bh->lock); in usb_giveback_urb_bh()
1698 bh->running = true; in usb_giveback_urb_bh()
1700 list_replace_init(&bh->head, &local_list); in usb_giveback_urb_bh()
1701 spin_unlock_irq(&bh->lock); in usb_giveback_urb_bh()
1708 bh->completing_ep = urb->ep; in usb_giveback_urb_bh()
1710 bh->completing_ep = NULL; in usb_giveback_urb_bh()
1714 spin_lock_irq(&bh->lock); in usb_giveback_urb_bh()
1715 if (!list_empty(&bh->head)) in usb_giveback_urb_bh()
1717 bh->running = false; in usb_giveback_urb_bh()
[all …]
/drivers/md/
Dmd-bitmap.c283 struct buffer_head *bh; in write_page() local
292 bh = page_buffers(page); in write_page()
294 while (bh && bh->b_blocknr) { in write_page()
296 set_buffer_locked(bh); in write_page()
297 set_buffer_mapped(bh); in write_page()
298 submit_bh(REQ_OP_WRITE, REQ_SYNC, bh); in write_page()
299 bh = bh->b_this_page; in write_page()
310 static void end_bitmap_write(struct buffer_head *bh, int uptodate) in end_bitmap_write() argument
312 struct bitmap *bitmap = bh->b_private; in end_bitmap_write()
322 struct buffer_head *bh; in free_buffers() local
[all …]
/drivers/staging/wfx/
Dbh.c238 struct wfx_dev *wdev = container_of(work, struct wfx_dev, hif.bh); in bh_work()
276 queue_work(system_highpri_wq, &wdev->hif.bh); in wfx_bh_request_rx()
291 queue_work(system_highpri_wq, &wdev->hif.bh); in wfx_bh_request_tx()
325 INIT_WORK(&wdev->hif.bh, bh_work); in wfx_bh_register()
332 flush_work(&wdev->hif.bh); in wfx_bh_unregister()
Dbh.h18 struct work_struct bh; member
DMakefile7 bh.o \
/drivers/net/wimax/i2400m/
Dfw.c707 const struct i2400m_bootrom_header *bh; in i2400m_dnload_bcf() local
716 bh = (void *) bcf + offset; in i2400m_dnload_bcf()
717 data_size = le32_to_cpu(bh->data_size); in i2400m_dnload_bcf()
718 section_size = ALIGN(sizeof(*bh) + data_size, 4); in i2400m_dnload_bcf()
721 section, offset, sizeof(*bh) + data_size, in i2400m_dnload_bcf()
722 le32_to_cpu(bh->target_addr)); in i2400m_dnload_bcf()
729 if (i2400m_brh_get_opcode(bh) == I2400M_BRH_SIGNED_JUMP || in i2400m_dnload_bcf()
730 i2400m_brh_get_opcode(bh) == I2400M_BRH_JUMP) { in i2400m_dnload_bcf()
743 ret = i2400m_bm_cmd(i2400m, bh, section_size, in i2400m_dnload_bcf()
748 offset, sizeof(*bh) + data_size, (int) ret); in i2400m_dnload_bcf()
/drivers/net/usb/
Dusbnet.c440 tasklet_schedule(&dev->bh); in defer_bh()
522 tasklet_schedule (&dev->bh); in rx_submit()
684 tasklet_schedule(&dev->bh); in usbnet_resume_rx()
753 tasklet_schedule(&dev->bh); in usbnet_unlink_rx_urbs()
836 tasklet_kill (&dev->bh); in usbnet_stop()
921 tasklet_schedule (&dev->bh); in usbnet_open()
1074 tasklet_schedule(&dev->bh); in __handle_link_change()
1148 tasklet_schedule (&dev->bh); in usbnet_deferred_kevent()
1173 tasklet_schedule (&dev->bh); in usbnet_deferred_kevent()
1274 tasklet_schedule (&dev->bh); in usbnet_tx_timeout()
[all …]
Dlan78xx.c385 struct tasklet_struct bh; member
1274 tasklet_schedule(&dev->bh); in lan78xx_link_reset()
2311 tasklet_schedule(&dev->bh); in lan78xx_change_mtu()
2954 tasklet_kill(&dev->bh); in lan78xx_stop()
3051 tasklet_schedule(&dev->bh); in defer_bh()
3133 tasklet_schedule(&dev->bh); in lan78xx_start_xmit()
3434 tasklet_schedule(&dev->bh); in rx_submit()
3663 tasklet_schedule(&dev->bh); in lan78xx_rx_bh()
3753 tasklet_schedule(&dev->bh); in lan78xx_delayedwork()
3861 tasklet_schedule(&dev->bh); in lan78xx_tx_timeout()
[all …]
/drivers/staging/media/atomisp/pci/isp/kernels/bh/bh_2/
Dia_css_bh_param.h38 u32 bh[ISP_HIST_COMPONENTS][IA_CSS_HMEM_BH_UNIT_SIZE]; member
/drivers/staging/media/atomisp/pci/
Dia_css_isp_params.h79 struct ia_css_isp_parameter bh; member
129 struct ia_css_isp_parameter bh; member
/drivers/video/fbdev/core/
Dbitblit.c211 unsigned int bh = info->var.yres - (vc->vc_rows*ch); in bit_clear_margins() local
213 unsigned int bs = info->var.yres - bh; in bit_clear_margins()
227 if ((int) bh > 0) { in bit_clear_margins()
231 region.height = bh; in bit_clear_margins()
Dfbcon_cw.c180 unsigned int bh = info->var.xres - (vc->vc_rows*ch); in cw_clear_margins() local
195 if ((int) bh > 0) { in cw_clear_margins()
199 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
242 if ((int) bh > 0) { in ud_clear_margins()
245 region.height = bh; in ud_clear_margins()
Dfbcon_ccw.c197 unsigned int bh = info->var.xres - (vc->vc_rows*ch); in ccw_clear_margins() local
212 if ((int) bh > 0) { in ccw_clear_margins()
216 region.width = bh; in ccw_clear_margins()
/drivers/net/wireless/st/cw1200/
DMakefile8 bh.o \
/drivers/usb/host/
Dehci-hcd.c717 int bh; in ehci_irq() local
760 bh = 0; in ehci_irq()
768 bh = 1; in ehci_irq()
859 bh = 0; in ehci_irq()
862 if (bh) in ehci_irq()
/drivers/gpu/drm/nouveau/
Dnouveau_display.c265 uint32_t gob_size, bw, bh; in nouveau_check_bl_size() local
285 bh = nouveau_get_height_in_blocks(drm, h, tile_mode); in nouveau_check_bl_size()
287 bl_size = bw * bh * (1 << tile_mode) * gob_size; in nouveau_check_bl_size()
290 offset, stride, h, tile_mode, bw, bh, gob_size, bl_size, in nouveau_check_bl_size()
/drivers/mtd/nand/raw/
Dcafe_nand.c571 u8 ah, al, bh, bl, ch, cl; in gf4096_mul() local
575 bh = b >> 6; in gf4096_mul()
578 ch = gf64_mul(ah ^ al, bh ^ bl) ^ gf64_mul(al, bl); in gf4096_mul()
579 cl = gf64_mul(gf64_mul(ah, bh), 0x21) ^ gf64_mul(al, bl); in gf4096_mul()
/drivers/gpu/drm/vmwgfx/device_include/
Dsvga3d_surfacedefs.h1326 const u32 bw = desc->block_size.width, bh = desc->block_size.height; in svga3dsurface_get_pixel_offset() local
1330 const u32 imgstride = __KERNEL_DIV_ROUND_UP(height, bh) * rowstride; in svga3dsurface_get_pixel_offset()
1332 y / bh * rowstride + in svga3dsurface_get_pixel_offset()
/drivers/video/fbdev/
Dffb.c209 u32 bh; member
503 upa_writel(rect->height, &fbc->bh); in ffb_fillrect()
538 upa_writel(area->height, &fbc->bh); in ffb_copyarea()
/drivers/net/ethernet/intel/ice/
Dice_flex_pipe.c905 struct ice_buf_hdr *bh = (struct ice_buf_hdr *)(bufs + i); in ice_update_pkg() local
908 status = ice_aq_update_pkg(hw, bh, le16_to_cpu(bh->data_end), in ice_update_pkg()
938 struct ice_buf_hdr *bh; in ice_dwnld_cfg_bufs() local
948 bh = (struct ice_buf_hdr *)bufs; in ice_dwnld_cfg_bufs()
949 if (le32_to_cpu(bh->section_entry[0].type) & ICE_METADATA_BUF) in ice_dwnld_cfg_bufs()
971 bh = (struct ice_buf_hdr *)(bufs + i + 1); in ice_dwnld_cfg_bufs()
977 if (le16_to_cpu(bh->section_count)) in ice_dwnld_cfg_bufs()
978 if (le32_to_cpu(bh->section_entry[0].type) & in ice_dwnld_cfg_bufs()
983 bh = (struct ice_buf_hdr *)(bufs + i); in ice_dwnld_cfg_bufs()
985 status = ice_aq_download_pkg(hw, bh, ICE_PKG_BUF_SIZE, last, in ice_dwnld_cfg_bufs()
/drivers/net/wireless/mediatek/mt76/
Dmt76x02_dfs.c10 bl, bh, event_exp, power_jmp) \ argument
23 .b_high = bh, \
/drivers/dma/
Dnbpfaxi.c1186 bool bh = false; in nbpf_chan_irq() local
1202 bh = true; in nbpf_chan_irq()
1218 if (bh) in nbpf_chan_irq()

12