/drivers/media/usb/pvrusb2/ |
D | pvrusb2-sysfs.c | 301 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/ |
D | sg.c | 194 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/ |
D | bfa_ioc.c | 3644 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 …]
|
D | bfa_ioc.h | 447 #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,
|
D | bfa_modules.h | 43 struct bfa_sfp_s sfp; /* SFP module */ member
|
D | bfa_core.c | 130 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()
|
D | bfad_bsg.h | 635 struct sfp_mem_s sfp; member
|
D | bfad_bsg.c | 1741 iocmd->status = bfa_sfp_show(BFA_SFP_MOD(&bfad->bfa), &iocmd->sfp, in bfad_iocmd_diag_sfp()
|
/drivers/scsi/qla2xxx/ |
D | qla_bsg.c | 1510 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 …]
|
D | qla_mbx.c | 4204 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()
|