Home
last modified time | relevance | path

Searched refs:can (Results 1 – 25 of 390) sorted by relevance

12345678910>>...16

/drivers/net/can/ifi_canfd/
Difi_canfd.c220 struct can_priv can; /* must be the first member */ member
237 if (priv->can.ctrlmode & CAN_CTRLMODE_BERR_REPORTING) in ifi_canfd_irq_enable()
395 priv->can.can_stats.bus_error++; in ifi_canfd_handle_lec_err()
467 priv->can.can_stats.error_warning++; in ifi_canfd_handle_state_change()
468 priv->can.state = CAN_STATE_ERROR_ACTIVE; in ifi_canfd_handle_state_change()
472 priv->can.can_stats.error_warning++; in ifi_canfd_handle_state_change()
473 priv->can.state = CAN_STATE_ERROR_WARNING; in ifi_canfd_handle_state_change()
477 priv->can.can_stats.error_passive++; in ifi_canfd_handle_state_change()
478 priv->can.state = CAN_STATE_ERROR_PASSIVE; in ifi_canfd_handle_state_change()
482 priv->can.state = CAN_STATE_BUS_OFF; in ifi_canfd_handle_state_change()
[all …]
/drivers/hwmon/
DKconfig12 can include temperature sensors, voltage sensors, fan speed
22 This support can also be built as a module. If so, the module
52 This driver can also be built as a module. If so, the module
62 chip can be found on Abit uGuru featuring motherboards (most modern
67 This driver can also be built as a module. If so, the module
77 uGuru chip can be found on recent Abit motherboards (since end
81 This driver can also be built as a module. If so, the module
91 This driver can also be built as a module. If so, the module
101 This driver can also be built as a module. If so, the module
111 This driver can also be built as a module. If so, the module
[all …]
/drivers/staging/speakup/
DKconfig9 kernel, it can speak everything on the text console from
13 can subscribe to.
21 that can be used with a plain text terminal.
23 Speakup can either be built in or compiled as a module
27 the synthesizer drivers below can only be built as
35 The Dectalk pc driver can only be built as a module, and
37 the module can be loaded. See the decpc choice below
48 synthesizer. You can say y to build it into the kernel,
57 synthesizer. You can say y to build it into the kernel,
65 synthesizer. You can say y to build it into the kernel,
[all …]
/drivers/net/can/
DKconfig9 This driver can also be built as a module. If so, the module
25 slcand) can be found in the can-utils at the SocketCAN SVN, see
29 can be changed by the 'maxdev=xx' module option. This driver can
104 This driver can also be built as a module. If so, the module will be
138 This driver can access CAN bus.
140 source "drivers/net/can/c_can/Kconfig"
141 source "drivers/net/can/cc770/Kconfig"
142 source "drivers/net/can/ifi_canfd/Kconfig"
143 source "drivers/net/can/m_can/Kconfig"
144 source "drivers/net/can/mscan/Kconfig"
[all …]
Dgrcan.c253 struct can_priv can; /* must be the first member */ member
411 struct can_bittiming *bt = &priv->can.bittiming; in grcan_set_bittiming()
475 priv->can.state = CAN_STATE_STOPPED; in grcan_reset()
567 !(priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY)) { in grcan_lost_one_shot_frame()
595 if (priv->can.ctrlmode & CAN_CTRLMODE_ONE_SHOT) in grcan_err()
613 enum can_state state = priv->can.state; in grcan_err()
638 priv->can.can_stats.bus_off++; in grcan_err()
643 if (!priv->can.restart_ms) in grcan_err()
651 priv->can.can_stats.error_passive++; in grcan_err()
662 priv->can.can_stats.error_warning++; in grcan_err()
[all …]
Dxilinx_can.c134 struct can_priv can; member
254 struct can_bittiming *bt = &priv->can.bittiming; in xcan_set_bittiming()
321 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) { in xcan_chip_start()
343 priv->can.state = CAN_STATE_ERROR_ACTIVE; in xcan_chip_start()
559 priv->can.state = CAN_STATE_BUS_OFF; in xcan_err_interrupt()
560 priv->can.can_stats.bus_off++; in xcan_err_interrupt()
567 priv->can.state = CAN_STATE_ERROR_PASSIVE; in xcan_err_interrupt()
568 priv->can.can_stats.error_passive++; in xcan_err_interrupt()
578 priv->can.state = CAN_STATE_ERROR_WARNING; in xcan_err_interrupt()
579 priv->can.can_stats.error_warning++; in xcan_err_interrupt()
[all …]
Dsun4i_can.c204 struct can_priv can; member
277 struct can_bittiming *bt = &priv->can.bittiming; in sun4ican_set_bittiming()
284 if (priv->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) in sun4ican_set_bittiming()
337 if (priv->can.ctrlmode & CAN_CTRLMODE_BERR_REPORTING) in sun4i_can_start()
345 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in sun4i_can_start()
347 else if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in sun4i_can_start()
362 priv->can.state = CAN_STATE_ERROR_ACTIVE; in sun4i_can_start()
372 priv->can.state = CAN_STATE_STOPPED; in sun4i_can_stop()
453 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in sun4ican_start_xmit()
516 enum can_state state = priv->can.state; in sun4i_can_err()
[all …]
Dbfin_can.c142 struct can_priv can; /* must be the first member */ member
175 struct can_bittiming *bt = &priv->can.bittiming; in bfin_can_set_bittiming()
186 if (priv->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) in bfin_can_set_bittiming()
253 priv->can.state = CAN_STATE_STOPPED; in bfin_can_set_reset_mode()
304 if (priv->can.state != CAN_STATE_STOPPED) in bfin_can_start()
439 enum can_state state = priv->can.state; in bfin_can_err()
458 priv->can.can_stats.bus_off++; in bfin_can_err()
473 if (state != priv->can.state && (state == CAN_STATE_ERROR_WARNING || in bfin_can_err()
481 priv->can.can_stats.error_warning++; in bfin_can_err()
486 priv->can.can_stats.error_passive++; in bfin_can_err()
[all …]
Dat91_can.c130 struct can_priv can; /* must be the first member! */ member
359 const struct can_bittiming *bt = &priv->can.bittiming; in at91_set_bittiming()
362 reg_br = ((priv->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) ? 1 << 24 : 0) | in at91_set_bittiming()
402 if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in at91_chip_start()
408 priv->can.state = CAN_STATE_ERROR_ACTIVE; in at91_chip_start()
427 priv->can.state = state; in at91_chip_stop()
733 priv->can.can_stats.bus_error++; in at91_poll_err_frame()
741 priv->can.can_stats.bus_error++; in at91_poll_err_frame()
757 priv->can.can_stats.bus_error++; in at91_poll_err_frame()
766 priv->can.can_stats.bus_error++; in at91_poll_err_frame()
[all …]
/drivers/block/paride/
DTransition-notes2 If ps_tq is scheduled, ps_tq_active is 1. ps_tq_int() can be called
5 under ps_spinlock. There are three places where that can happen:
7 Consider the sequnce of these events. A can not be preceded by
9 ps_spinlock. C is always preceded by B, since we can't reach it
11 IOW, the sequence is A?(BA|BC|B)*. OTOH, number of B can not exceed
16 since at any time number of B can not exceed the number of these
17 moments which, in turn, can not exceed the number of A and C.
49 1) at any time at most one thread of execution can be in that area or
60 (1) can become not true if some thread enters that area while another is there.
61 a) do_pd_request1() can be called from next_request() or do_pd_request()
[all …]
/drivers/net/can/sja1000/
Dsja1000.c127 priv->can.state = CAN_STATE_STOPPED; in set_reset_mode()
150 priv->can.state = CAN_STATE_ERROR_ACTIVE; in set_normal_mode()
152 if (priv->can.ctrlmode & CAN_CTRLMODE_BERR_REPORTING) in set_normal_mode()
161 if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in set_normal_mode()
163 if (priv->can.ctrlmode & CAN_CTRLMODE_PRESUME_ACK) in set_normal_mode()
209 if (priv->can.state != CAN_STATE_STOPPED) in sja1000_start()
247 struct can_bittiming *bt = &priv->can.bittiming; in sja1000_set_bittiming()
253 if (priv->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) in sja1000_set_bittiming()
324 if (priv->can.ctrlmode & CAN_CTRLMODE_ONE_SHOT) in sja1000_start_xmit()
327 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in sja1000_start_xmit()
[all …]
/drivers/hwmon/pmbus/
DKconfig12 This driver can also be built as a module. If so, the module will
26 This driver can also be built as a module. If so, the module will
37 This driver can also be built as a module. If so, the module will
47 This driver can also be built as a module. If so, the module will
58 This driver can also be built as a module. If so, the module will
75 This driver can also be built as a module. If so, the module will
85 This driver can also be built as a module. If so, the module will
95 This driver can also be built as a module. If so, the module will
105 This driver can also be built as a module. If so, the module will
115 This driver can also be built as a module. If so, the module will
[all …]
/drivers/rtc/
DKconfig71 one can sleep when setting time, because it runs in the workqueue
114 can be accessed as /dev/rtc, which is a name
136 RTC test driver. It's a software RTC which can be
143 This driver can also be built as a module. If so, the module
157 This driver can also be built as a module. If so, the module
167 This driver can also be built as a module. If so, the module
177 This driver can also be built as a module. If so, the module
187 This driver can also be built as a module. If so, the module
197 This driver can also be built as a module. If so, the module
207 This driver can also be built as a module. If so, the module
[all …]
/drivers/net/can/m_can/
Dm_can.c280 struct can_priv can; /* must be the first member */ member
478 priv->can.can_stats.bus_error++; in m_can_handle_lec_err()
577 priv->can.can_stats.error_warning++; in m_can_handle_state_change()
578 priv->can.state = CAN_STATE_ERROR_WARNING; in m_can_handle_state_change()
582 priv->can.can_stats.error_passive++; in m_can_handle_state_change()
583 priv->can.state = CAN_STATE_ERROR_PASSIVE; in m_can_handle_state_change()
587 priv->can.state = CAN_STATE_BUS_OFF; in m_can_handle_state_change()
589 priv->can.can_stats.bus_off++; in m_can_handle_state_change()
645 (priv->can.state != CAN_STATE_ERROR_WARNING)) { in m_can_handle_state_errors()
652 (priv->can.state != CAN_STATE_ERROR_PASSIVE)) { in m_can_handle_state_errors()
[all …]
/drivers/net/can/usb/
Dusb_8dev.c133 struct can_priv can; /* must be the first member */ member
254 struct can_bittiming *bt = &priv->can.bittiming; in usb_8dev_cmd_open()
257 u32 ctrlmode = priv->can.ctrlmode; in usb_8dev_cmd_open()
373 priv->can.state = CAN_STATE_ERROR_ACTIVE; in usb_8dev_rx_err_msg()
378 priv->can.state = CAN_STATE_BUS_OFF; in usb_8dev_rx_err_msg()
380 priv->can.can_stats.bus_off++; in usb_8dev_rx_err_msg()
389 priv->can.state = CAN_STATE_ERROR_WARNING; in usb_8dev_rx_err_msg()
391 priv->can.can_stats.bus_error++; in usb_8dev_rx_err_msg()
429 priv->can.state = CAN_STATE_ERROR_WARNING; in usb_8dev_rx_err_msg()
433 priv->can.can_stats.error_warning++; in usb_8dev_rx_err_msg()
[all …]
Desd_usb2.c213 struct can_priv can; /* must be the first member */ member
251 priv->can.state = CAN_STATE_BUS_OFF; in esd_usb2_rx_event()
253 priv->can.can_stats.bus_off++; in esd_usb2_rx_event()
257 priv->can.state = CAN_STATE_ERROR_WARNING; in esd_usb2_rx_event()
258 priv->can.can_stats.error_warning++; in esd_usb2_rx_event()
261 priv->can.state = CAN_STATE_ERROR_PASSIVE; in esd_usb2_rx_event()
262 priv->can.can_stats.error_passive++; in esd_usb2_rx_event()
265 priv->can.state = CAN_STATE_ERROR_ACTIVE; in esd_usb2_rx_event()
269 priv->can.can_stats.bus_error++; in esd_usb2_rx_event()
293 if (priv->can.state == CAN_STATE_ERROR_WARNING || in esd_usb2_rx_event()
[all …]
Dgs_usb.c172 struct can_priv can; /* must be the first member */ member
275 struct can_device_stats *can_stats = &dev->can.can_stats; in gs_update_state()
278 dev->can.state = CAN_STATE_ERROR_ACTIVE; in gs_update_state()
281 dev->can.state = CAN_STATE_BUS_OFF; in gs_update_state()
286 dev->can.state = CAN_STATE_ERROR_WARNING; in gs_update_state()
290 dev->can.state = CAN_STATE_ERROR_PASSIVE; in gs_update_state()
293 dev->can.state = CAN_STATE_ERROR_ACTIVE; in gs_update_state()
420 struct can_bittiming *bt = &dev->can.bittiming; in gs_usb_set_bittiming()
650 ctrlmode = dev->can.ctrlmode; in gs_can_open()
688 dev->can.state = CAN_STATE_ERROR_ACTIVE; in gs_can_open()
[all …]
Dems_usb.c249 struct can_priv can; /* must be the first member */ member
354 dev->can.state = CAN_STATE_BUS_OFF; in ems_usb_rx_err()
357 dev->can.can_stats.bus_off++; in ems_usb_rx_err()
360 dev->can.state = CAN_STATE_ERROR_WARNING; in ems_usb_rx_err()
361 dev->can.can_stats.error_warning++; in ems_usb_rx_err()
363 dev->can.state = CAN_STATE_ERROR_ACTIVE; in ems_usb_rx_err()
364 dev->can.can_stats.error_passive++; in ems_usb_rx_err()
372 dev->can.can_stats.bus_error++; in ems_usb_rx_err()
396 if (dev->can.state == CAN_STATE_ERROR_WARNING || in ems_usb_rx_err()
397 dev->can.state == CAN_STATE_ERROR_PASSIVE) { in ems_usb_rx_err()
[all …]
/drivers/net/wireless/intel/iwlegacy/
DKconfig23 image for it. You can obtain the microcode from:
27 The microcode is typically installed in /lib/firmware. You can
32 If you want to compile the driver as a module ( = code which can be
49 image for it. You can obtain the microcode from:
53 The microcode is typically installed in /lib/firmware. You can
58 If you want to compile the driver as a module ( = code which can be
73 This will result in the kernel module being ~100k larger. You can
85 You can find the list of debug mask values in:
89 as the debug information can assist others in helping you resolve
/drivers/net/can/mscan/
Dmscan.c101 priv->can.state = CAN_STATE_SLEEPING; in mscan_set_mode()
114 priv->can.state = CAN_STATE_STOPPED; in mscan_set_mode()
131 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mscan_set_mode()
165 priv->can.state = state_map[max(MSCAN_STATE_RX(canrflg), in mscan_start()
182 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mscan_restart()
189 if (priv->can.state <= CAN_STATE_BUS_OFF) in mscan_restart()
300 return priv->can.state; in get_new_state()
364 if (new_state != priv->can.state) { in mscan_get_err_frame()
369 if (priv->can.state == CAN_STATE_BUS_OFF) { in mscan_get_err_frame()
429 if (priv->can.state < CAN_STATE_BUS_OFF) in mscan_rx_poll()
[all …]
/drivers/i2c/busses/
DKconfig20 This driver can also be built as a module. If so, the module
32 This driver can also be built as a module. If so, the module
42 This driver can also be built as a module. If so, the module
54 This driver can also be built as a module. If so, the module
67 This driver can also be built as a module. If so, the module
77 This driver can also be built as a module. If so, the module
87 This driver can also be built as a module. If so, the module
132 This driver can also be built as a module. If so, the module
143 This driver can also be built as a module. If so, the module
153 This driver can also be built as a module. If so, the module will be
[all …]
/drivers/nvmem/
DKconfig9 This driver can also be built as a module. If so, the module
25 This driver can also be built as a module. If so, the module
47 This driver can also be built as a module. If so, the module
58 This driver can also be built as a module. If so, the module
69 This driver can also be built as a module. If so, the module
80 This driver can also be built as a module. If so, the module
90 This driver can also be built as a module. If so, the module
101 This driver can also be build as a module. If so, the module will
111 This driver can also be built as a module. If so, the module
/drivers/net/ieee802154/
DKconfig17 Say Y here to enable the fake driver that can emulate a net
20 This driver can also be built as a module. To do so say M here.
32 This driver can also be built as a module. To do so, say M here.
51 This driver can also be built as a module. To do so, say M here.
62 This driver can also be built as a module. To do so, say M here.
72 This driver can also be built as a module. To do so say M here.
83 This driver can also be built as a module. To do so, say M here.
/drivers/net/can/cc770/
Dcc770_platform.c92 priv->can.clock.freq = clkext; in cc770_get_of_node_data()
95 if (priv->can.clock.freq > 10000000) { in cc770_get_of_node_data()
97 priv->can.clock.freq /= 2; in cc770_get_of_node_data()
101 if (priv->can.clock.freq > 8000000) in cc770_get_of_node_data()
157 priv->can.clock.freq = pdata->osc_freq; in cc770_get_platform_data()
159 priv->can.clock.freq /= 2; in cc770_get_platform_data()
216 priv->reg_base, dev->irq, priv->can.clock.freq, in cc770_platform_probe()
Dcc770.c213 priv->can.state = CAN_STATE_STOPPED; in set_reset_mode()
244 priv->can.state = CAN_STATE_ERROR_ACTIVE; in set_normal_mode()
340 if (priv->can.state != CAN_STATE_STOPPED) in cc770_start()
365 struct can_bittiming *bt = &priv->can.bittiming; in cc770_set_bittiming()
371 if (priv->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) in cc770_set_bittiming()
531 priv->can.state = CAN_STATE_BUS_OFF; in cc770_err()
532 priv->can.can_stats.bus_off++; in cc770_err()
540 priv->can.state = CAN_STATE_ERROR_PASSIVE; in cc770_err()
541 priv->can.can_stats.error_passive++; in cc770_err()
545 priv->can.state = CAN_STATE_ERROR_WARNING; in cc770_err()
[all …]

12345678910>>...16