Searched defs:available (Results 1 - 25 of 28) sorted by relevance

12

/drivers/net/wireless/brcm80211/brcmfmac/
H A Dcommonring.c91 u16 available; local
96 available = commonring->depth - commonring->w_ptr +
99 available = commonring->r_ptr - commonring->w_ptr;
101 if (available > 1) {
104 if (available > commonring->depth / 8) {
132 u16 available; local
137 available = commonring->depth - commonring->w_ptr +
140 available = commonring->r_ptr - commonring->w_ptr;
142 if (available > 1) {
168 u16 available; local
[all...]
/drivers/base/power/
H A Dopp.c52 * @available: true/false - marks if this OPP as available or not
63 bool available; member in struct:dev_pm_opp
137 * dev_pm_opp_get_voltage() - Gets the voltage corresponding to an available opp
157 if (unlikely(IS_ERR_OR_NULL(tmp_opp)) || !tmp_opp->available)
167 * dev_pm_opp_get_freq() - Gets the frequency corresponding to an available opp
187 if (unlikely(IS_ERR_OR_NULL(tmp_opp)) || !tmp_opp->available)
197 * dev_pm_opp_get_opp_count() - Get number of opps available in the opp list
200 * This function returns the number of available opps if there are any,
221 if (temp_opp->available)
255 dev_pm_opp_find_freq_exact(struct device *dev, unsigned long freq, bool available) argument
[all...]
/drivers/gpu/drm/udl/
H A Dudl_drv.h41 int available; member in struct:urb_list
/drivers/staging/comedi/
H A Dcomedi_buf.c260 unsigned int available = comedi_buf_write_n_available(s); local
262 if (nbytes > available)
263 nbytes = strict ? 0 : available;
383 unsigned int available; local
385 available = async->munge_count - async->buf_read_alloc_count;
386 if (nbytes > available)
387 nbytes = available;
/drivers/uwb/
H A Dallocator.c228 int available = 0; local
237 available++;
238 rci->max_avail_unsafe = available;
240 rci->highest_mas[available] = mas;
246 rci->max_avail_safe = available - 1;
321 int uwb_rsv_find_best_allocation(struct uwb_rsv *rsv, struct uwb_mas_bm *available, argument
336 /* fill the not available vector from the available bm */
337 for_each_clear_bit(bit_index, available->bm, UWB_NUM_MAS)
H A Drsv.c167 dev_err(dev, "%s: no available stream found\n", __func__);
559 struct uwb_mas_bm available; local
572 /* get available mas bitmap */
573 uwb_drp_available(rc, &available);
575 ret = uwb_rsv_find_best_allocation(rsv, &available, &rsv->mas);
622 int uwb_rsv_try_move(struct uwb_rsv *rsv, struct uwb_mas_bm *available) argument
635 if (uwb_rsv_find_best_allocation(rsv, available, &mv->final_mas) == UWB_RSV_ALLOC_FOUND) {
799 * @mas: returns the available MAS.
/drivers/oprofile/
H A Dbuffer_sync.c499 unsigned long available; local
509 available = op_cpu_buffer_entries(cpu);
511 for (i = 0; i < available; ++i) {
/drivers/usb/
H A Dusb-skeleton.c288 size_t available = dev->bulk_in_filled - dev->bulk_in_copied; local
289 size_t chunk = min(available, count);
291 if (!available) {
303 * data is available
320 if (available < count)
/drivers/media/platform/omap3isp/
H A Dispcsi2.h129 u8 available; /* Is the IP present on the silicon? */ member in struct:isp_csi2_device
/drivers/media/usb/dvb-usb/
H A Daf9005-fe.c104 static int af9005_is_fecmon_available(struct dvb_frontend *fe, int *available) argument
110 *available = false;
126 *available = true;
393 deb_info("fecmon not available\n");
/drivers/net/ethernet/qualcomm/
H A Dqca_spi.c240 u16 available = 0; local
248 qcaspi_read_register(qca, SPI_REG_WRBUF_SPC_AVA, &available);
253 if (available < pkt_len) {
267 available -= pkt_len;
294 u16 available = 0; local
298 /* Allocate rx SKB if we don't have one available. */
310 qcaspi_read_register(qca, SPI_REG_RDBUF_BYTE_AVA, &available);
312 available);
314 if (available == 0) {
315 netdev_dbg(net_dev, "qcaspi_receive called without any data being available!\
[all...]
/drivers/pci/hotplug/
H A Dcpqphp_nvram.c202 u32 available; local
210 available = 1024;
213 temp_dword = available;
240 u32 available; local
250 available = 1024;
268 rc = add_byte(&pFill, 1 + ctrl->push_flag, &usedbytes, &available);
273 rc = add_byte(&pFill, 1, &usedbytes, &available);
283 rc = add_byte(&pFill, ctrl->bus, &usedbytes, &available);
288 rc = add_byte(&pFill, PCI_SLOT(ctrl->pci_dev->devfn), &usedbytes, &available);
293 rc = add_byte(&pFill, PCI_FUNC(ctrl->pci_dev->devfn), &usedbytes, &available);
[all...]
/drivers/scsi/lpfc/
H A Dlpfc_scsi.h55 bool available; member in struct:lpfc_device_data
/drivers/staging/media/omap4iss/
H A Diss_csi2.h129 u8 available; /* Is the IP present on the silicon? */ member in struct:iss_csi2_device
/drivers/block/paride/
H A Dpt.c222 atomic_t available; /* 1 if access is available 0 otherwise */ member in struct:pt_unit
612 atomic_set(&tape->available, 1);
664 if (!atomic_dec_and_test(&tape->available))
692 atomic_inc(&tape->available);
739 if (atomic_read(&tape->available) > 1)
751 atomic_inc(&tape->available);
867 (tape, wr_cmd, 0, NULL, "start buffer-available mode"))
/drivers/md/bcache/
H A Dsysfs.c763 size_t unused = 0, available = 0, dirty = 0, meta = 0; local
778 available++;
822 available * 100 / (size_t) ca->sb.nbuckets,
H A Dbtree.c1658 size_t available = 0; local
1716 available++;
1721 return available;
1727 unsigned long available; local
1749 available = bch_btree_gc_finish(c);
1756 stats.in_use = (c->nbuckets - available) * 100 / c->nbuckets;
/drivers/net/ethernet/ibm/
H A Dibmveth.h116 atomic_t available; member in struct:ibmveth_buff_pool
/drivers/block/
H A Dswim3.c54 available, enumerator in enum:swim_state
320 fs->state = available;
842 if (fs->state != idle && fs->state != available) {
847 fs->state == available,
850 fs->state == available,
/drivers/net/wireless/ath/wil6210/
H A Ddebugfs.c439 size_t available = blob->size; local
446 if (pos >= available || !count)
449 if (count > available - pos)
450 count = available - pos;
/drivers/usb/wusbcore/
H A Dwa-xfer.c1492 dev_dbg(dev, "xfer %p ID %08X#%u submitted from delayed [%d segments available] %d\n",
1564 u8 available; local
1577 available = atomic_read(&rpipe->segs_available);
1580 if (available && empty) {
1590 dev_dbg(dev, "xfer %p ID 0x%08X#%u: available %u empty %u submitted\n",
1591 xfer, wa_xfer_id(xfer), cnt, available,
1604 dev_dbg(dev, "xfer %p ID 0x%08X#%u: available %u empty %u delayed\n",
1605 xfer, wa_xfer_id(xfer), cnt, available, empty);
2906 * that some endpoint has some transfer result data available. We are
/drivers/video/fbdev/
H A Dsmscufx.c17 * available from http://git.plugable.com
90 int available; member in struct:urb_list
1528 /* If that fails, use a previously returned EDID if available */
1821 dev->urbs.available++;
1916 dev->urbs.available = i;
1935 pr_warn("wait for urb interrupted: %x available: %d\n",
1936 ret, dev->urbs.available);
1945 dev->urbs.available--;
/drivers/staging/octeon-usb/
H A Docteon-hcd.c1311 /* Check if no data is available */
1344 * @available: Amount of space in the hardware fifo
1350 struct cvmx_usb_tx_fifo *fifo, int available)
1356 while (available && (fifo->head != fifo->tail)) {
1361 int words = available;
1364 if (fifo->entry[i].size <= available) {
1372 available -= words;
1349 __cvmx_usb_fill_tx_hw(struct cvmx_usb_state *usb, struct cvmx_usb_tx_fifo *fifo, int available) argument
/drivers/hwmon/
H A Dnct6775.c3238 int *available, int *mask)
3243 for (i = 0; i < data->pwm_num && *available; i++) {
3256 index = __ffs(*available);
3258 *available &= ~(1 << index);
3270 int src, mask, available; local
3673 * On some boards, not all available temperature sources are monitored,
3677 * If so, assign the unmonitored temperature sources to available
3681 available = 0;
3688 available |= 1 << i;
3695 * if additional monitoring registers are available
3237 add_temp_sensors(struct nct6775_data *data, const u16 *regp, int *available, int *mask) argument
[all...]
/drivers/scsi/
H A Dgdth.h368 u8 available; /* flag: access is available */ member in struct:__anon5376
390 u8 mb_status; /* status: available? */

Completed in 668 milliseconds

12