/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_binding.c | 111 static int vmw_binding_scrub_shader(struct vmw_ctx_bindinfo *bi, bool rebind); 112 static int vmw_binding_scrub_render_target(struct vmw_ctx_bindinfo *bi, 114 static int vmw_binding_scrub_texture(struct vmw_ctx_bindinfo *bi, bool rebind); 115 static int vmw_binding_scrub_cb(struct vmw_ctx_bindinfo *bi, bool rebind); 116 static int vmw_binding_scrub_dx_rt(struct vmw_ctx_bindinfo *bi, bool rebind); 117 static int vmw_binding_scrub_sr(struct vmw_ctx_bindinfo *bi, bool rebind); 118 static int vmw_binding_scrub_so(struct vmw_ctx_bindinfo *bi, bool rebind); 120 static int vmw_binding_scrub_dx_shader(struct vmw_ctx_bindinfo *bi, 122 static int vmw_binding_scrub_ib(struct vmw_ctx_bindinfo *bi, bool rebind); 123 static int vmw_binding_scrub_vb(struct vmw_ctx_bindinfo *bi, bool rebind); [all …]
|
D | vmwgfx_binding.h | 84 struct vmw_ctx_bindinfo bi; member 95 struct vmw_ctx_bindinfo bi; member 109 struct vmw_ctx_bindinfo bi; member 124 struct vmw_ctx_bindinfo bi; member 138 struct vmw_ctx_bindinfo bi; member 153 struct vmw_ctx_bindinfo bi; member 167 struct vmw_ctx_bindinfo bi; member
|
D | vmwgfx_execbuf.c | 934 binding.bi.ctx = ctx_node->res; in vmw_view_bindings_add() 935 binding.bi.res = view; in vmw_view_bindings_add() 936 binding.bi.bt = binding_type; in vmw_view_bindings_add() 939 vmw_binding_add(ctx_node->staged_bindings, &binding.bi, in vmw_view_bindings_add() 1007 binding.bi.ctx = ctx_node->res; in vmw_cmd_set_render_target_check() 1008 binding.bi.res = res_node ? res_node->res : NULL; in vmw_cmd_set_render_target_check() 1009 binding.bi.bt = vmw_ctx_binding_rt; in vmw_cmd_set_render_target_check() 1012 &binding.bi, 0, binding.slot); in vmw_cmd_set_render_target_check() 1872 binding.bi.ctx = ctx_node->res; in vmw_cmd_tex_state() 1873 binding.bi.res = res_node ? res_node->res : NULL; in vmw_cmd_tex_state() [all …]
|
/drivers/net/hamradio/ |
D | hdlcdrv.c | 503 struct hdlcdrv_ioctl bi; in hdlcdrv_ioctl() local 507 return s->ops->ioctl(dev, ifr, &bi, cmd); in hdlcdrv_ioctl() 510 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in hdlcdrv_ioctl() 513 switch (bi.cmd) { in hdlcdrv_ioctl() 516 return s->ops->ioctl(dev, ifr, &bi, cmd); in hdlcdrv_ioctl() 520 bi.data.cp.tx_delay = s->ch_params.tx_delay; in hdlcdrv_ioctl() 521 bi.data.cp.tx_tail = s->ch_params.tx_tail; in hdlcdrv_ioctl() 522 bi.data.cp.slottime = s->ch_params.slottime; in hdlcdrv_ioctl() 523 bi.data.cp.ppersist = s->ch_params.ppersist; in hdlcdrv_ioctl() 524 bi.data.cp.fulldup = s->ch_params.fulldup; in hdlcdrv_ioctl() [all …]
|
D | baycom_par.c | 416 struct baycom_ioctl bi; in baycom_ioctl() local 453 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl() 455 switch (bi.cmd) { in baycom_ioctl() 461 bi.data.dbg.debug1 = bc->hdrv.ptt_keyed; in baycom_ioctl() 462 bi.data.dbg.debug2 = bc->debug_vals.last_intcnt; in baycom_ioctl() 463 bi.data.dbg.debug3 = bc->debug_vals.last_pllcorr; in baycom_ioctl() 468 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
|
D | baycom_ser_fdx.c | 545 struct baycom_ioctl bi; in baycom_ioctl() local 584 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl() 586 switch (bi.cmd) { in baycom_ioctl() 592 bi.data.dbg.debug1 = bc->hdrv.ptt_keyed; in baycom_ioctl() 593 bi.data.dbg.debug2 = bc->debug_vals.last_intcnt; in baycom_ioctl() 594 bi.data.dbg.debug3 = bc->debug_vals.last_pllcorr; in baycom_ioctl() 599 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
|
D | baycom_ser_hdx.c | 574 struct baycom_ioctl bi; in baycom_ioctl() local 613 if (copy_from_user(&bi, ifr->ifr_data, sizeof(bi))) in baycom_ioctl() 615 switch (bi.cmd) { in baycom_ioctl() 621 bi.data.dbg.debug1 = bc->hdrv.ptt_keyed; in baycom_ioctl() 622 bi.data.dbg.debug2 = bc->debug_vals.last_intcnt; in baycom_ioctl() 623 bi.data.dbg.debug3 = bc->debug_vals.last_pllcorr; in baycom_ioctl() 628 if (copy_to_user(ifr->ifr_data, &bi, sizeof(bi))) in baycom_ioctl()
|
/drivers/scsi/ |
D | sd_dif.c | 46 struct blk_integrity bi; in sd_dif_config_host() local 59 memset(&bi, 0, sizeof(bi)); in sd_dif_config_host() 64 bi.profile = &t10_pi_type3_ip; in sd_dif_config_host() 66 bi.profile = &t10_pi_type1_ip; in sd_dif_config_host() 68 bi.flags |= BLK_INTEGRITY_IP_CHECKSUM; in sd_dif_config_host() 71 bi.profile = &t10_pi_type3_crc; in sd_dif_config_host() 73 bi.profile = &t10_pi_type1_crc; in sd_dif_config_host() 75 bi.tuple_size = sizeof(struct t10_pi_tuple); in sd_dif_config_host() 77 "Enabling DIX %s protection\n", bi.profile->name); in sd_dif_config_host() 80 bi.flags |= BLK_INTEGRITY_DEVICE_CAPABLE; in sd_dif_config_host() [all …]
|
/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 755 bnad_per_q_stats_fill(struct bnad *bnad, u64 *buf, int bi) in bnad_per_q_stats_fill() argument 768 buf[bi++] = bnad->rx_info[i].rx_ctrl[j]. in bnad_per_q_stats_fill() 770 buf[bi++] = 0; /* ccb->consumer_index */ in bnad_per_q_stats_fill() 771 buf[bi++] = *(bnad->rx_info[i].rx_ctrl[j]. in bnad_per_q_stats_fill() 774 buf[bi++] = bnad->rx_info[i]. in bnad_per_q_stats_fill() 776 buf[bi++] = bnad->rx_info[i]. in bnad_per_q_stats_fill() 778 buf[bi++] = bnad->rx_info[i]. in bnad_per_q_stats_fill() 780 buf[bi++] = bnad->rx_info[i]. in bnad_per_q_stats_fill() 782 buf[bi++] = bnad->rx_info[i]. in bnad_per_q_stats_fill() 796 buf[bi++] = rcb->rxq->rx_packets; in bnad_per_q_stats_fill() [all …]
|
/drivers/net/ethernet/chelsio/cxgb/ |
D | subr.c | 268 static void mi1_mdio_init(adapter_t *adapter, const struct board_info *bi) in mi1_mdio_init() argument 270 u32 clkdiv = bi->clock_elmer0 / (2 * bi->mdio_mdc) - 1; in mi1_mdio_init() 271 u32 val = F_MI1_PREAMBLE_ENABLE | V_MI1_MDI_INVERT(bi->mdio_mdiinv) | in mi1_mdio_init() 272 V_MI1_MDI_ENABLE(bi->mdio_mdien) | V_MI1_CLK_DIV(clkdiv); in mi1_mdio_init() 274 if (!(bi->caps & SUPPORTED_10000baseT_Full)) in mi1_mdio_init() 894 int t1_get_board_rev(adapter_t *adapter, const struct board_info *bi, in t1_get_board_rev() argument 897 p->chip_version = bi->chip_term; in t1_get_board_rev() 920 static int board_init(adapter_t *adapter, const struct board_info *bi) in board_init() argument 922 switch (bi->board) { in board_init() 965 const struct board_info *bi = board_info(adapter); in t1_init_hw_modules() local [all …]
|
/drivers/scsi/esas2r/ |
D | esas2r_ioctl.c | 205 static u8 handle_buffered_ioctl(struct esas2r_buffered_ioctl *bi) in handle_buffered_ioctl() argument 207 struct esas2r_adapter *a = bi->a; in handle_buffered_ioctl() 217 if (esas2r_buffered_ioctl_size < bi->length) { in handle_buffered_ioctl() 228 esas2r_buffered_ioctl_size = bi->length; in handle_buffered_ioctl() 242 bi->length); in handle_buffered_ioctl() 249 memcpy(esas2r_buffered_ioctl, bi->ioctl, bi->length); in handle_buffered_ioctl() 263 sgc.cur_offset = esas2r_buffered_ioctl + bi->offset; in handle_buffered_ioctl() 267 if (!(*bi->callback)(a, rq, &sgc, bi->context)) { in handle_buffered_ioctl() 279 if (result == IOCTL_SUCCESS && bi->done_callback) in handle_buffered_ioctl() 280 (*bi->done_callback)(a, rq, bi->done_context); in handle_buffered_ioctl() [all …]
|
/drivers/md/ |
D | raid5.c | 227 struct bio *bi; in return_io() local 228 while ((bi = bio_list_pop(return_bi)) != NULL) { in return_io() 229 bi->bi_iter.bi_size = 0; in return_io() 230 trace_block_bio_complete(bdev_get_queue(bi->bi_bdev), in return_io() 231 bi, 0); in return_io() 232 bio_endio(bi); in return_io() 895 raid5_end_read_request(struct bio *bi); 897 raid5_end_write_request(struct bio *bi); 912 struct bio *bi, *rbi; in ops_run_io() local 934 bi = &sh->dev[i].req; in ops_run_io() [all …]
|
/drivers/net/ethernet/intel/i40evf/ |
D | i40e_adminq.c | 142 struct i40e_dma_mem *bi; in i40e_alloc_arq_bufs() local 158 bi = &hw->aq.arq.r.arq_bi[i]; in i40e_alloc_arq_bufs() 159 ret_code = i40e_allocate_dma_mem(hw, bi, in i40e_alloc_arq_bufs() 176 desc->datalen = cpu_to_le16((u16)bi->size); in i40e_alloc_arq_bufs() 181 cpu_to_le32(upper_32_bits(bi->pa)); in i40e_alloc_arq_bufs() 183 cpu_to_le32(lower_32_bits(bi->pa)); in i40e_alloc_arq_bufs() 208 struct i40e_dma_mem *bi; in i40e_alloc_asq_bufs() local 220 bi = &hw->aq.asq.r.asq_bi[i]; in i40e_alloc_asq_bufs() 221 ret_code = i40e_allocate_dma_mem(hw, bi, in i40e_alloc_asq_bufs() 884 struct i40e_dma_mem *bi; in i40evf_clean_arq_element() local [all …]
|
D | i40e_txrx.c | 625 struct i40e_rx_buffer *bi) in i40e_alloc_mapped_page() argument 627 struct page *page = bi->page; in i40e_alloc_mapped_page() 655 bi->dma = dma; in i40e_alloc_mapped_page() 656 bi->page = page; in i40e_alloc_mapped_page() 657 bi->page_offset = 0; in i40e_alloc_mapped_page() 691 struct i40e_rx_buffer *bi; in i40evf_alloc_rx_buffers() local 698 bi = &rx_ring->rx_bi[ntu]; in i40evf_alloc_rx_buffers() 701 if (!i40e_alloc_mapped_page(rx_ring, bi)) in i40evf_alloc_rx_buffers() 707 rx_desc->read.pkt_addr = cpu_to_le64(bi->dma + bi->page_offset); in i40evf_alloc_rx_buffers() 711 bi++; in i40evf_alloc_rx_buffers() [all …]
|
/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq.c | 145 struct i40e_dma_mem *bi; in i40e_alloc_arq_bufs() local 161 bi = &hw->aq.arq.r.arq_bi[i]; in i40e_alloc_arq_bufs() 162 ret_code = i40e_allocate_dma_mem(hw, bi, in i40e_alloc_arq_bufs() 179 desc->datalen = cpu_to_le16((u16)bi->size); in i40e_alloc_arq_bufs() 184 cpu_to_le32(upper_32_bits(bi->pa)); in i40e_alloc_arq_bufs() 186 cpu_to_le32(lower_32_bits(bi->pa)); in i40e_alloc_arq_bufs() 211 struct i40e_dma_mem *bi; in i40e_alloc_asq_bufs() local 223 bi = &hw->aq.asq.r.asq_bi[i]; in i40e_alloc_asq_bufs() 224 ret_code = i40e_allocate_dma_mem(hw, bi, in i40e_alloc_asq_bufs() 936 struct i40e_dma_mem *bi; in i40e_clean_arq_element() local [all …]
|
/drivers/target/ |
D | target_core_iblock.c | 87 struct blk_integrity *bi; in iblock_configure_device() local 137 bi = bdev_get_integrity(bd); in iblock_configure_device() 138 if (bi) { in iblock_configure_device() 141 if (!strcmp(bi->profile->name, "T10-DIF-TYPE3-IP") || in iblock_configure_device() 142 !strcmp(bi->profile->name, "T10-DIF-TYPE1-IP")) { in iblock_configure_device() 144 " supported\n", bi->profile->name); in iblock_configure_device() 149 if (!strcmp(bi->profile->name, "T10-DIF-TYPE3-CRC")) { in iblock_configure_device() 151 } else if (!strcmp(bi->profile->name, "T10-DIF-TYPE1-CRC")) { in iblock_configure_device() 630 struct blk_integrity *bi; in iblock_alloc_bip() local 636 bi = bdev_get_integrity(ib_dev->ibd_bd); in iblock_alloc_bip() [all …]
|
/drivers/net/wireless/intel/iwlwifi/mvm/ |
D | fw-api-mac.h | 163 __le32 bi; member 182 __le32 bi; member 203 __le32 bi; member
|
/drivers/net/can/usb/peak_usb/ |
D | pcan_usb_pro.c | 859 struct pcan_usb_pro_blinfo *bi = NULL; in pcan_usb_pro_init() local 868 bi = kmalloc(sizeof(struct pcan_usb_pro_blinfo), GFP_KERNEL); in pcan_usb_pro_init() 869 if (!usb_if || !fi || !bi) { in pcan_usb_pro_init() 894 bi, sizeof(*bi)); in pcan_usb_pro_init() 910 bi->hw_rev, bi->serial_num_hi, bi->serial_num_lo, in pcan_usb_pro_init() 922 kfree(bi); in pcan_usb_pro_init() 928 kfree(bi); in pcan_usb_pro_init()
|
/drivers/usb/atm/ |
D | ueagle-atm.c | 946 struct block_info_e1 bi; in uea_load_page_e1() local 983 bi.wHdr = cpu_to_le16(UEA_BIHDR); in uea_load_page_e1() 984 bi.wOvl = cpu_to_le16(ovl); in uea_load_page_e1() 985 bi.wOvlOffset = cpu_to_le16(ovl | 0x8000); in uea_load_page_e1() 994 bi.wSize = cpu_to_le16(blocksize); in uea_load_page_e1() 995 bi.wAddress = cpu_to_le16(blockaddr); in uea_load_page_e1() 996 bi.wLast = cpu_to_le16((i == blockcount - 1) ? 1 : 0); in uea_load_page_e1() 999 if (uea_idma_write(sc, &bi, E1_BLOCK_INFO_SIZE)) in uea_load_page_e1() 1020 struct block_info_e4 bi; in __uea_load_page_e4() local 1025 bi.wHdr = cpu_to_be16(UEA_BIHDR); in __uea_load_page_e4() [all …]
|
/drivers/staging/comedi/ |
D | comedi_fops.c | 1107 struct comedi_bufinfo bi; in do_bufinfo_ioctl() local 1114 if (copy_from_user(&bi, arg, sizeof(bi))) in do_bufinfo_ioctl() 1117 if (bi.subdevice >= dev->n_subdevices) in do_bufinfo_ioctl() 1120 s = &dev->subdevices[bi.subdevice]; in do_bufinfo_ioctl() 1130 if (bi.bytes_read) { in do_bufinfo_ioctl() 1131 comedi_buf_read_alloc(s, bi.bytes_read); in do_bufinfo_ioctl() 1132 bi.bytes_read = comedi_buf_read_free(s, bi.bytes_read); in do_bufinfo_ioctl() 1141 (bi.bytes_read == 0 || in do_bufinfo_ioctl() 1147 bi.bytes_written = 0; in do_bufinfo_ioctl() 1151 bi.bytes_written = 0; in do_bufinfo_ioctl() [all …]
|
/drivers/media/pci/saa7164/ |
D | saa7164-dvb.c | 120 struct i2c_board_info bi; in si2157_attach() local 125 memset(&bi, 0, sizeof(bi)); in si2157_attach() 127 strlcpy(bi.type, "si2157", I2C_NAME_SIZE); in si2157_attach() 128 bi.platform_data = cfg; in si2157_attach() 129 bi.addr = addr8bit >> 1; in si2157_attach() 131 request_module(bi.type); in si2157_attach() 133 tuner = i2c_new_device(adapter, &bi); in si2157_attach()
|
/drivers/misc/cxl/ |
D | Kconfig | 33 bool "Support for bi-modal CAPI cards" 37 Select this option to enable support for bi-modal CAPI cards, such as
|
/drivers/nvdimm/ |
D | core.c | 674 struct blk_integrity bi; in nd_integrity_init() local 679 memset(&bi, 0, sizeof(bi)); in nd_integrity_init() 681 bi.tuple_size = meta_size; in nd_integrity_init() 682 bi.tag_size = meta_size; in nd_integrity_init() 684 blk_integrity_register(disk, &bi); in nd_integrity_init()
|
/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_main.c | 86 struct fm10k_rx_buffer *bi) in fm10k_alloc_mapped_page() argument 88 struct page *page = bi->page; in fm10k_alloc_mapped_page() 115 bi->dma = dma; in fm10k_alloc_mapped_page() 116 bi->page = page; in fm10k_alloc_mapped_page() 117 bi->page_offset = 0; in fm10k_alloc_mapped_page() 130 struct fm10k_rx_buffer *bi; in fm10k_alloc_rx_buffers() local 138 bi = &rx_ring->rx_buffer[i]; in fm10k_alloc_rx_buffers() 142 if (!fm10k_alloc_mapped_page(rx_ring, bi)) in fm10k_alloc_rx_buffers() 148 rx_desc->q.pkt_addr = cpu_to_le64(bi->dma + bi->page_offset); in fm10k_alloc_rx_buffers() 151 bi++; in fm10k_alloc_rx_buffers() [all …]
|
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | p2p.c | 1213 struct brcmf_bss_info_le *bi) in brcmf_p2p_scan_finding_common_channel() argument 1226 if (bi == NULL) { in brcmf_p2p_scan_finding_common_channel() 1233 ie = ((u8 *)bi) + le16_to_cpu(bi->ie_offset); in brcmf_p2p_scan_finding_common_channel() 1235 err = cfg80211_get_p2p_attr(ie, le32_to_cpu(bi->ie_length), in brcmf_p2p_scan_finding_common_channel() 1239 err = cfg80211_get_p2p_attr(ie, le32_to_cpu(bi->ie_length), in brcmf_p2p_scan_finding_common_channel() 1244 if (!bi->ctl_ch) { in brcmf_p2p_scan_finding_common_channel() 1245 ch.chspec = le16_to_cpu(bi->chanspec); in brcmf_p2p_scan_finding_common_channel() 1247 bi->ctl_ch = ch.control_ch_num; in brcmf_p2p_scan_finding_common_channel() 1249 afx_hdl->peer_chan = bi->ctl_ch; in brcmf_p2p_scan_finding_common_channel() 1925 struct brcmf_bss_info_le *bi; in brcmf_p2p_get_current_chanspec() local [all …]
|