Home
last modified time | relevance | path

Searched refs:can (Results 101 - 125 of 1018) sorted by relevance

12345678910>>...41

/kernel/linux/linux-5.10/drivers/net/can/sja1000/
H A Dsja1000.h49 #include <linux/can/dev.h>
50 #include <linux/can/platform/sja1000.h>
154 struct can_priv can; /* must be the first member */ member
H A Dsja1000_isa.c14 #include <linux/can/dev.h>
15 #include <linux/can/platform/sja1000.h>
177 priv->can.clock.freq = clk[idx] / 2; in sja1000_isa_probe()
179 priv->can.clock.freq = clk[0] / 2; in sja1000_isa_probe()
181 priv->can.clock.freq = CLK_DEFAULT / 2; in sja1000_isa_probe()
/kernel/linux/linux-6.6/drivers/net/can/softing/
H A Dsofting.h13 #include <linux/can.h>
14 #include <linux/can/dev.h>
21 struct can_priv can; /* must be the first member! */ member
H A Dsofting_main.c23 struct can_priv *can = netdev_priv(netdev); in canif_is_active() local
27 return (can->state <= CAN_STATE_ERROR_PASSIVE); in canif_is_active()
247 if (can_state != priv->can.state) { in softing_handle_1()
248 priv->can.state = can_state; in softing_handle_1()
250 ++priv->can.can_stats.error_passive; in softing_handle_1()
253 ++priv->can.can_stats.bus_off; in softing_handle_1()
283 skb = priv->can.echo_skb[priv->tx.echo_get]; in softing_handle_1()
649 priv->can.bittiming_const = &priv->btr_const; in softing_netdev_create()
650 priv->can.clock.freq = 8000000; in softing_netdev_create()
658 priv->can in softing_netdev_create()
[all...]
/kernel/linux/linux-6.6/drivers/net/can/sja1000/
H A Dsja1000.h49 #include <linux/can/dev.h>
50 #include <linux/can/platform/sja1000.h>
156 struct can_priv can; /* must be the first member */ member
H A Dsja1000_isa.c14 #include <linux/can/dev.h>
15 #include <linux/can/platform/sja1000.h>
177 priv->can.clock.freq = clk[idx] / 2; in sja1000_isa_probe()
179 priv->can.clock.freq = clk[0] / 2; in sja1000_isa_probe()
181 priv->can.clock.freq = CLK_DEFAULT / 2; in sja1000_isa_probe()
/kernel/linux/linux-6.6/drivers/net/can/usb/peak_usb/
H A Dpcan_usb.c18 #include <linux/can.h>
19 #include <linux/can/dev.h>
20 #include <linux/can/error.h>
272 * set bittiming value to can
283 if (dev->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) in pcan_usb_set_bittiming()
296 * init/reset can
340 /* can delete usb resources */ in pcan_usb_restart_pending()
385 * read can channel id from device
394 netdev_err(dev->netdev, "getting can channel id failure: %d\n", err); in pcan_usb_get_can_channel_id()
513 if (new_state != mc->pdev->dev.can in pcan_usb_decode_error()
[all...]
/kernel/linux/linux-6.6/drivers/net/can/ctucanfd/
H A Dctucanfd.h24 #include <linux/can/dev.h>
30 struct can_priv can; /* must be first member! */ member
/third_party/ltp/testcases/network/can/filter-tests/
H A Dcan_common.h21 #include <linux/can.h>
22 #include <linux/can/raw.h>
/kernel/linux/linux-6.6/drivers/net/can/spi/mcp251xfd/
H A Dmcp251xfd-core.c230 const struct can_bittiming *bt = &priv->can.bittiming; in __mcp251xfd_chip_set_mode()
346 * unset), as the PLL might be enabled. This can happen if the in mcp251xfd_chip_wake()
511 const struct can_bittiming *bt = &priv->can.bittiming; in mcp251xfd_set_bittiming()
512 const struct can_bittiming *dbt = &priv->can.data_bittiming; in mcp251xfd_set_bittiming()
543 if (!(priv->can.ctrlmode & CAN_CTRLMODE_FD_NON_ISO)) in mcp251xfd_set_bittiming()
562 if (!(priv->can.ctrlmode & CAN_CTRLMODE_FD)) in mcp251xfd_set_bittiming()
656 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) in mcp251xfd_get_normal_mode()
658 else if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) in mcp251xfd_get_normal_mode()
660 else if (priv->can.ctrlmode & CAN_CTRLMODE_FD) in mcp251xfd_get_normal_mode()
716 if (priv->can in mcp251xfd_chip_interrupts_enable()
[all...]
/kernel/linux/linux-5.10/drivers/net/can/
H A Djanz-ican3.c15 #include <linux/can.h>
16 #include <linux/can/dev.h>
17 #include <linux/can/skb.h>
18 #include <linux/can/error.h>
149 * Copied from drivers/net/can/sja1000/sja1000.h
216 struct can_priv can; member
778 struct can_bittiming *bt = &mod->can.bittiming; in ican3_set_bus_state()
783 /* This algorithm was stolen from drivers/net/can/sja1000/sja1000.c */ in ican3_set_bus_state()
789 if (mod->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) in ican3_set_bus_state()
808 /* can in ican3_set_bus_state()
[all...]
/kernel/linux/linux-5.10/drivers/net/can/spi/
H A Dmcp251x.c23 #include <linux/can/core.h>
24 #include <linux/can/dev.h>
25 #include <linux/can/led.h>
229 struct can_priv can; member
812 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mcp251x_do_set_mode()
814 if (priv->can.restart_ms == 0) in mcp251x_do_set_mode()
836 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) { in mcp251x_set_normal_mode()
839 } else if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) { in mcp251x_set_normal_mode()
855 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mcp251x_set_normal_mode()
862 struct can_bittiming *bt = &priv->can in mcp251x_do_set_bittiming()
[all...]
/kernel/linux/linux-6.6/drivers/net/can/
H A Djanz-ican3.c16 #include <linux/can.h>
17 #include <linux/can/dev.h>
18 #include <linux/can/skb.h>
19 #include <linux/can/error.h>
150 * Copied from drivers/net/can/sja1000/sja1000.h
217 struct can_priv can; member
779 struct can_bittiming *bt = &mod->can.bittiming; in ican3_set_bus_state()
784 /* This algorithm was stolen from drivers/net/can/sja1000/sja1000.c */ in ican3_set_bus_state()
790 if (mod->can.ctrlmode & CAN_CTRLMODE_3_SAMPLES) in ican3_set_bus_state()
809 /* can in ican3_set_bus_state()
[all...]
/kernel/linux/linux-5.10/drivers/net/can/cc770/
H A Dcc770_isa.c25 * Furthermore, the following mode parameter can be defined:
52 #include <linux/can.h>
53 #include <linux/can/dev.h>
54 #include <linux/can/platform/cc770.h>
226 priv->can.clock.freq = clktmp; in cc770_isa_probe()
244 priv->can.clock.freq /= 2; in cc770_isa_probe()
/kernel/linux/linux-6.6/drivers/net/can/cc770/
H A Dcc770_isa.c25 * Furthermore, the following mode parameter can be defined:
52 #include <linux/can.h>
53 #include <linux/can/dev.h>
54 #include <linux/can/platform/cc770.h>
226 priv->can.clock.freq = clktmp; in cc770_isa_probe()
244 priv->can.clock.freq /= 2; in cc770_isa_probe()
/third_party/nghttp2/doc/
H A Dmake.bat28 echo. latex to make LaTeX files, you can set PAPER=a4 or PAPER=letter
71 echo.Build finished; now you can process the pickle files.
79 echo.Build finished; now you can process the JSON files.
87 echo.Build finished; now you can run HTML Help Workshop with the ^
96 echo.Build finished; now you can run "qcollectiongenerator" with the ^
/third_party/node/deps/openssl/openssl/external/perl/Text-Template-1.56/lib/Text/
H A DTemplate.pm149 # drastic `can't-happen' sort of failure
186 # drastic `can't-happen' sort of failure
687 You can store a template in a file outside your program. People can
688 modify the template without modifying the program. You can separate
764 Perl. If you need to make a loop, you can use any of the Perl loop
836 There is one special trick you can play in a template. Here is the
865 This means that you can write the template above like this:
875 you can't use a variable named C<$OUT> in your template without
892 C<undef> and sets C<$Text::Template::ERROR> if it can'
[all...]
/third_party/openssl/external/perl/Text-Template-1.56/lib/Text/
H A DTemplate.pm149 # drastic `can't-happen' sort of failure
186 # drastic `can't-happen' sort of failure
687 You can store a template in a file outside your program. People can
688 modify the template without modifying the program. You can separate
764 Perl. If you need to make a loop, you can use any of the Perl loop
836 There is one special trick you can play in a template. Here is the
865 This means that you can write the template above like this:
875 you can't use a variable named C<$OUT> in your template without
892 C<undef> and sets C<$Text::Template::ERROR> if it can'
[all...]
/kernel/linux/linux-6.6/scripts/
H A Dchecksyscalls.sh226 /* these can be expressed using other calls */
254 /* 64-bit ports never needed these, and new 32-bit ports can use statx */
/kernel/linux/linux-5.10/drivers/net/can/softing/
H A Dsofting_main.c22 struct can_priv *can = netdev_priv(netdev); in canif_is_active() local
26 return (can->state <= CAN_STATE_ERROR_PASSIVE); in canif_is_active()
247 if (can_state != priv->can.state) { in softing_handle_1()
248 priv->can.state = can_state; in softing_handle_1()
250 ++priv->can.can_stats.error_passive; in softing_handle_1()
253 ++priv->can.can_stats.bus_off; in softing_handle_1()
284 skb = priv->can.echo_skb[priv->tx.echo_get]; in softing_handle_1()
649 priv->can.bittiming_const = &priv->btr_const; in softing_netdev_create()
650 priv->can.clock.freq = 8000000; in softing_netdev_create()
657 priv->can in softing_netdev_create()
[all...]
/kernel/linux/linux-6.6/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb_hydra.c28 #include <linux/can.h>
29 #include <linux/can/dev.h>
30 #include <linux/can/error.h>
31 #include <linux/can/netlink.h>
927 old_state = priv->can.state; in kvaser_usb_hydra_update_state()
954 if (!priv->can.restart_ms) in kvaser_usb_hydra_update_state()
966 if (priv->can.restart_ms && in kvaser_usb_hydra_update_state()
969 priv->can.can_stats.restarts++; in kvaser_usb_hydra_update_state()
1077 priv->can.can_stats.bus_error++; in kvaser_usb_hydra_error_frame()
1084 old_state = priv->can in kvaser_usb_hydra_error_frame()
[all...]
H A Dkvaser_usb_leaf.c26 #include <linux/can.h>
27 #include <linux/can/dev.h>
28 #include <linux/can/error.h>
29 #include <linux/can/netlink.h>
105 /* Only Leaf-based devices can report M16C error factors,
576 cmd->u.tx_can.data[5] = can_get_cc_dlc(cf, priv->can.ctrlmode); in kvaser_usb_leaf_frame_to_cmd()
903 if (priv->can.restart_ms && priv->can.state == CAN_STATE_BUS_OFF) { in kvaser_usb_leaf_tx_acknowledge()
917 priv->can.can_stats.restarts++; in kvaser_usb_leaf_tx_acknowledge()
920 priv->can in kvaser_usb_leaf_tx_acknowledge()
[all...]
H A Dkvaser_usb.h29 #include <linux/can.h>
30 #include <linux/can/dev.h>
112 struct can_priv can; member
135 * @dev_set_mode: used for can.do_set_mode
136 * @dev_set_bittiming: used for can.do_set_bittiming
138 * @dev_set_data_bittiming: used for can.do_set_data_bittiming
140 * @dev_get_berr_counter: used for can.do_get_berr_counter
/kernel/linux/linux-6.6/drivers/net/can/spi/
H A Dmcp251x.c23 #include <linux/can/core.h>
24 #include <linux/can/dev.h>
229 struct can_priv can; member
810 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mcp251x_do_set_mode()
812 if (priv->can.restart_ms == 0) in mcp251x_do_set_mode()
834 if (priv->can.ctrlmode & CAN_CTRLMODE_LOOPBACK) { in mcp251x_set_normal_mode()
837 } else if (priv->can.ctrlmode & CAN_CTRLMODE_LISTENONLY) { in mcp251x_set_normal_mode()
853 priv->can.state = CAN_STATE_ERROR_ACTIVE; in mcp251x_set_normal_mode()
860 struct can_bittiming *bt = &priv->can.bittiming; in mcp251x_do_set_bittiming()
866 (priv->can in mcp251x_do_set_bittiming()
[all...]
/kernel/linux/linux-5.10/drivers/net/can/usb/kvaser_usb/
H A Dkvaser_usb.h29 #include <linux/can.h>
30 #include <linux/can/dev.h>
112 struct can_priv can; member
135 * @dev_set_mode: used for can.do_set_mode
136 * @dev_set_bittiming: used for can.do_set_bittiming
138 * @dev_set_data_bittiming: used for can.do_set_data_bittiming
140 * @dev_get_berr_counter: used for can.do_get_berr_counter

Completed in 25 milliseconds

12345678910>>...41