Searched refs:fl (Results 1 - 25 of 38) sorted by relevance

12

/drivers/mtd/
H A Dredboot.c66 struct fis_list *fl = NULL, *tmp_fl; local
207 prev = &fl;
216 if (fl->img->flash_base) {
221 for (tmp_fl = fl; tmp_fl->next; tmp_fl = tmp_fl->next) {
246 if (fl->img->flash_base) {
248 parts[0].size = fl->img->flash_base;
254 parts[i].size = fl->img->size;
255 parts[i].offset = fl->img->flash_base;
258 strcpy(names, fl->img->name);
269 if(fl
[all...]
/drivers/net/ethernet/chelsio/cxgb4vf/
H A Dsge.c239 * @fl: the Free List
246 static inline unsigned int fl_cap(const struct sge_fl *fl) argument
248 return fl->size - FL_PER_EQ_UNIT;
254 * @fl: the Free List
261 const struct sge_fl *fl)
265 return fl->avail - fl->pend_cred <= s->fl_starve_thres;
465 * @fl: the SGE Free List to free buffers from
472 static void free_rx_bufs(struct adapter *adapter, struct sge_fl *fl, int n) argument
475 struct rx_sw_desc *sdesc = &fl
260 fl_starving(const struct adapter *adapter, const struct sge_fl *fl) argument
502 unmap_rx_buf(struct adapter *adapter, struct sge_fl *fl) argument
524 ring_fl_db(struct adapter *adapter, struct sge_fl *fl) argument
584 refill_fl(struct adapter *adapter, struct sge_fl *fl, int n, gfp_t gfp) argument
704 __refill_fl(struct adapter *adapter, struct sge_fl *fl) argument
1602 restore_rx_bufs(const struct pkt_gl *gl, struct sge_fl *fl, int frags) argument
1957 struct sge_fl *fl = s->egr_map[id]; local
2047 t4vf_sge_alloc_rxq(struct adapter *adapter, struct sge_rspq *rspq, bool iqasynch, struct net_device *dev, int intr_dest, struct sge_fl *fl, rspq_handler_t hnd) argument
2328 free_rspq_fl(struct adapter *adapter, struct sge_rspq *rspq, struct sge_fl *fl) argument
[all...]
H A Dcxgb4vf_main.c547 &rxq->fl, t4vf_ethrx_handler);
588 rxq->fl.abs_id = rxq->fl.cntxt_id + s->egr_base;
589 EQ_MAP(s, rxq->fl.abs_id) = &rxq->fl;
1276 rp->rx_pending = s->ethrxq[pi->first_qset].fl.size - MIN_FL_RESID;
1309 s->ethrxq[qs].fl.size = rp->rx_pending + MIN_FL_RESID;
1668 R("FL ID:", fl.abs_id);
1669 R("FL size:", fl.size - MIN_FL_RESID);
1670 R("FL avail:", fl
[all...]
H A Dadapter.h205 struct sge_fl fl; /* Free List */ member in struct:sge_eth_rxq
/drivers/media/usb/pvrusb2/
H A Dpvrusb2-ioread.h34 int pvr2_ioread_set_enabled(struct pvr2_ioread *,int fl);
H A Dpvrusb2-ioread.c243 int pvr2_ioread_set_enabled(struct pvr2_ioread *cp,int fl) argument
246 if ((!fl) == (!(cp->enabled))) return ret;
249 if (fl) {
H A Dpvrusb2-context.c43 static void pvr2_context_set_notify(struct pvr2_context *mp, int fl) argument
47 if (fl) {
H A Dpvrusb2-io.c183 int fl; local
194 fl = (sp->r_count == 0);
206 return fl;
H A Dpvrusb2-hdw.c1721 int fl; local
1723 fl = pvr2_hdw_untrip_unlocked(hdw);
1725 if (fl) pvr2_hdw_state_sched(hdw);
1764 int fl; local
1766 if ((fl = (hdw->desired_stream_type != config)) != 0) {
1774 if (fl) return 0;
3226 int fl; local
3228 fl = pvr2_hdw_commit_setup(hdw);
3230 if (!fl) return 0;
3237 int fl local
4566 int fl = !0; local
[all...]
/drivers/net/ethernet/chelsio/cxgb4/
H A Dsge.c233 * @fl: the FL
239 static inline unsigned int fl_cap(const struct sge_fl *fl) argument
241 return fl->size - 8; /* 1 descriptor = 8 buffers */
244 static inline bool fl_starving(const struct sge_fl *fl) argument
246 return fl->avail - fl->pend_cred <= FL_STARVE_THRES;
656 static inline void __refill_fl(struct adapter *adap, struct sge_fl *fl) argument
658 refill_fl(adap, fl, min(MAX_RX_REFILL, fl_cap(fl) - fl
2116 struct sge_fl *fl = s->egr_map[id]; local
2282 t4_sge_alloc_rxq(struct adapter *adap, struct sge_rspq *iq, bool fwevtq, struct net_device *dev, int intr_idx, struct sge_fl *fl, rspq_handler_t hnd) argument
2581 free_rspq_fl(struct adapter *adap, struct sge_rspq *rq, struct sge_fl *fl) argument
[all...]
H A Dcxgb4.h483 struct sge_fl fl; member in struct:sge_eth_rxq
496 struct sge_fl fl; member in struct:sge_ofld_rxq
885 struct sge_fl *fl, rspq_handler_t hnd);
/drivers/net/ethernet/chelsio/cxgb3/
H A Dsge.c169 return container_of(q, struct sge_qset, fl[qidx]);
558 static inline void __refill_fl(struct adapter *adap, struct sge_fl *fl) argument
560 refill_fl(adap, fl, min(MAX_RX_REFILL, fl->size - fl->credits),
653 memset(q->fl, 0, sizeof(struct sge_fl) * SGE_RXQ_PER_SET);
678 if (q->fl[i].desc) {
680 t3_sge_disable_fl(adapter, q->fl[i].cntxt_id);
682 free_rx_bufs(pdev, &q->fl[i]);
683 kfree(q->fl[
779 get_packet(struct adapter *adap, struct sge_fl *fl, unsigned int len, unsigned int drop_thres) argument
838 get_packet_pg(struct adapter *adap, struct sge_fl *fl, struct sge_rspq *q, unsigned int len, unsigned int drop_thres) argument
2063 lro_add_page(struct adapter *adap, struct sge_qset *qs, struct sge_fl *fl, int len, int complete) argument
2302 struct sge_fl *fl; local
[all...]
H A Dadapter.h204 struct sge_fl fl[SGE_RXQ_PER_SET]; member in struct:sge_qset
/drivers/net/ethernet/chelsio/cxgb/
H A Dsge.c997 * @fl: the free list
1003 static void recycle_fl_buf(struct freelQ *fl, int idx) argument
1005 struct freelQ_e *from = &fl->entries[idx];
1006 struct freelQ_e *to = &fl->entries[fl->pidx];
1008 fl->centries[fl->pidx] = fl->centries[idx];
1011 to->len_gen = G_CMD_LEN(from->len_gen) | V_CMD_GEN1(fl->genbit);
1013 to->gen2 = V_CMD_GEN2(fl
1040 get_packet(struct pci_dev *pdev, struct freelQ *fl, unsigned int len) argument
1089 unexpected_offload(struct adapter *adapter, struct freelQ *fl) argument
1352 sge_rx(struct sge *sge, struct freelQ *fl, unsigned int len) argument
1496 struct freelQ *fl = &sge->freelQ[e->FreelistQid]; local
1561 const struct freelQ *fl = &sge->freelQ[e->FreelistQid]; local
[all...]
/drivers/infiniband/hw/ehca/
H A Dehca_sqp.c132 u32 fl:20; member in struct:tcslfl
139 u32 fl:20; member in struct:vertcfl
195 tcslfl->fl = vertcfl->fl;
/drivers/scsi/csiostor/
H A Dcsio_wr.c87 csio_wr_reg32(hw, DBPRIO(1) | QID(flq->un.fl.flid) |
119 struct csio_dma_buf *buf = &flq->un.fl.bufs[0];
121 int sreg = flq->un.fl.sreg;
279 flq->un.fl.bufs = kzalloc(flq->credits *
282 if (!flq->un.fl.bufs) {
289 flq->un.fl.packen = 0;
290 flq->un.fl.offset = 0;
291 flq->un.fl.sreg = sreg;
486 iqp.fl0packen = flq->un.fl.packen ? 1 : 0;
1056 if (flq->un.fl
[all...]
H A Dcsio_wr.h412 struct csio_fl fl; member in union:csio_q::__anon5298
469 #define csio_q_flid(__hw, __idx) ((__hw)->wrm.q_arr[(__idx)]->un.fl.flid)
/drivers/message/fusion/lsi/
H A Dmpi.h584 #define MPI_SGE_GET_FLAGS(fl) (((fl) & ~MPI_SGE_LENGTH_MASK) >> MPI_SGE_FLAGS_SHIFT)
585 #define MPI_SGE_LENGTH(fl) ((fl) & MPI_SGE_LENGTH_MASK)
586 #define MPI_SGE_CHAIN_LENGTH(fl) ((fl) & MPI_SGE_CHAIN_LENGTH_MASK)
/drivers/media/i2c/smiapp/
H A Dsmiapp.h100 #define SMIAPP_IDENT_FQ(manufacturer, model, rev, fl, _name, _quirk) \
104 .flags = fl, \
/drivers/staging/lustre/include/linux/lnet/
H A Dlib-lnet.h189 int lnet_freelist_init(lnet_freelist_t *fl, int n, int size);
190 void lnet_freelist_fini(lnet_freelist_t *fl);
193 lnet_freelist_alloc(lnet_freelist_t *fl) argument
198 if (list_empty(&fl->fl_list))
201 o = list_entry(fl->fl_list.next, lnet_freeobj_t, fo_list);
207 lnet_freelist_free(lnet_freelist_t *fl, void *obj) argument
212 list_add(&o->fo_list, &fl->fl_list);
/drivers/staging/lustre/lnet/lnet/
H A Dapi-ni.c369 lnet_freelist_init(lnet_freelist_t *fl, int n, int size) argument
381 INIT_LIST_HEAD(&fl->fl_list);
382 fl->fl_objs = space;
383 fl->fl_nobjs = n;
384 fl->fl_objsize = size;
388 list_add((struct list_head *)space, &fl->fl_list);
396 lnet_freelist_fini(lnet_freelist_t *fl) argument
401 if (fl->fl_nobjs == 0)
405 for (el = fl->fl_list.next; el != &fl
[all...]
/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_vfpf.c1496 struct bnx2x_vf_mac_vlan_filters *fl = NULL; local
1503 fl = kzalloc(fsz, GFP_KERNEL);
1504 if (!fl)
1513 fl->filters[j].mac = msg_filter->mac;
1514 fl->filters[j].type = BNX2X_VF_FILTER_MAC;
1516 fl->filters[j].vid = msg_filter->vlan_tag;
1517 fl->filters[j].type = BNX2X_VF_FILTER_VLAN;
1519 fl->filters[j].add =
1522 fl->count++;
1524 if (!fl
1574 struct bnx2x_vf_mac_vlan_filters *fl = NULL; local
[all...]
/drivers/char/
H A Dppdev.c285 int fl; local
298 fl = (pp->flags & PP_EXCL) ? PARPORT_FLAG_EXCL : 0;
300 NULL, pp_irq, fl, pp);
/drivers/staging/lustre/lustre/include/
H A Ddt_object.h337 * \a fl - flags from enum lu_xattr_flags
344 const char *name, int fl,
348 const char *name, int fl, struct thandle *handle,
1347 const char *name, int fl,
1353 return dt->do_ops->do_declare_xattr_set(env, dt, buf, name, fl, th);
1358 const char *name, int fl, struct thandle *th,
1364 return dt->do_ops->do_xattr_set(env, dt, buf, name, fl, th, capa);
1344 dt_declare_xattr_set(const struct lu_env *env, struct dt_object *dt, const struct lu_buf *buf, const char *name, int fl, struct thandle *th) argument
1356 dt_xattr_set(const struct lu_env *env, struct dt_object *dt, const struct lu_buf *buf, const char *name, int fl, struct thandle *th, struct lustre_capa *capa) argument
/drivers/gpu/drm/radeon/
H A Dr600_dpm.h137 int r600_calculate_at(u32 t, u32 h, u32 fh, u32 fl, u32 *tl, u32 *th);

Completed in 361 milliseconds

12