Home
last modified time | relevance | path

Searched refs:filled (Results 1 – 25 of 60) sorted by relevance

123

/drivers/usb/serial/
Dkobil_sct.c107 int filled; /* index of the last char in buf */ member
122 priv->filled = 0; in kobil_port_probe()
307 if (count > (KOBIL_BUF_LENGTH - priv->filled)) { in kobil_write()
313 memcpy(priv->buf + priv->filled, buf, count); in kobil_write()
314 usb_serial_debug_data(&port->dev, __func__, count, priv->buf + priv->filled); in kobil_write()
315 priv->filled = priv->filled + count; in kobil_write()
319 …if (((priv->device_type != KOBIL_ADAPTER_B_PRODUCT_ID) && (priv->filled > 2) && (priv->filled >= (… in kobil_write()
320 …((priv->device_type == KOBIL_ADAPTER_B_PRODUCT_ID) && (priv->filled > 3) && (priv->filled >= (priv… in kobil_write()
326 todo = priv->filled - priv->cur_pos; in kobil_write()
340 todo = priv->filled - priv->cur_pos; in kobil_write()
[all …]
/drivers/vfio/platform/
Dvfio_platform_common.c400 size_t filled; in vfio_platform_read_mmio() local
409 filled = 4; in vfio_platform_read_mmio()
417 filled = 2; in vfio_platform_read_mmio()
425 filled = 1; in vfio_platform_read_mmio()
429 count -= filled; in vfio_platform_read_mmio()
430 done += filled; in vfio_platform_read_mmio()
431 off += filled; in vfio_platform_read_mmio()
432 buf += filled; in vfio_platform_read_mmio()
478 size_t filled; in vfio_platform_write_mmio() local
487 filled = 4; in vfio_platform_write_mmio()
[all …]
/drivers/vfio/pci/
Dvfio_pci_rdwr.c106 size_t fillable, filled; in do_io_rw() local
136 filled = 4; in do_io_rw()
158 filled = 2; in do_io_rw()
180 filled = 1; in do_io_rw()
183 filled = min(count, (size_t)(x_end - off)); in do_io_rw()
188 for (i = 0; i < filled; i++) in do_io_rw()
194 count -= filled; in do_io_rw()
195 done += filled; in do_io_rw()
196 off += filled; in do_io_rw()
197 buf += filled; in do_io_rw()
Dvfio_pci_config.c1427 int filled; in vfio_fill_vconfig_bytes() local
1437 filled = 4; in vfio_fill_vconfig_bytes()
1446 filled = 2; in vfio_fill_vconfig_bytes()
1452 filled = 1; in vfio_fill_vconfig_bytes()
1455 offset += filled; in vfio_fill_vconfig_bytes()
1456 size -= filled; in vfio_fill_vconfig_bytes()
/drivers/gpu/drm/i915/gvt/
Dkvmgt.c1173 size_t filled; in intel_vgpu_read() local
1188 filled = 8; in intel_vgpu_read()
1200 filled = 4; in intel_vgpu_read()
1212 filled = 2; in intel_vgpu_read()
1224 filled = 1; in intel_vgpu_read()
1227 count -= filled; in intel_vgpu_read()
1228 done += filled; in intel_vgpu_read()
1229 *ppos += filled; in intel_vgpu_read()
1230 buf += filled; in intel_vgpu_read()
1247 size_t filled; in intel_vgpu_write() local
[all …]
/drivers/media/usb/pwc/
Dpwc-if.c253 if (fbuf->filled == 4) in pwc_frame_complete()
268 if (fbuf->filled < pdev->frame_total_size) { in pwc_frame_complete()
270 fbuf->filled); in pwc_frame_complete()
361 if (flen + fbuf->filled > pdev->frame_total_size) { in pwc_isoc_handler()
363 flen + fbuf->filled, in pwc_isoc_handler()
367 memcpy(fbuf->data + fbuf->filled, iso_buf, in pwc_isoc_handler()
369 fbuf->filled += flen; in pwc_isoc_handler()
379 pdev->fill_buf->filled = 0; in pwc_isoc_handler()
Dpwc.h206 int filled; /* number of bytes filled */ member
/drivers/net/wireless/quantenna/qtnfmac/
Dcommands.c619 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_INACTIVE_TIME); in qtnf_cmd_sta_info_parse()
625 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_CONNECTED_TIME); in qtnf_cmd_sta_info_parse()
630 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL); in qtnf_cmd_sta_info_parse()
635 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL_AVG); in qtnf_cmd_sta_info_parse()
640 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_RX_BITRATE); in qtnf_cmd_sta_info_parse()
645 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_TX_BITRATE); in qtnf_cmd_sta_info_parse()
650 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_STA_FLAGS); in qtnf_cmd_sta_info_parse()
655 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_RX_BYTES); in qtnf_cmd_sta_info_parse()
660 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_TX_BYTES); in qtnf_cmd_sta_info_parse()
665 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_RX_BYTES64); in qtnf_cmd_sta_info_parse()
[all …]
Dcfg80211.c525 sinfo->filled = 0; in qtnf_dump_station()
770 survey->filled = 0x0; in qtnf_dump_survey()
773 survey->filled = SURVEY_INFO_IN_USE; in qtnf_dump_survey()
/drivers/tty/vt/
Dvc_screen.c302 unsigned int filled = count; in vcs_read_buf() local
314 filled = count - pos; in vcs_read_buf()
331 filled--; in vcs_read_buf()
335 return filled; in vcs_read_buf()
361 return filled; in vcs_read_buf()
/drivers/parisc/
Dccio-dma.c912 int coalesced, filled = 0; in ccio_map_sg() local
961 filled = iommu_fill_pdir(ioc, sglist, nents, hint, ccio_io_pdir_entry); in ccio_map_sg()
965 BUG_ON(coalesced != filled); in ccio_map_sg()
967 DBG_RUN_SG("%s() DONE %d mappings\n", __func__, filled); in ccio_map_sg()
969 for (i = 0; i < filled; i++) in ccio_map_sg()
974 return filled; in ccio_map_sg()
Dsba_iommu.c943 int coalesced, filled = 0; in sba_map_sg() local
992 filled = iommu_fill_pdir(ioc, sglist, nents, 0, sba_io_pdir_entry); in sba_map_sg()
1007 DBG_RUN_SG("%s() DONE %d mappings\n", __func__, filled); in sba_map_sg()
1009 return filled; in sba_map_sg()
/drivers/net/hyperv/
Dnetvsc.c1257 u32 *filled, u32 *avail) in recv_comp_slot_avail() argument
1262 *filled = mrc->next - mrc->first; in recv_comp_slot_avail()
1264 *filled = (count - mrc->first) + mrc->next; in recv_comp_slot_avail()
1266 *avail = count - *filled - 1; in recv_comp_slot_avail()
1277 u32 filled, avail; in enq_receive_complete() local
1279 recv_comp_slot_avail(nvdev, mrc, &filled, &avail); in enq_receive_complete()
1281 if (unlikely(filled > NAPI_POLL_WEIGHT)) { in enq_receive_complete()
1283 recv_comp_slot_avail(nvdev, mrc, &filled, &avail); in enq_receive_complete()
/drivers/atm/
Dambassador.h539 unsigned int filled; member
548 unsigned int filled; member
Dambassador.c603 cq->filled++; in command_do()
638 txq->filled++; in tx_give()
1437 t->pending, t->maximum, t->high, t->filled); in amb_proc_read()
1553 txq->filled = 0; in create_queues()
/drivers/net/wireless/mediatek/mt76/
Dmac80211.c738 survey->filled = SURVEY_INFO_TIME | SURVEY_INFO_TIME_BUSY; in mt76_get_survey()
739 survey->filled |= dev->drv->survey_flags; in mt76_get_survey()
741 survey->filled |= SURVEY_INFO_NOISE_DBM; in mt76_get_survey()
744 survey->filled |= SURVEY_INFO_IN_USE; in mt76_get_survey()
747 survey->filled |= SURVEY_INFO_TIME_BSS_RX; in mt76_get_survey()
/drivers/net/ethernet/socionext/
Dnetsec.c837 u16 filled; in netsec_xdp_queue_one() local
840 filled = tx_ring->head - tx_ring->tail; in netsec_xdp_queue_one()
842 filled = tx_ring->head + DESC_NUM - tx_ring->tail; in netsec_xdp_queue_one()
844 if (DESC_NUM - filled <= 1) in netsec_xdp_queue_one()
1144 int filled; in netsec_netdev_start_xmit() local
1147 filled = netsec_desc_used(dring); in netsec_netdev_start_xmit()
1148 if (netsec_check_stop_tx(priv, filled)) { in netsec_netdev_start_xmit()
/drivers/net/wireless/ath/ath9k/
Dlink.c495 survey->filled |= SURVEY_INFO_NOISE_DBM; in ath_update_survey_nf()
523 survey->filled |= SURVEY_INFO_TIME | in ath_update_survey_stats()
/drivers/staging/rtl8723bs/os_dep/
Dioctl_cfg80211.c1000 sinfo->filled = 0; in cfg80211_rtw_get_station()
1023 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL); in cfg80211_rtw_get_station()
1026 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_TX_BITRATE); in cfg80211_rtw_get_station()
1029 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_RX_PACKETS); in cfg80211_rtw_get_station()
1032 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_TX_PACKETS); in cfg80211_rtw_get_station()
1034 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_TX_FAILED); in cfg80211_rtw_get_station()
1966 sinfo.filled = 0; in rtw_cfg80211_indicate_sta_assoc()
2479 sinfo->filled = BIT_ULL(NL80211_STA_INFO_SIGNAL); in cfg80211_rtw_dump_station()
/drivers/staging/wlan-ng/
Dcfg80211.c266 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_TX_BITRATE); in prism2_get_station()
268 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL); in prism2_get_station()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dcfg80211.c2673 si->filled |= BIT_ULL(NL80211_STA_INFO_STA_FLAGS); in brcmf_convert_sta_flags()
2710 si->filled |= BIT_ULL(NL80211_STA_INFO_BSS_PARAM); in brcmf_fill_bss_param()
2742 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_TX_BITRATE); in brcmf_cfg80211_get_station_ibss()
2753 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL); in brcmf_cfg80211_get_station_ibss()
2762 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_RX_PACKETS) | in brcmf_cfg80211_get_station_ibss()
2815 sinfo->filled = BIT_ULL(NL80211_STA_INFO_INACTIVE_TIME); in brcmf_cfg80211_get_station()
2825 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_CONNECTED_TIME); in brcmf_cfg80211_get_station()
2830 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_TX_FAILED); in brcmf_cfg80211_get_station()
2832 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_TX_PACKETS); in brcmf_cfg80211_get_station()
2835 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_RX_PACKETS); in brcmf_cfg80211_get_station()
[all …]
/drivers/net/ethernet/via/
Dvia-velocity.c555 vptr->rx.dirty = vptr->rx.filled = vptr->rx.curr = 0; in velocity_init_rx_ring_indexes()
1455 if (vptr->rx.filled < 4) in velocity_give_many_rx_descs()
1460 unusable = vptr->rx.filled & 0x0003; in velocity_give_many_rx_descs()
1462 for (avail = vptr->rx.filled & 0xfffc; avail; avail--) { in velocity_give_many_rx_descs()
1467 writew(vptr->rx.filled & 0xfffc, &regs->RBRDU); in velocity_give_many_rx_descs()
1468 vptr->rx.filled = unusable; in velocity_give_many_rx_descs()
1583 vptr->rx.filled += done; in velocity_rx_refill()
/drivers/net/wireless/ath/ath10k/
Dhw.c555 survey->filled |= SURVEY_INFO_TIME | in ath10k_hw_fill_survey_time()
565 survey->filled &= ~SURVEY_INFO_TIME_BUSY; in ath10k_hw_fill_survey_time()
/drivers/staging/greybus/Documentation/firmware/
Dfirmware-management144 fw_mgmt_ioc_get_fw' are filled by the kernel.
285 filled by the kernel.
/drivers/net/wireless/ath/ath6kl/
Dcfg80211.c1814 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_RX_BYTES64); in ath6kl_get_station()
1816 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_RX_PACKETS); in ath6kl_get_station()
1821 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_TX_BYTES64); in ath6kl_get_station()
1823 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_TX_PACKETS); in ath6kl_get_station()
1827 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_SIGNAL); in ath6kl_get_station()
1860 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_TX_BITRATE); in ath6kl_get_station()
1865 sinfo->filled |= BIT_ULL(NL80211_STA_INFO_BSS_PARAM); in ath6kl_get_station()

123