Home
last modified time | relevance | path

Searched refs:cf (Results 1 – 25 of 306) sorted by relevance

12345678910>>...13

/OK3568_Linux_fs/kernel/drivers/pcmcia/
H A Delectra_cf.c55 static int electra_cf_present(struct electra_cf_socket *cf) in electra_cf_present() argument
59 gpio = in_le32(cf->gpio_base+0x40); in electra_cf_present()
60 return !(gpio & (1 << cf->gpio_detect)); in electra_cf_present()
71 struct electra_cf_socket *cf = from_timer(cf, t, timer); in electra_cf_timer() local
72 int present = electra_cf_present(cf); in electra_cf_timer()
74 if (present != cf->present) { in electra_cf_timer()
75 cf->present = present; in electra_cf_timer()
76 pcmcia_parse_events(&cf->socket, SS_DETECT); in electra_cf_timer()
79 if (cf->active) in electra_cf_timer()
80 mod_timer(&cf->timer, jiffies + POLL_INTERVAL); in electra_cf_timer()
[all …]
H A Domap_cf.c81 struct omap_cf_socket *cf = from_timer(cf, t, timer); in omap_cf_timer() local
84 if (present != cf->present) { in omap_cf_timer()
85 cf->present = present; in omap_cf_timer()
88 pcmcia_parse_events(&cf->socket, SS_DETECT); in omap_cf_timer()
91 if (cf->active) in omap_cf_timer()
92 mod_timer(&cf->timer, jiffies + POLL_INTERVAL); in omap_cf_timer()
101 struct omap_cf_socket *cf = (struct omap_cf_socket *)_cf; in omap_cf_irq() local
103 omap_cf_timer(&cf->timer); in omap_cf_irq()
114 struct omap_cf_socket *cf; in omap_cf_get_status() local
117 cf = container_of(s, struct omap_cf_socket, socket); in omap_cf_get_status()
[all …]
H A Dat91_cf.c53 static inline int at91_cf_present(struct at91_cf_socket *cf) in at91_cf_present() argument
55 return !gpio_get_value(cf->board->det_pin); in at91_cf_present()
67 struct at91_cf_socket *cf = _cf; in at91_cf_irq() local
69 if (irq == gpio_to_irq(cf->board->det_pin)) { in at91_cf_irq()
70 unsigned present = at91_cf_present(cf); in at91_cf_irq()
73 if (present != cf->present) { in at91_cf_irq()
74 cf->present = present; in at91_cf_irq()
75 dev_dbg(&cf->pdev->dev, "card %s\n", in at91_cf_irq()
77 pcmcia_parse_events(&cf->socket, SS_DETECT); in at91_cf_irq()
86 struct at91_cf_socket *cf; in at91_cf_get_status() local
[all …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/parser/
H A Dwrite.c78 FILE *cf; in doWriteConfigFile() local
80 if ((cf = fopen(filename, "w")) == NULL) { in doWriteConfigFile()
85 fprintf(cf, "%s\n", cptr->conf_comment); in doWriteConfigFile()
87 xf86printLayoutSection(cf, cptr->conf_layout_lst); in doWriteConfigFile()
90 fprintf(cf, "Section \"Files\"\n"); in doWriteConfigFile()
91 xf86printFileSection(cf, cptr->conf_files); in doWriteConfigFile()
92 fprintf(cf, "EndSection\n\n"); in doWriteConfigFile()
96 fprintf(cf, "Section \"Module\"\n"); in doWriteConfigFile()
97 xf86printModuleSection(cf, cptr->conf_modules); in doWriteConfigFile()
98 fprintf(cf, "EndSection\n\n"); in doWriteConfigFile()
[all …]
H A DDevice.c258 xf86printDeviceSection(FILE * cf, XF86ConfDevicePtr ptr) in xf86printDeviceSection() argument
263 fprintf(cf, "Section \"Device\"\n"); in xf86printDeviceSection()
265 fprintf(cf, "%s", ptr->dev_comment); in xf86printDeviceSection()
267 fprintf(cf, "\tIdentifier \"%s\"\n", ptr->dev_identifier); in xf86printDeviceSection()
269 fprintf(cf, "\tDriver \"%s\"\n", ptr->dev_driver); in xf86printDeviceSection()
271 fprintf(cf, "\tVendorName \"%s\"\n", ptr->dev_vendor); in xf86printDeviceSection()
273 fprintf(cf, "\tBoardName \"%s\"\n", ptr->dev_board); in xf86printDeviceSection()
275 fprintf(cf, "\tChipSet \"%s\"\n", ptr->dev_chipset); in xf86printDeviceSection()
277 fprintf(cf, "\tCard \"%s\"\n", ptr->dev_card); in xf86printDeviceSection()
279 fprintf(cf, "\tRamDac \"%s\"\n", ptr->dev_ramdac); in xf86printDeviceSection()
[all …]
H A DInputClass.c396 xf86printInputClassSection(FILE * cf, XF86ConfInputClassPtr ptr) in xf86printInputClassSection() argument
402 fprintf(cf, "Section \"InputClass\"\n"); in xf86printInputClassSection()
404 fprintf(cf, "%s", ptr->comment); in xf86printInputClassSection()
406 fprintf(cf, "\tIdentifier \"%s\"\n", ptr->identifier); in xf86printInputClassSection()
408 fprintf(cf, "\tDriver \"%s\"\n", ptr->driver); in xf86printInputClassSection()
411 fprintf(cf, "\tMatchProduct \""); in xf86printInputClassSection()
413 fprintf(cf, "%s%s", cur == group->values ? "" : TOKEN_SEP, in xf86printInputClassSection()
415 fprintf(cf, "\"\n"); in xf86printInputClassSection()
418 fprintf(cf, "\tMatchVendor \""); in xf86printInputClassSection()
420 fprintf(cf, "%s%s", cur == group->values ? "" : TOKEN_SEP, in xf86printInputClassSection()
[all …]
H A DMonitor.c639 xf86printMonitorSection(FILE * cf, XF86ConfMonitorPtr ptr) in xf86printMonitorSection() argument
647 fprintf(cf, "Section \"Monitor\"\n"); in xf86printMonitorSection()
649 fprintf(cf, "%s", ptr->mon_comment); in xf86printMonitorSection()
651 fprintf(cf, "\tIdentifier \"%s\"\n", ptr->mon_identifier); in xf86printMonitorSection()
653 fprintf(cf, "\tVendorName \"%s\"\n", ptr->mon_vendor); in xf86printMonitorSection()
655 fprintf(cf, "\tModelName \"%s\"\n", ptr->mon_modelname); in xf86printMonitorSection()
657 fprintf(cf, "\tUseModes \"%s\"\n", mptr->ml_modes_str); in xf86printMonitorSection()
661 fprintf(cf, "\tDisplaySize %d\t%d\n", in xf86printMonitorSection()
664 fprintf(cf, "\tHorizSync %2.1f - %2.1f\n", in xf86printMonitorSection()
668 fprintf(cf, "\tVertRefresh %2.1f - %2.1f\n", in xf86printMonitorSection()
[all …]
H A DScreen.c375 xf86printScreenSection(FILE * cf, XF86ConfScreenPtr ptr) in xf86printScreenSection() argument
382 fprintf(cf, "Section \"Screen\"\n"); in xf86printScreenSection()
384 fprintf(cf, "%s", ptr->scrn_comment); in xf86printScreenSection()
386 fprintf(cf, "\tIdentifier \"%s\"\n", ptr->scrn_identifier); in xf86printScreenSection()
388 fprintf(cf, "\tDriver \"%s\"\n", ptr->scrn_obso_driver); in xf86printScreenSection()
390 fprintf(cf, "\tDevice \"%s\"\n", ptr->scrn_device_str); in xf86printScreenSection()
393 fprintf(cf, "\tGPUDevice \"%s\"\n", ptr->scrn_gpu_device_str[i]); in xf86printScreenSection()
395 fprintf(cf, "\tMonitor \"%s\"\n", ptr->scrn_monitor_str); in xf86printScreenSection()
397 fprintf(cf, "\tDefaultDepth %d\n", ptr->scrn_defaultdepth); in xf86printScreenSection()
399 fprintf(cf, "\tDefaultBPP %d\n", ptr->scrn_defaultbpp); in xf86printScreenSection()
[all …]
H A DVideo.c218 xf86printVideoAdaptorSection(FILE * cf, XF86ConfVideoAdaptorPtr ptr) in xf86printVideoAdaptorSection() argument
223 fprintf(cf, "Section \"VideoAdaptor\"\n"); in xf86printVideoAdaptorSection()
225 fprintf(cf, "%s", ptr->va_comment); in xf86printVideoAdaptorSection()
227 fprintf(cf, "\tIdentifier \"%s\"\n", ptr->va_identifier); in xf86printVideoAdaptorSection()
229 fprintf(cf, "\tVendorName \"%s\"\n", ptr->va_vendor); in xf86printVideoAdaptorSection()
231 fprintf(cf, "\tBoardName \"%s\"\n", ptr->va_board); in xf86printVideoAdaptorSection()
233 fprintf(cf, "\tBusID \"%s\"\n", ptr->va_busid); in xf86printVideoAdaptorSection()
235 fprintf(cf, "\tDriver \"%s\"\n", ptr->va_driver); in xf86printVideoAdaptorSection()
236 xf86printOptionList(cf, ptr->va_option_lst, 1); in xf86printVideoAdaptorSection()
238 fprintf(cf, "\tSubSection \"VideoPort\"\n"); in xf86printVideoAdaptorSection()
[all …]
H A DLayout.c313 xf86printLayoutSection(FILE * cf, XF86ConfLayoutPtr ptr) in xf86printLayoutSection() argument
321 fprintf(cf, "Section \"ServerLayout\"\n"); in xf86printLayoutSection()
323 fprintf(cf, "%s", ptr->lay_comment); in xf86printLayoutSection()
325 fprintf(cf, "\tIdentifier \"%s\"\n", ptr->lay_identifier); in xf86printLayoutSection()
328 fprintf(cf, "\tScreen "); in xf86printLayoutSection()
330 fprintf(cf, "%2d", aptr->adj_scrnum); in xf86printLayoutSection()
332 fprintf(cf, " "); in xf86printLayoutSection()
333 fprintf(cf, " \"%s\"", aptr->adj_screen_str); in xf86printLayoutSection()
336 fprintf(cf, " \"%s\"", aptr->adj_top_str); in xf86printLayoutSection()
337 fprintf(cf, " \"%s\"", aptr->adj_bottom_str); in xf86printLayoutSection()
[all …]
H A DconfigProcs.h34 void xf86printDeviceSection(FILE * cf, XF86ConfDevicePtr ptr);
40 void xf86printFileSection(FILE * cf, XF86ConfFilesPtr ptr);
64 void xf86printLayoutSection(FILE * cf, XF86ConfLayoutPtr ptr);
70 void xf86printModuleSection(FILE * cf, XF86ConfModulePtr ptr);
79 void xf86printMonitorSection(FILE * cf, XF86ConfMonitorPtr ptr);
80 void xf86printModesSection(FILE * cf, XF86ConfModesPtr ptr);
90 void xf86printScreenSection(FILE * cf, XF86ConfScreenPtr ptr);
97 void xf86printVendorSection(FILE * cf, XF86ConfVendorPtr ptr);
101 void xf86printVideoAdaptorSection(FILE * cf, XF86ConfVideoAdaptorPtr ptr);
126 xf86printDRISection(FILE * cf, XF86ConfDRIPtr ptr);
[all …]
/OK3568_Linux_fs/kernel/drivers/clk/sunxi-ng/
H A Dccu_frac.c14 struct ccu_frac_internal *cf) in ccu_frac_helper_is_enabled() argument
19 return !(readl(common->base + common->reg) & cf->enable); in ccu_frac_helper_is_enabled()
23 struct ccu_frac_internal *cf) in ccu_frac_helper_enable() argument
33 writel(reg & ~cf->enable, common->base + common->reg); in ccu_frac_helper_enable()
38 struct ccu_frac_internal *cf) in ccu_frac_helper_disable() argument
48 writel(reg | cf->enable, common->base + common->reg); in ccu_frac_helper_disable()
53 struct ccu_frac_internal *cf, in ccu_frac_helper_has_rate() argument
59 return (cf->rates[0] == rate) || (cf->rates[1] == rate); in ccu_frac_helper_has_rate()
63 struct ccu_frac_internal *cf) in ccu_frac_helper_read_rate() argument
73 clk_hw_get_name(&common->hw), cf->rates[0], cf->rates[1]); in ccu_frac_helper_read_rate()
[all …]
/OK3568_Linux_fs/kernel/net/can/
H A Dgw.c98 void (*modfunc[MAX_MODFUNCTIONS])(struct canfd_frame *cf,
107 void (*xor)(struct canfd_frame *cf,
109 void (*crc8)(struct canfd_frame *cf,
153 #define MODFUNC(func, op) static void func(struct canfd_frame *cf, \
156 MODFUNC(mod_and_id, cf->can_id &= mod->modframe.and.can_id)
157 MODFUNC(mod_and_len, cf->len &= mod->modframe.and.len)
158 MODFUNC(mod_and_flags, cf->flags &= mod->modframe.and.flags)
159 MODFUNC(mod_and_data, *(u64 *)cf->data &= *(u64 *)mod->modframe.and.data)
160 MODFUNC(mod_or_id, cf->can_id |= mod->modframe.or.can_id)
161 MODFUNC(mod_or_len, cf->len |= mod->modframe.or.len)
[all …]
H A Disotp.c281 static int check_optimized(struct canfd_frame *cf, int start_index) in check_optimized() argument
288 if (cf->len <= CAN_MAX_DLEN) in check_optimized()
289 return (cf->len != start_index); in check_optimized()
297 return (cf->len != padlen(start_index)); in check_optimized()
301 static int check_pad(struct isotp_sock *so, struct canfd_frame *cf, in check_pad() argument
309 return check_optimized(cf, start_index); in check_pad()
317 cf->len != padlen(cf->len)) in check_pad()
322 for (i = start_index; i < cf->len; i++) in check_pad()
323 if (cf->data[i] != content) in check_pad()
329 static int isotp_rcv_fc(struct isotp_sock *so, struct canfd_frame *cf, int ae) in isotp_rcv_fc() argument
[all …]
/OK3568_Linux_fs/kernel/drivers/net/can/
H A Dxilinx_can.c555 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in xcan_write_frame() local
560 if (cf->can_id & CAN_EFF_FLAG) { in xcan_write_frame()
562 id = ((cf->can_id & CAN_EFF_MASK) << XCAN_IDR_ID2_SHIFT) & in xcan_write_frame()
564 id |= (((cf->can_id & CAN_EFF_MASK) >> in xcan_write_frame()
573 if (cf->can_id & CAN_RTR_FLAG) in xcan_write_frame()
578 id = ((cf->can_id & CAN_SFF_MASK) << XCAN_IDR_ID1_SHIFT) & in xcan_write_frame()
581 if (cf->can_id & CAN_RTR_FLAG) in xcan_write_frame()
586 dlc = can_len2dlc(cf->len) << XCAN_DLCR_DLC_SHIFT; in xcan_write_frame()
588 if (cf->flags & CANFD_BRS) in xcan_write_frame()
608 for (i = 0; i < cf->len; i += 4) { in xcan_write_frame()
[all …]
H A Dslcan.c146 struct can_frame cf; in slc_bump() local
151 memset(&cf, 0, sizeof(cf)); in slc_bump()
155 cf.can_id = CAN_RTR_FLAG; in slc_bump()
159 cf.can_dlc = sl->rbuff[SLC_CMD_LEN + SLC_SFF_ID_LEN]; in slc_bump()
165 cf.can_id = CAN_RTR_FLAG; in slc_bump()
168 cf.can_id |= CAN_EFF_FLAG; in slc_bump()
170 cf.can_dlc = sl->rbuff[SLC_CMD_LEN + SLC_EFF_ID_LEN]; in slc_bump()
182 cf.can_id |= tmpid; in slc_bump()
185 if (cf.can_dlc >= '0' && cf.can_dlc < '9') in slc_bump()
186 cf.can_dlc -= '0'; in slc_bump()
[all …]
H A Djanz-ican3.c911 struct can_frame *cf) in ican3_to_can_frame() argument
915 cf->can_id |= CAN_RTR_FLAG; in ican3_to_can_frame()
917 cf->can_id |= desc->data[0] << 3; in ican3_to_can_frame()
918 cf->can_id |= (desc->data[1] & 0xe0) >> 5; in ican3_to_can_frame()
919 cf->can_dlc = get_can_dlc(desc->data[1] & ICAN3_CAN_DLC_MASK); in ican3_to_can_frame()
920 memcpy(cf->data, &desc->data[2], cf->can_dlc); in ican3_to_can_frame()
922 cf->can_dlc = get_can_dlc(desc->data[0] & ICAN3_CAN_DLC_MASK); in ican3_to_can_frame()
924 cf->can_id |= CAN_RTR_FLAG; in ican3_to_can_frame()
927 cf->can_id |= CAN_EFF_FLAG; in ican3_to_can_frame()
928 cf->can_id |= desc->data[2] << 21; /* 28-21 */ in ican3_to_can_frame()
[all …]
H A Dat91_can.c453 struct can_frame *cf = (struct can_frame *)skb->data; in at91_start_xmit() local
469 reg_mid = at91_can_id_to_reg_mid(cf->can_id); in at91_start_xmit()
470 reg_mcr = ((cf->can_id & CAN_RTR_FLAG) ? AT91_MCR_MRTR : 0) | in at91_start_xmit()
471 (cf->can_dlc << 16) | AT91_MCR_MTCR; in at91_start_xmit()
478 at91_write(priv, AT91_MDL(mb), *(u32 *)(cf->data + 0)); in at91_start_xmit()
479 at91_write(priv, AT91_MDH(mb), *(u32 *)(cf->data + 4)); in at91_start_xmit()
484 stats->tx_bytes += cf->can_dlc; in at91_start_xmit()
543 struct can_frame *cf; in at91_rx_overflow_err() local
549 skb = alloc_can_err_skb(dev, &cf); in at91_rx_overflow_err()
553 cf->can_id |= CAN_ERR_CRTL; in at91_rx_overflow_err()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c254 struct canfd_frame *cf; in pucan_handle_can_rx() local
291 skb = alloc_canfd_skb(priv->ndev, &cf); in pucan_handle_can_rx()
296 cf->flags |= CANFD_BRS; in pucan_handle_can_rx()
299 cf->flags |= CANFD_ESI; in pucan_handle_can_rx()
302 skb = alloc_can_skb(priv->ndev, (struct can_frame **)&cf); in pucan_handle_can_rx()
307 cf->can_id = le32_to_cpu(msg->can_id); in pucan_handle_can_rx()
308 cf->len = cf_len; in pucan_handle_can_rx()
311 cf->can_id |= CAN_EFF_FLAG; in pucan_handle_can_rx()
314 cf->can_id |= CAN_RTR_FLAG; in pucan_handle_can_rx()
316 memcpy(cf->data, msg->d, cf->len); in pucan_handle_can_rx()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/can/usb/peak_usb/
H A Dpcan_usb.c451 struct can_frame *cf; in pcan_usb_decode_error() local
528 skb = alloc_can_err_skb(mc->netdev, &cf); in pcan_usb_decode_error()
534 cf->can_id |= CAN_ERR_BUSOFF; in pcan_usb_decode_error()
540 cf->can_id |= CAN_ERR_CRTL; in pcan_usb_decode_error()
541 cf->data[1] = (mc->pdev->bec.txerr > mc->pdev->bec.rxerr) ? in pcan_usb_decode_error()
544 cf->data[6] = mc->pdev->bec.txerr; in pcan_usb_decode_error()
545 cf->data[7] = mc->pdev->bec.rxerr; in pcan_usb_decode_error()
551 cf->can_id |= CAN_ERR_CRTL; in pcan_usb_decode_error()
552 cf->data[1] = (mc->pdev->bec.txerr > mc->pdev->bec.rxerr) ? in pcan_usb_decode_error()
555 cf->data[6] = mc->pdev->bec.txerr; in pcan_usb_decode_error()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/can/ifi_canfd/
H A Difi_canfd.c252 struct canfd_frame *cf; in ifi_canfd_read_fifo() local
262 skb = alloc_canfd_skb(ndev, &cf); in ifi_canfd_read_fifo()
264 skb = alloc_can_skb(ndev, (struct can_frame **)&cf); in ifi_canfd_read_fifo()
274 cf->len = can_dlc2len(dlc); in ifi_canfd_read_fifo()
276 cf->len = get_can_dlc(dlc); in ifi_canfd_read_fifo()
294 cf->can_id = id; in ifi_canfd_read_fifo()
297 cf->flags |= CANFD_ESI; in ifi_canfd_read_fifo()
303 cf->can_id |= CAN_RTR_FLAG; in ifi_canfd_read_fifo()
306 cf->flags |= CANFD_BRS; in ifi_canfd_read_fifo()
308 for (i = 0; i < cf->len; i += 4) { in ifi_canfd_read_fifo()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/can/rockchip/
H A Drockchip_canfd.c515 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in rockchip_canfd_start_xmit() local
530 if (cf->can_id & CAN_EFF_FLAG) { in rockchip_canfd_start_xmit()
532 id = cf->can_id & CAN_EFF_MASK; in rockchip_canfd_start_xmit()
533 dlc = can_len2dlc(cf->len) & DLC_MASK; in rockchip_canfd_start_xmit()
537 if (cf->can_id & CAN_RTR_FLAG) in rockchip_canfd_start_xmit()
541 id = cf->can_id & CAN_SFF_MASK; in rockchip_canfd_start_xmit()
542 dlc = can_len2dlc(cf->len) & DLC_MASK; in rockchip_canfd_start_xmit()
545 if (cf->can_id & CAN_RTR_FLAG) in rockchip_canfd_start_xmit()
551 if (cf->flags & CANFD_BRS) in rockchip_canfd_start_xmit()
555 if (!rcan->txtorx && rcan->mode >= ROCKCHIP_CAN_MODE && cf->can_id & CAN_EFF_FLAG) { in rockchip_canfd_start_xmit()
[all …]
H A Dforlinx_canfd.c515 struct canfd_frame *cf = (struct canfd_frame *)skb->data; in rockchip_canfd_start_xmit() local
530 if (cf->can_id & CAN_EFF_FLAG) { in rockchip_canfd_start_xmit()
532 id = cf->can_id & CAN_EFF_MASK; in rockchip_canfd_start_xmit()
533 dlc = can_len2dlc(cf->len) & DLC_MASK; in rockchip_canfd_start_xmit()
537 if (cf->can_id & CAN_RTR_FLAG) in rockchip_canfd_start_xmit()
541 id = cf->can_id & CAN_SFF_MASK; in rockchip_canfd_start_xmit()
542 dlc = can_len2dlc(cf->len) & DLC_MASK; in rockchip_canfd_start_xmit()
545 if (cf->can_id & CAN_RTR_FLAG) in rockchip_canfd_start_xmit()
551 if (cf->flags & CANFD_BRS) in rockchip_canfd_start_xmit()
555 if (!rcan->txtorx && rcan->mode >= ROCKCHIP_CAN_MODE && cf->can_id & CAN_EFF_FLAG) { in rockchip_canfd_start_xmit()
[all …]
H A Drockchip_can.c278 struct can_frame *cf = (struct can_frame *)skb->data; in rockchip_can_start_xmit() local
289 id = cf->can_id; in rockchip_can_start_xmit()
290 dlc = cf->can_dlc; in rockchip_can_start_xmit()
305 data1 = le32_to_cpup((__le32 *)&cf->data[0]); in rockchip_can_start_xmit()
306 data2 = le32_to_cpup((__le32 *)&cf->data[4]); in rockchip_can_start_xmit()
316 cf->can_id, cf->can_dlc, rcan->can.ctrlmode, data1, data2); in rockchip_can_start_xmit()
325 struct can_frame *cf; in rockchip_can_rx() local
332 skb = alloc_can_skb(ndev, &cf); in rockchip_can_rx()
337 cf->can_dlc = get_can_dlc(fi & CAN_DLC_MASK); in rockchip_can_rx()
350 cf->can_id = id; in rockchip_can_rx()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/can/rcar/
H A Drcar_can.c227 struct can_frame *cf; in rcar_can_error() local
232 skb = alloc_can_err_skb(ndev, &cf); in rcar_can_error()
239 cf->can_id |= CAN_ERR_CRTL; in rcar_can_error()
247 cf->can_id |= CAN_ERR_BUSERROR | CAN_ERR_PROT; in rcar_can_error()
255 cf->data[3] = CAN_ERR_PROT_LOC_ACK_DEL; in rcar_can_error()
262 cf->data[2] |= CAN_ERR_PROT_BIT0; in rcar_can_error()
269 cf->data[2] |= CAN_ERR_PROT_BIT1; in rcar_can_error()
276 cf->data[3] = CAN_ERR_PROT_LOC_CRC_SEQ; in rcar_can_error()
283 cf->can_id |= CAN_ERR_ACK; in rcar_can_error()
284 cf->data[3] = CAN_ERR_PROT_LOC_ACK; in rcar_can_error()
[all …]

12345678910>>...13