Lines Matching refs:sja1000
145 struct cpc_sja1000_params sja1000; member
176 struct cpc_sja1000_can_error sja1000; member
358 u8 ecc = msg->msg.error.cc.regs.sja1000.ecc; in ems_usb_rx_err()
359 u8 txerr = msg->msg.error.cc.regs.sja1000.txerr; in ems_usb_rx_err()
360 u8 rxerr = msg->msg.error.cc.regs.sja1000.rxerr; in ems_usb_rx_err()
553 dev->active_params.msg.can_params.cc_params.sja1000.mode = mode; in ems_usb_write_mode()
933 dev->active_params.msg.can_params.cc_params.sja1000.btr0 = btr0; in ems_usb_set_bittiming()
934 dev->active_params.msg.can_params.cc_params.sja1000.btr1 = btr1; in ems_usb_set_bittiming()
941 struct cpc_sja1000_params *sja1000 = in init_params_sja1000() local
942 &msg->msg.can_params.cc_params.sja1000; in init_params_sja1000()
951 sja1000->acc_code0 = 0x00; in init_params_sja1000()
952 sja1000->acc_code1 = 0x00; in init_params_sja1000()
953 sja1000->acc_code2 = 0x00; in init_params_sja1000()
954 sja1000->acc_code3 = 0x00; in init_params_sja1000()
957 sja1000->acc_mask0 = 0xFF; in init_params_sja1000()
958 sja1000->acc_mask1 = 0xFF; in init_params_sja1000()
959 sja1000->acc_mask2 = 0xFF; in init_params_sja1000()
960 sja1000->acc_mask3 = 0xFF; in init_params_sja1000()
962 sja1000->btr0 = 0; in init_params_sja1000()
963 sja1000->btr1 = 0; in init_params_sja1000()
965 sja1000->outp_contr = SJA1000_DEFAULT_OUTPUT_CONTROL; in init_params_sja1000()
966 sja1000->mode = SJA1000_MOD_RM; in init_params_sja1000()