Searched refs:softc_p (Results 1 – 7 of 7) sorted by relevance
/titanic_41/usr/src/uts/common/io/1394/targets/dcam1394/ |
H A D | dcam.c | 89 static int dcam_reset(dcam_state_t *softc_p); 212 dcam_state_t *softc_p; in dcam_attach() local 227 if ((softc_p = ddi_get_soft_state(dcam_state_p, instance)) == in dcam_attach() 236 softc_p->dip = dip; in dcam_attach() 237 softc_p->instance = instance; in dcam_attach() 238 softc_p->usr_model = -1; in dcam_attach() 239 softc_p->ixlp = NULL; in dcam_attach() 241 softc_p->seq_count = 0; in dcam_attach() 242 softc_p->param_status = 0; in dcam_attach() 247 softc_p->cur_vid_mode = 1; in dcam_attach() [all …]
|
H A D | dcam_frame.c | 124 dcam1394_ioctl_frame_rcv_start(dcam_state_t *softc_p) in dcam1394_ioctl_frame_rcv_start() argument 126 if (!(softc_p->flags & DCAM1394_FLAG_FRAME_RCV_INIT)) { in dcam1394_ioctl_frame_rcv_start() 128 if (dcam_frame_rcv_init(softc_p, softc_p->cur_vid_mode, in dcam1394_ioctl_frame_rcv_start() 129 softc_p->cur_frame_rate, softc_p->cur_ring_buff_capacity)) { in dcam1394_ioctl_frame_rcv_start() 131 dcam_free_resources(softc_p); in dcam1394_ioctl_frame_rcv_start() 135 softc_p->flags |= DCAM1394_FLAG_FRAME_RCV_INIT; in dcam1394_ioctl_frame_rcv_start() 138 if (dcam_frame_rcv_start(softc_p)) { in dcam1394_ioctl_frame_rcv_start() 150 dcam_frame_rcv_init(dcam_state_t *softc_p, int vid_mode, int frame_rate, in dcam_frame_rcv_init() argument 184 if ((softc_p->ring_buff_p = ring_buff_create(softc_p, in dcam_frame_rcv_init() 189 softc_p->ring_buff_p->read_ptr_pos[0] = 0; in dcam_frame_rcv_init() [all …]
|
H A D | dcam_param.c | 63 param_attr_init(dcam_state_t *softc_p, dcam1394_param_attr_t param_attr) in param_attr_init() argument 111 err = dcam1394_param_get(softc_p, DCAM1394_PARAM_CAP_POWER_CTRL, in param_attr_init() 188 err = dcam1394_param_get(softc_p, param, in param_attr_init() 237 err = dcam1394_param_get(softc_p, param, in param_attr_init() 258 err = dcam1394_param_get(softc_p, param, in param_attr_init() 329 dcam1394_ioctl_param_get(dcam_state_t *softc_p, in dcam1394_ioctl_param_get() argument 345 softc_p->param_attr[param][subparam] & in dcam1394_ioctl_param_get() 348 softc_p->param_attr[param][subparam] & in dcam1394_ioctl_param_get() 351 softc_p->param_attr[param][subparam] & in dcam1394_ioctl_param_get() 355 if (err = dcam1394_param_get(softc_p, in dcam1394_ioctl_param_get() [all …]
|
H A D | dcam_ring_buff.c | 61 ring_buff_create(dcam_state_t *softc_p, size_t num_buffs, in ring_buff_create() argument 94 softc_p->dip, in ring_buff_create() 95 &softc_p->attachinfo.dma_attr, in ring_buff_create() 99 ring_buff_free(softc_p, ring_buff_p); in ring_buff_create() 106 &softc_p->attachinfo.acc_attr, in ring_buff_create() 113 ring_buff_free(softc_p, ring_buff_p); in ring_buff_create() 143 ring_buff_free(softc_p, ring_buff_p); in ring_buff_create() 156 ring_buff_free(dcam_state_t *softc_p, ring_buff_t *ring_buff_p) in ring_buff_free() argument 162 softc_p->ring_buff_p = NULL; in ring_buff_free() 182 softc_p->ring_buff_p = NULL; in ring_buff_free()
|
/titanic_41/usr/src/uts/common/sys/1394/targets/dcam1394/ |
H A D | dcam_param.h | 43 int param_attr_init(dcam_state_t *softc_p, 48 int dcam1394_ioctl_param_get(dcam_state_t *softc_p, 50 int dcam1394_ioctl_param_set(dcam_state_t *softc_p, int is_ctrl_file, 53 int dcam1394_param_get(dcam_state_t *softc_p, uint_t param, 55 int dcam1394_param_set(dcam_state_t *softc_p, uint_t param, 58 int feature_get(dcam_state_t *softc_p, uint_t feature_csr_offs, 60 int feature_set(dcam_state_t *softc_p, uint_t feature_csr_offs, 63 int param_cap_power_ctrl_get(dcam_state_t *softc_p, uint_t *val_p); 64 int param_cap_vid_mode_get(dcam_state_t *softc_p, uint_t subparam, 66 int param_cap_frame_rate_get(dcam_state_t *softc_p, uint_t param, [all …]
|
H A D | dcam_frame.h | 36 int dcam1394_ioctl_frame_rcv_start(dcam_state_t *softc_p); 37 int dcam_frame_rcv_init(dcam_state_t *softc_p, int vid_mode, 39 int dcam_frame_rcv_fini(dcam_state_t *softc_p); 40 int dcam_frame_rcv_start(dcam_state_t *softc_p); 41 int dcam_frame_rcv_stop(dcam_state_t *softc_p);
|
H A D | dcam.h | 156 ring_buff_t *ring_buff_create(dcam_state_t *softc_p, size_t num_buffs, 158 void ring_buff_free(dcam_state_t *softc_p, ring_buff_t *ring_buff_p); 167 int dcam_frame_rcv_stop(dcam_state_t *softc_p); 168 int dcam1394_ioctl_frame_rcv_start(dcam_state_t *softc_p);
|