/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 | 191 static int sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size); 192 static ssize_t sg_new_read(Sg_fd * sfp, char __user *buf, size_t count, 194 static ssize_t sg_new_write(Sg_fd *sfp, struct file *file, 197 static int sg_common_write(Sg_fd * sfp, Sg_request * srp, 201 static void sg_build_reserve(Sg_fd * sfp, int req_size); 202 static void sg_link_reserve(Sg_fd * sfp, Sg_request * srp, int size); 203 static void sg_unlink_reserve(Sg_fd * sfp, Sg_request * srp); 206 static Sg_request *sg_get_rq_mark(Sg_fd * sfp, int pack_id); 207 static Sg_request *sg_add_request(Sg_fd * sfp); 208 static int sg_remove_request(Sg_fd * sfp, Sg_request * srp); [all …]
|
/drivers/scsi/bfa/ |
D | bfa_ioc.c | 3392 static void bfa_sfp_getdata_send(struct bfa_sfp_s *sfp); 3393 static void bfa_sfp_media_get(struct bfa_sfp_s *sfp); 3394 static bfa_status_t bfa_sfp_speed_valid(struct bfa_sfp_s *sfp, 3398 bfa_cb_sfp_show(struct bfa_sfp_s *sfp) in bfa_cb_sfp_show() argument 3400 bfa_trc(sfp, sfp->lock); in bfa_cb_sfp_show() 3401 if (sfp->cbfn) in bfa_cb_sfp_show() 3402 sfp->cbfn(sfp->cbarg, sfp->status); in bfa_cb_sfp_show() 3403 sfp->lock = 0; in bfa_cb_sfp_show() 3404 sfp->cbfn = NULL; in bfa_cb_sfp_show() 3408 bfa_cb_sfp_state_query(struct bfa_sfp_s *sfp) in bfa_cb_sfp_state_query() argument [all …]
|
D | bfa_ioc.h | 441 #define BFA_SFP_MOD(__bfa) (&(__bfa)->modules.sfp) 446 void bfa_sfp_attach(struct bfa_sfp_s *sfp, struct bfa_ioc_s *ioc, 452 bfa_status_t bfa_sfp_show(struct bfa_sfp_s *sfp, struct sfp_mem_s *sfpmem, 455 bfa_status_t bfa_sfp_media(struct bfa_sfp_s *sfp, 459 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 | 603 struct sfp_mem_s sfp; member
|
D | bfad_bsg.c | 1713 iocmd->status = bfa_sfp_show(BFA_SFP_MOD(&bfad->bfa), &iocmd->sfp, in bfad_iocmd_diag_sfp()
|
/drivers/scsi/qla2xxx/ |
D | qla_bsg.c | 1504 void *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_update_fru_versions() local 1505 if (!sfp) { in qla2x00_update_fru_versions() 1517 memcpy(sfp, &image->field_info, sizeof(image->field_info)); in qla2x00_update_fru_versions() 1518 rval = qla2x00_write_sfp(vha, sfp_dma, sfp, in qla2x00_update_fru_versions() 1532 dma_pool_free(ha->s_dma_pool, sfp, sfp_dma); in qla2x00_update_fru_versions() 1552 uint8_t *sfp = dma_pool_alloc(ha->s_dma_pool, GFP_KERNEL, &sfp_dma); in qla2x00_read_fru_status() local 1553 if (!sfp) { in qla2x00_read_fru_status() 1562 rval = qla2x00_read_sfp(vha, sfp_dma, sfp, in qla2x00_read_fru_status() 1565 sr->status_reg = *sfp; in qla2x00_read_fru_status() 1579 dma_pool_free(ha->s_dma_pool, sfp, sfp_dma); in qla2x00_read_fru_status() [all …]
|
D | qla_mbx.c | 3901 qla2x00_read_sfp(scsi_qla_host_t *vha, dma_addr_t sfp_dma, uint8_t *sfp, in qla2x00_read_sfp() argument 3934 *sfp = mcp->mb[1]; in qla2x00_read_sfp() 3948 qla2x00_write_sfp(scsi_qla_host_t *vha, dma_addr_t sfp_dma, uint8_t *sfp, in qla2x00_write_sfp() argument 3966 len = *sfp; in qla2x00_write_sfp()
|