Lines Matching refs:param
86 static int irlap_param_baud_rate(void *instance, irda_param_t *param, int get);
89 static int irlap_param_max_turn_time(void *instance, irda_param_t *param,
91 static int irlap_param_data_size(void *instance, irda_param_t *param, int get);
92 static int irlap_param_window_size(void *instance, irda_param_t *param,
96 static int irlap_param_min_turn_time(void *instance, irda_param_t *param,
533 static int irlap_param_baud_rate(void *instance, irda_param_t *param, int get) in irlap_param_baud_rate() argument
543 param->pv.i = self->qos_rx.baud_rate.bits; in irlap_param_baud_rate()
545 param->pv.i); in irlap_param_baud_rate()
551 IRDA_DEBUG(2, "Requested BAUD_RATE: 0x%04x\n", (__u16) param->pv.i); in irlap_param_baud_rate()
552 final = (__u16) param->pv.i & self->qos_rx.baud_rate.bits; in irlap_param_baud_rate()
568 static int irlap_param_link_disconnect(void *instance, irda_param_t *param, in irlap_param_link_disconnect() argument
579 param->pv.i = self->qos_rx.link_disc_time.bits; in irlap_param_link_disconnect()
585 IRDA_DEBUG(2, "LINK_DISC: %02x\n", (__u8) param->pv.i); in irlap_param_link_disconnect()
586 final = (__u8) param->pv.i & self->qos_rx.link_disc_time.bits; in irlap_param_link_disconnect()
602 static int irlap_param_max_turn_time(void *instance, irda_param_t *param, in irlap_param_max_turn_time() argument
611 param->pv.i = self->qos_rx.max_turn_time.bits; in irlap_param_max_turn_time()
613 self->qos_tx.max_turn_time.bits = (__u8) param->pv.i; in irlap_param_max_turn_time()
625 static int irlap_param_data_size(void *instance, irda_param_t *param, int get) in irlap_param_data_size() argument
633 param->pv.i = self->qos_rx.data_size.bits; in irlap_param_data_size()
635 self->qos_tx.data_size.bits = (__u8) param->pv.i; in irlap_param_data_size()
647 static int irlap_param_window_size(void *instance, irda_param_t *param, in irlap_param_window_size() argument
656 param->pv.i = self->qos_rx.window_size.bits; in irlap_param_window_size()
658 self->qos_tx.window_size.bits = (__u8) param->pv.i; in irlap_param_window_size()
669 static int irlap_param_additional_bofs(void *instance, irda_param_t *param, int get) in irlap_param_additional_bofs() argument
677 param->pv.i = self->qos_rx.additional_bofs.bits; in irlap_param_additional_bofs()
679 self->qos_tx.additional_bofs.bits = (__u8) param->pv.i; in irlap_param_additional_bofs()
690 static int irlap_param_min_turn_time(void *instance, irda_param_t *param, in irlap_param_min_turn_time() argument
699 param->pv.i = self->qos_rx.min_turn_time.bits; in irlap_param_min_turn_time()
701 self->qos_tx.min_turn_time.bits = (__u8) param->pv.i; in irlap_param_min_turn_time()