| /drivers/net/can/kvaser_pciefd/ |
| A D | kvaser_pciefd_core.c | 822 bt = &can->can.bittiming; in kvaser_pciefd_set_bittiming() 871 if (!can->can.restart_ms) in kvaser_pciefd_set_mode() 1015 pcie->can[i] = can; in kvaser_pciefd_setup_can_ctrls() 1242 old_state = can->can.state; in kvaser_pciefd_change_state() 1260 can->can.restart_ms) { in kvaser_pciefd_change_state() 1307 old_state = can->can.state; in kvaser_pciefd_rx_error_frame() 1354 can = pcie->can[ch_id]; in kvaser_pciefd_handle_error_packet() 1414 can = pcie->can[ch_id]; in kvaser_pciefd_handle_status_packet() 1495 can = pcie->can[ch_id]; in kvaser_pciefd_handle_ack_packet() 1543 can = pcie->can[ch_id]; in kvaser_pciefd_handle_eflush_packet() [all …]
|
| A D | kvaser_pciefd_devlink.c | 38 int kvaser_pciefd_devlink_port_register(struct kvaser_pciefd_can *can) in kvaser_pciefd_devlink_port_register() argument 43 .phys.port_number = can->can.dev->dev_port, in kvaser_pciefd_devlink_port_register() 45 devlink_port_attrs_set(&can->devlink_port, &attrs); in kvaser_pciefd_devlink_port_register() 47 ret = devlink_port_register(priv_to_devlink(can->kv_pcie), in kvaser_pciefd_devlink_port_register() 48 &can->devlink_port, can->can.dev->dev_port); in kvaser_pciefd_devlink_port_register() 52 SET_NETDEV_DEVLINK_PORT(can->can.dev, &can->devlink_port); in kvaser_pciefd_devlink_port_register() 57 void kvaser_pciefd_devlink_port_unregister(struct kvaser_pciefd_can *can) in kvaser_pciefd_devlink_port_unregister() argument 59 devlink_port_unregister(&can->devlink_port); in kvaser_pciefd_devlink_port_unregister()
|
| /drivers/net/can/dev/ |
| A D | Makefile | 3 obj-$(CONFIG_CAN_DEV) += can-dev.o 5 can-dev-y += skb.o 7 can-dev-$(CONFIG_CAN_CALC_BITTIMING) += calc_bittiming.o 8 can-dev-$(CONFIG_CAN_NETLINK) += bittiming.o 9 can-dev-$(CONFIG_CAN_NETLINK) += dev.o 10 can-dev-$(CONFIG_CAN_NETLINK) += length.o 11 can-dev-$(CONFIG_CAN_NETLINK) += netlink.o 12 can-dev-$(CONFIG_CAN_RX_OFFLOAD) += rx-offload.o
|
| /drivers/net/can/ |
| A D | Kconfig | 21 can-dev. 62 can-dev module. 82 can-dev module. 188 slcand) can be found in the can-utils at the linux-can project, see 189 https://github.com/linux-can/can-utils for details. 220 source "drivers/net/can/c_can/Kconfig" 221 source "drivers/net/can/cc770/Kconfig" 223 source "drivers/net/can/esd/Kconfig" 228 source "drivers/net/can/rcar/Kconfig" 232 source "drivers/net/can/spi/Kconfig" [all …]
|
| A D | grcan.c | 473 priv->can.state = CAN_STATE_STOPPED; in grcan_reset() 634 priv->can.can_stats.bus_off++; in grcan_err() 639 if (!priv->can.restart_ms) in grcan_err() 679 priv->can.state = state; in grcan_err() 688 priv->can.can_stats.restarts++; in grcan_err() 1064 priv->can.echo_skb = priv->echo_skb; in grcan_open() 1125 priv->can.echo_skb_max = 0; in grcan_close() 1126 priv->can.echo_skb = NULL; in grcan_close() 1299 priv->can.bittiming.bitrate); in grcan_txbug_workaround() 1600 priv->can.clock.freq = ambafreq; in grcan_setup_netdev() [all …]
|
| A D | sun4i_can.c | 217 struct can_priv can; member 360 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in sun4i_can_start() 377 priv->can.state = CAN_STATE_ERROR_ACTIVE; in sun4i_can_start() 387 priv->can.state = CAN_STATE_STOPPED; in sun4i_can_stop() 468 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in sun4ican_start_xmit() 531 enum can_state state = priv->can.state; in sun4i_can_err() 581 priv->can.can_stats.bus_error++; in sun4i_can_err() 625 priv->can.can_stats.arbitration_lost++; in sun4i_can_err() 632 if (state != priv->can.state) { in sun4i_can_err() 880 priv->can.clock.freq = clk_get_rate(clk); in sun4ican_probe() [all …]
|
| /drivers/hwmon/pmbus/ |
| A D | Kconfig | 12 This driver can also be built as a module. If so, the module will 27 This driver can also be built as a module. If so, the module will 36 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 57 This driver can also be built as a module. If so, the module will 67 This driver can also be built as a module. If so, the module will 76 µModule regulators that can provide microprocessor power from 54V 85 This driver can also be built as a module. If so, the module will 94 This driver can also be built as a module. If so, the module will 103 This driver can also be built as a module. If so, the module will [all …]
|
| /drivers/net/can/ifi_canfd/ |
| A D | ifi_canfd.c | 392 priv->can.can_stats.bus_error++; in ifi_canfd_handle_lec_err() 483 priv->can.can_stats.error_warning++; in ifi_canfd_handle_state_change() 484 priv->can.state = CAN_STATE_ERROR_ACTIVE; in ifi_canfd_handle_state_change() 488 priv->can.can_stats.error_warning++; in ifi_canfd_handle_state_change() 493 priv->can.can_stats.error_passive++; in ifi_canfd_handle_state_change() 498 priv->can.state = CAN_STATE_BUS_OFF; in ifi_canfd_handle_state_change() 500 priv->can.can_stats.bus_off++; in ifi_canfd_handle_state_change() 780 priv->can.state = CAN_STATE_ERROR_ACTIVE; in ifi_canfd_start() 813 priv->can.state = CAN_STATE_STOPPED; in ifi_canfd_stop() 999 priv->can.state = CAN_STATE_STOPPED; in ifi_canfd_plat_probe() [all …]
|
| /drivers/net/can/peak_canfd/ |
| A D | peak_canfd.c | 100 priv->can.state = CAN_STATE_ERROR_ACTIVE; in pucan_set_normal_mode() 112 priv->can.state = CAN_STATE_ERROR_ACTIVE; in pucan_set_listen_only_mode() 125 priv->can.ctrlmode & in pucan_set_timing_slow() 366 priv->can.state = CAN_STATE_BUS_OFF; in pucan_handle_status() 367 priv->can.can_stats.bus_off++; in pucan_handle_status() 374 priv->can.state = CAN_STATE_ERROR_PASSIVE; in pucan_handle_status() 375 priv->can.can_stats.error_passive++; in pucan_handle_status() 387 priv->can.state = CAN_STATE_ERROR_WARNING; in pucan_handle_status() 388 priv->can.can_stats.error_warning++; in pucan_handle_status() 728 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in peak_canfd_start_xmit() [all …]
|
| /drivers/accessibility/speakup/ |
| A D | Kconfig | 10 kernel, it can speak everything on the text console from 14 can subscribe to. 22 that can be used with a plain text terminal. 24 Speakup can either be built in or compiled as a module 28 the synthesizer drivers below can only be built as 38 the module can be loaded. See the decpc choice below 80 You can say y to build it into the kernel, or m to 140 PC synthesizer. You can say y to build it into the 151 PC synthesizer. You can say y to build it into the 161 LT synthesizer. You can say y to build it into the [all …]
|
| /drivers/hwmon/ |
| A D | Kconfig | 13 can include temperature sensors, voltage sensors, fan speed 23 This support can also be built as a module. If so, the module 53 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 85 This driver can also be built as a module. If so, the module 95 This driver can also be built as a module. If so, the module 105 This driver can also be built as a module. If so, the module 116 This driver can also be built as a module. If so, the module 127 This driver can also be built as a module. If so, the module 2012 Threshold values can be configured using sysfs. [all …]
|
| /drivers/net/can/sja1000/ |
| A D | sja1000.c | 127 priv->can.state = CAN_STATE_STOPPED; in set_reset_mode() 150 priv->can.state = CAN_STATE_ERROR_ACTIVE; in set_normal_mode() 210 if (priv->can.state != CAN_STATE_STOPPED) in sja1000_start() 299 fi = can_get_cc_dlc(cf, priv->can.ctrlmode); in sja1000_start_xmit() 325 if (priv->can.ctrlmode & CAN_CTRLMODE_ONE_SHOT) in sja1000_start_xmit() 328 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in sja1000_start_xmit() 412 enum can_state state = priv->can.state; in sja1000_err() 463 priv->can.can_stats.bus_error++; in sja1000_err() 510 priv->can.can_stats.arbitration_lost++; in sja1000_err() 517 if (state != priv->can.state) { in sja1000_err() [all …]
|
| /drivers/net/can/usb/ |
| A D | mcba_usb.c | 67 bool can; member 189 ctx->can = true; in mcba_usb_get_free_ctx() 191 ctx->can = false; in mcba_usb_get_free_ctx() 232 if (ctx->can) { in mcba_usb_write_bulk_callback() 512 priv->can.state = CAN_STATE_BUS_OFF; in mcba_usb_process_ka_can() 516 priv->can.state = CAN_STATE_ERROR_PASSIVE; in mcba_usb_process_ka_can() 702 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mcba_usb_open() 727 priv->can.state = CAN_STATE_STOPPED; in mcba_usb_close() 836 priv->can.state = CAN_STATE_STOPPED; in mcba_usb_probe() 839 priv->can.bitrate_const = mcba_bitrate; in mcba_usb_probe() [all …]
|
| A D | ucan.c | 276 struct can_priv can; member 468 up->can.ctrlmode_supported = 0; in ucan_parse_device_info() 534 if (up->can.state == new_state) in ucan_handle_error_frame() 538 if (up->can.state > new_state) { in ucan_handle_error_frame() 539 up->can.state = new_state; in ucan_handle_error_frame() 544 up->can.state = new_state; in ucan_handle_error_frame() 1018 up->can.state = CAN_STATE_ERROR_ACTIVE; in ucan_open() 1202 up->can.state = CAN_STATE_STOPPED; in ucan_close() 1513 up->can.state = CAN_STATE_STOPPED; in ucan_probe() 1516 up->can.do_set_mode = &ucan_set_mode; in ucan_probe() [all …]
|
| A D | esd_usb.c | 348 if (new_state != priv->can.state) { in esd_usb_rx_event() 355 priv->can.can_stats.bus_error++; in esd_usb_rx_event() 755 priv->can.state = CAN_STATE_ERROR_ACTIVE; in esd_usb_start() 979 priv->can.state = CAN_STATE_STOPPED; in esd_usb_close() 1125 if (priv->can.ctrlmode & CAN_CTRLMODE_FD) { in esd_usb_3_set_bittiming() 1150 priv->can.ctrlmode, priv->can.ctrlmode_supported, in esd_usb_3_set_bittiming() 1211 priv->can.state = CAN_STATE_STOPPED; in esd_usb_probe_one_net() 1218 priv->can.clock.freq = ESD_USB_3_CAN_CLOCK; in esd_usb_probe_one_net() 1227 priv->can.clock.freq = ESD_USB_M_CAN_CLOCK; in esd_usb_probe_one_net() 1234 priv->can.clock.freq = ESD_USB_2_CAN_CLOCK; in esd_usb_probe_one_net() [all …]
|
| A D | gs_usb.c | 500 dev->can.state = CAN_STATE_ERROR_ACTIVE; in gs_update_state() 503 dev->can.state = CAN_STATE_BUS_OFF; in gs_update_state() 508 dev->can.state = CAN_STATE_ERROR_WARNING; in gs_update_state() 512 dev->can.state = CAN_STATE_ERROR_PASSIVE; in gs_update_state() 515 dev->can.state = CAN_STATE_ERROR_ACTIVE; in gs_update_state() 664 skb = dev->can.echo_skb[hf->echo_id]; in gs_usb_receive_bulk_callback() 891 ctrlmode = dev->can.ctrlmode; in gs_can_open() 982 dev->can.state = CAN_STATE_ERROR_ACTIVE; in gs_can_open() 990 dev->can.state = CAN_STATE_STOPPED; in gs_can_open() 1075 dev->can.state = CAN_STATE_STOPPED; in gs_can_close() [all …]
|
| A D | usb_8dev.c | 244 u32 ctrlmode = priv->can.ctrlmode; in usb_8dev_cmd_open() 360 priv->can.state = CAN_STATE_ERROR_ACTIVE; in usb_8dev_rx_err_msg() 365 priv->can.state = CAN_STATE_BUS_OFF; in usb_8dev_rx_err_msg() 367 priv->can.can_stats.bus_off++; in usb_8dev_rx_err_msg() 376 priv->can.state = CAN_STATE_ERROR_WARNING; in usb_8dev_rx_err_msg() 378 priv->can.can_stats.bus_error++; in usb_8dev_rx_err_msg() 420 priv->can.can_stats.error_warning++; in usb_8dev_rx_err_msg() 427 priv->can.can_stats.error_passive++; in usb_8dev_rx_err_msg() 784 priv->can.state = CAN_STATE_ERROR_ACTIVE; in usb_8dev_start() 855 priv->can.state = CAN_STATE_STOPPED; in usb_8dev_close() [all …]
|
| A D | f81604.c | 138 struct can_priv can; member 289 priv->can.state = CAN_STATE_STOPPED; in f81604_set_reset_mode() 316 priv->can.state = CAN_STATE_ERROR_ACTIVE; in f81604_set_normal_mode() 319 if (!(priv->can.ctrlmode & in f81604_set_normal_mode() 480 enum can_state can_state = priv->can.state; in f81604_handle_can_bus_errors() 528 priv->can.can_stats.bus_error++; in f81604_handle_can_bus_errors() 578 priv->can.can_stats.arbitration_lost++; in f81604_handle_can_bus_errors() 588 if (can_state != priv->can.state) { in f81604_handle_can_bus_errors() 644 if (priv->can.state != CAN_STATE_BUS_OFF && in f81604_read_int_callback() 1156 port_priv->can.termination_const_cnt = in f81604_probe() [all …]
|
| /drivers/rtc/ |
| A D | Kconfig | 129 can be accessed as /dev/rtc, which is a name 151 RTC test driver. It's a software RTC which can be 158 This driver can also be built as a module. If so, the module 172 This driver can also be built as a module. If so, the module 182 This driver can also be built as a module. If so, the module 192 This driver can also be built as a module. If so, the module 202 This driver can also be built as a module. If so, the module 1431 LS1088A, LS208xA, we can use FTM as the wakeup source. 1471 This driver can also be built as a module, if so, module 1674 that can be found in the Armada 38x Marvell's SoC device [all …]
|
| /drivers/net/can/rockchip/ |
| A D | rockchip_canfd-core.c | 137 if (!(priv->can.ctrlmode & CAN_CTRLMODE_FD)) in rkcanfd_set_bittiming() 274 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in rkcanfd_chip_start() 308 priv->can.state = CAN_STATE_ERROR_ACTIVE; in rkcanfd_chip_start() 316 priv->can.state = state; in __rkcanfd_chip_stop() 324 priv->can.state = state; in rkcanfd_chip_stop() 332 priv->can.state = state; in rkcanfd_chip_stop_sync() 440 priv->can.can_stats.bus_error++; in rkcanfd_handle_error_int_reg_ec() 574 if (new_state == priv->can.state) in rkcanfd_handle_state_error_int() 675 priv->can.state > CAN_STATE_ERROR_ACTIVE) in rkcanfd_irq() 800 priv->can.clock.freq / MEGA, in rkcanfd_register_done() [all …]
|
| /drivers/net/ieee802154/ |
| A D | Kconfig | 18 Say Y here to enable the fake driver that can emulate a net 21 This driver can also be built as a module. To do so say M here. 33 This driver can also be built as a module. To do so, say M here. 45 This driver can also be built as a module. To do so, say M here. 56 This driver can also be built as a module. To do so, say M here. 66 This driver can also be built as a module. To do so say M here. 77 This driver can also be built as a module. To do so, say M here. 89 This driver can also be built as a module. To do so, say M here. 111 This driver can also be built as a module. To do so, say M here. 118 This driver is a developer testing tool that can be used to test [all …]
|
| /drivers/i2c/busses/ |
| A D | Kconfig | 28 This driver can also be built as a module. If so, the module 40 This driver can also be built as a module. If so, the module 50 This driver can also be built as a module. If so, the module 62 This driver can also be built as a module. If so, the module 72 This driver can also be built as a module. If so, the module 109 This driver can also be built as a module. If so, the module 425 unless your system can cope with this limitation. 442 - It can hang, on a SAMA5D4, after several transfers. 662 This driver can access PCH I2C bus device. 811 This driver can also be built as a module. If so, the [all …]
|
| /drivers/pmdomain/arm/ |
| A D | Kconfig | 8 This enables support for the SCMI performance domains which can be 11 This driver can also be built as a module. If so, the module will be 20 This enables support for the SCMI power domains which can be 23 This driver can also be built as a module. If so, the module 33 This enables support for the SCPI power domains which can be 36 This driver can also be built as a module. If so, the module will be
|
| /drivers/nvmem/ |
| A D | Kconfig | 39 This driver can also be built as a module. If so, the module will 52 This driver can also be built as a module. If so, the module 64 This driver can also be built as a module. If so, the module 84 This driver can also be built as a module. If so, the module 96 This driver can also be built as a module. If so, the module 146 This driver can also be built as a module. If so, the module 178 This driver can also be built as a module. If so, the module 188 This driver can also be built as a module. If so, the module 198 This driver can also be built as a module. If so, the module 216 This driver can also be built as a module. If so, the module [all …]
|
| /drivers/net/can/mscan/ |
| A D | mscan.c | 84 priv->can.state = CAN_STATE_SLEEPING; in mscan_set_mode() 97 priv->can.state = CAN_STATE_STOPPED; in mscan_set_mode() 114 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mscan_set_mode() 165 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mscan_restart() 172 if (priv->can.state <= CAN_STATE_BUS_OFF) in mscan_restart() 284 return priv->can.state; in get_new_state() 348 if (new_state != priv->can.state) { in mscan_get_err_frame() 353 if (priv->can.state == CAN_STATE_BUS_OFF) { in mscan_get_err_frame() 414 if (priv->can.state < CAN_STATE_BUS_OFF) in mscan_rx_poll() 506 struct can_bittiming *bt = &priv->can.bittiming; in mscan_do_set_bittiming() [all …]
|