Searched refs:softc_p (Results 1 – 7 of 7) sorted by relevance
/illumos-gate/usr/src/uts/common/io/1394/targets/dcam1394/ |
H A D | dcam.c | 83 static int dcam_reset(dcam_state_t *softc_p); 192 dcam_state_t *softc_p; in dcam_attach() local 207 if ((softc_p = ddi_get_soft_state(dcam_state_p, instance)) == in dcam_attach() 216 softc_p->dip = dip; in dcam_attach() 217 softc_p->instance = instance; in dcam_attach() 218 softc_p->usr_model = -1; in dcam_attach() 219 softc_p->ixlp = NULL; in dcam_attach() 221 softc_p->seq_count = 0; in dcam_attach() 222 softc_p->param_status = 0; in dcam_attach() 227 softc_p->cur_vid_mode = 1; in dcam_attach() [all …]
|
H A D | dcam_frame.c | 121 dcam1394_ioctl_frame_rcv_start(dcam_state_t *softc_p) in dcam1394_ioctl_frame_rcv_start() argument 123 if (!(softc_p->flags & DCAM1394_FLAG_FRAME_RCV_INIT)) { in dcam1394_ioctl_frame_rcv_start() 125 if (dcam_frame_rcv_init(softc_p, softc_p->cur_vid_mode, in dcam1394_ioctl_frame_rcv_start() 126 softc_p->cur_frame_rate, softc_p->cur_ring_buff_capacity)) { in dcam1394_ioctl_frame_rcv_start() 128 dcam_free_resources(softc_p); in dcam1394_ioctl_frame_rcv_start() 132 softc_p->flags |= DCAM1394_FLAG_FRAME_RCV_INIT; in dcam1394_ioctl_frame_rcv_start() 135 if (dcam_frame_rcv_start(softc_p)) { in dcam1394_ioctl_frame_rcv_start() 147 dcam_frame_rcv_init(dcam_state_t *softc_p, int vid_mode, int frame_rate, in dcam_frame_rcv_init() argument 181 if ((softc_p->ring_buff_p = ring_buff_create(softc_p, in dcam_frame_rcv_init() 186 softc_p->ring_buff_p->read_ptr_pos[0] = 0; in dcam_frame_rcv_init() [all …]
|
H A D | dcam_param.c | 60 param_attr_init(dcam_state_t *softc_p, dcam1394_param_attr_t param_attr) in param_attr_init() argument 108 err = dcam1394_param_get(softc_p, DCAM1394_PARAM_CAP_POWER_CTRL, in param_attr_init() 185 err = dcam1394_param_get(softc_p, param, in param_attr_init() 234 err = dcam1394_param_get(softc_p, param, in param_attr_init() 255 err = dcam1394_param_get(softc_p, param, in param_attr_init() 326 dcam1394_ioctl_param_get(dcam_state_t *softc_p, in dcam1394_ioctl_param_get() argument 342 softc_p->param_attr[param][subparam] & in dcam1394_ioctl_param_get() 345 softc_p->param_attr[param][subparam] & in dcam1394_ioctl_param_get() 348 softc_p->param_attr[param][subparam] & in dcam1394_ioctl_param_get() 352 if (err = dcam1394_param_get(softc_p, in dcam1394_ioctl_param_get() [all …]
|
H A D | dcam_ring_buff.c | 58 ring_buff_create(dcam_state_t *softc_p, size_t num_buffs, in ring_buff_create() argument 91 softc_p->dip, in ring_buff_create() 92 &softc_p->attachinfo.dma_attr, in ring_buff_create() 96 ring_buff_free(softc_p, ring_buff_p); in ring_buff_create() 103 &softc_p->attachinfo.acc_attr, in ring_buff_create() 110 ring_buff_free(softc_p, ring_buff_p); in ring_buff_create() 140 ring_buff_free(softc_p, ring_buff_p); in ring_buff_create() 153 ring_buff_free(dcam_state_t *softc_p, ring_buff_t *ring_buff_p) in ring_buff_free() argument 159 softc_p->ring_buff_p = NULL; in ring_buff_free() 179 softc_p->ring_buff_p = NULL; in ring_buff_free()
|
/illumos-gate/usr/src/uts/common/sys/1394/targets/dcam1394/ |
H A D | dcam_param.h | 41 int param_attr_init(dcam_state_t *softc_p, 46 int dcam1394_ioctl_param_get(dcam_state_t *softc_p, 48 int dcam1394_ioctl_param_set(dcam_state_t *softc_p, int is_ctrl_file, 51 int dcam1394_param_get(dcam_state_t *softc_p, uint_t param, 53 int dcam1394_param_set(dcam_state_t *softc_p, uint_t param, 56 int feature_get(dcam_state_t *softc_p, uint_t feature_csr_offs, 58 int feature_set(dcam_state_t *softc_p, uint_t feature_csr_offs, 61 int param_cap_power_ctrl_get(dcam_state_t *softc_p, uint_t *val_p); 62 int param_cap_vid_mode_get(dcam_state_t *softc_p, uint_t subparam, 64 int param_cap_frame_rate_get(dcam_state_t *softc_p, uint_t param, [all …]
|
H A D | dcam_frame.h | 34 int dcam1394_ioctl_frame_rcv_start(dcam_state_t *softc_p); 35 int dcam_frame_rcv_init(dcam_state_t *softc_p, int vid_mode, 37 int dcam_frame_rcv_fini(dcam_state_t *softc_p); 38 int dcam_frame_rcv_start(dcam_state_t *softc_p); 39 int dcam_frame_rcv_stop(dcam_state_t *softc_p);
|
H A D | dcam.h | 154 ring_buff_t *ring_buff_create(dcam_state_t *softc_p, size_t num_buffs, 156 void ring_buff_free(dcam_state_t *softc_p, ring_buff_t *ring_buff_p); 165 int dcam_frame_rcv_stop(dcam_state_t *softc_p); 166 int dcam1394_ioctl_frame_rcv_start(dcam_state_t *softc_p);
|