Home
last modified time | relevance | path

Searched refs:sfp (Results 1 – 10 of 10) sorted by relevance

/drivers/media/usb/pvrusb2/
Dpvrusb2-sysfs.c301 static void pvr2_sysfs_add_control(struct pvr2_sysfs *sfp,int ctl_id) in pvr2_sysfs_add_control() argument
308 cptr = pvr2_hdw_get_ctrl_by_index(sfp->channel.hdw,ctl_id); in pvr2_sysfs_add_control()
318 cip->chptr = sfp; in pvr2_sysfs_add_control()
320 if (sfp->item_last) { in pvr2_sysfs_add_control()
321 sfp->item_last->item_next = cip; in pvr2_sysfs_add_control()
323 sfp->item_first = cip; in pvr2_sysfs_add_control()
325 sfp->item_last = cip; in pvr2_sysfs_add_control()
410 ret = sysfs_create_group(&sfp->class_dev->kobj,&cip->grp); in pvr2_sysfs_add_control()
428 static void pvr2_sysfs_add_debugifc(struct pvr2_sysfs *sfp) in pvr2_sysfs_add_debugifc() argument
444 sfp->debugifc = dip; in pvr2_sysfs_add_debugifc()
[all …]
/drivers/scsi/
Dsg.c194 static int sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size);
195 static ssize_t sg_new_read(Sg_fd * sfp, char __user *buf, size_t count,
197 static ssize_t sg_new_write(Sg_fd *sfp, struct file *file,
200 static int sg_common_write(Sg_fd * sfp, Sg_request * srp,
203 static void sg_remove_scat(Sg_fd * sfp, Sg_scatter_hold * schp);
204 static void sg_build_reserve(Sg_fd * sfp, int req_size);
205 static void sg_link_reserve(Sg_fd * sfp, Sg_request * srp, int size);
206 static void sg_unlink_reserve(Sg_fd * sfp, Sg_request * srp);
209 static Sg_request *sg_get_rq_mark(Sg_fd * sfp, int pack_id);
210 static Sg_request *sg_add_request(Sg_fd * sfp);
[all …]
/drivers/scsi/bfa/
Dbfa_ioc.c3644 static void bfa_sfp_getdata_send(struct bfa_sfp_s *sfp);
3645 static void bfa_sfp_media_get(struct bfa_sfp_s *sfp);
3646 static bfa_status_t bfa_sfp_speed_valid(struct bfa_sfp_s *sfp,
3650 bfa_cb_sfp_show(struct bfa_sfp_s *sfp) in bfa_cb_sfp_show() argument
3652 bfa_trc(sfp, sfp->lock); in bfa_cb_sfp_show()
3653 if (sfp->cbfn) in bfa_cb_sfp_show()
3654 sfp->cbfn(sfp->cbarg, sfp->status); in bfa_cb_sfp_show()
3655 sfp->lock = 0; in bfa_cb_sfp_show()
3656 sfp->cbfn = NULL; in bfa_cb_sfp_show()
3660 bfa_cb_sfp_state_query(struct bfa_sfp_s *sfp) in bfa_cb_sfp_state_query() argument
[all …]
Dbfa_ioc.h447 #define BFA_SFP_MOD(__bfa) (&(__bfa)->modules.sfp)
452 void bfa_sfp_attach(struct bfa_sfp_s *sfp, struct bfa_ioc_s *ioc,
458 bfa_status_t bfa_sfp_show(struct bfa_sfp_s *sfp, struct sfp_mem_s *sfpmem,
461 bfa_status_t bfa_sfp_media(struct bfa_sfp_s *sfp,
465 bfa_status_t bfa_sfp_speed(struct bfa_sfp_s *sfp,
Dbfa_modules.h43 struct bfa_sfp_s sfp; /* SFP module */ member
Dbfa_core.c130 struct bfa_sfp_s *sfp = BFA_SFP_MOD(bfa); in bfa_com_sfp_attach() local
133 bfa_sfp_attach(sfp, &bfa->ioc, bfa, bfa->trcmod); in bfa_com_sfp_attach()
134 bfa_sfp_memclaim(sfp, sfp_dma->kva_curp, sfp_dma->dma_curp); in bfa_com_sfp_attach()
Dbfad_bsg.h635 struct sfp_mem_s sfp; member
Dbfad_bsg.c1741 iocmd->status = bfa_sfp_show(BFA_SFP_MOD(&bfad->bfa), &iocmd->sfp, in bfad_iocmd_diag_sfp()
/drivers/scsi/qla2xxx/
Dqla_bsg.c1510 void *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_update_fru_versions() local
1511 if (!sfp) { in qla2x00_update_fru_versions()
1523 memcpy(sfp, &image->field_info, sizeof(image->field_info)); in qla2x00_update_fru_versions()
1524 rval = qla2x00_write_sfp(vha, sfp_dma, sfp, in qla2x00_update_fru_versions()
1538 dma_pool_free(ha->s_dma_pool, sfp, sfp_dma); in qla2x00_update_fru_versions()
1558 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_read_fru_status() local
1559 if (!sfp) { in qla2x00_read_fru_status()
1568 rval = qla2x00_read_sfp(vha, sfp_dma, sfp, in qla2x00_read_fru_status()
1571 sr->status_reg = *sfp; in qla2x00_read_fru_status()
1585 dma_pool_free(ha->s_dma_pool, sfp, sfp_dma); in qla2x00_read_fru_status()
[all …]
Dqla_mbx.c4204 qla2x00_read_sfp(scsi_qla_host_t *vha, dma_addr_t sfp_dma, uint8_t *sfp, in qla2x00_read_sfp() argument
4237 *sfp = mcp->mb[1]; in qla2x00_read_sfp()
4251 qla2x00_write_sfp(scsi_qla_host_t *vha, dma_addr_t sfp_dma, uint8_t *sfp, in qla2x00_write_sfp() argument
4269 len = *sfp; in qla2x00_write_sfp()