Home
last modified time | relevance | path

Searched refs:packet_type (Results 1 – 25 of 93) sorted by relevance

1234

/linux/include/net/
H A Dllc.h20 struct packet_type;
55 struct packet_type *pt,
94 int llc_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,
109 struct packet_type *pt,
H A Dpsnap.h7 struct packet_type;
13 struct packet_type *,
H A Dp8022.h
H A Ddatalink.h9 struct packet_type;
20 struct packet_type *, struct net_device *);
/linux/drivers/media/usb/gspca/
H A Dsq905c.c128 int packet_type; in sq905c_dostream() local
159 packet_type = FIRST_PACKET; in sq905c_dostream()
160 gspca_frame_add(gspca_dev, packet_type, in sq905c_dostream()
176 packet_type = LAST_PACKET; in sq905c_dostream()
178 packet_type = INTER_PACKET; in sq905c_dostream()
179 gspca_frame_add(gspca_dev, packet_type, in sq905c_dostream()
H A Dsq905.c205 int packet_type; in sq905_dostream() local
246 packet_type = FIRST_PACKET; in sq905_dostream()
253 packet_type = LAST_PACKET; in sq905_dostream()
255 packet_type = INTER_PACKET; in sq905_dostream()
257 gspca_frame_add(gspca_dev, packet_type, in sq905_dostream()
261 if (packet_type == FIRST_PACKET && in sq905_dostream()
H A Djl2005bcd.c313 int packet_type; in jl2005c_dostream() local
355 packet_type = FIRST_PACKET; in jl2005c_dostream()
356 gspca_frame_add(gspca_dev, packet_type, in jl2005c_dostream()
374 packet_type = LAST_PACKET; in jl2005c_dostream()
377 packet_type = INTER_PACKET; in jl2005c_dostream()
378 gspca_frame_add(gspca_dev, packet_type, in jl2005c_dostream()
H A Djeilinj.c264 int packet_type; in sd_pkt_scan() local
291 packet_type = LAST_PACKET; in sd_pkt_scan()
293 packet_type = INTER_PACKET; in sd_pkt_scan()
294 gspca_frame_add(gspca_dev, packet_type, in sd_pkt_scan()
/linux/drivers/scsi/fcoe/
H A Dfcoe.h69 struct packet_type fcoe_packet_type;
70 struct packet_type fip_packet_type;
71 struct packet_type fip_vlan_packet_type;
/linux/net/batman-adv/
H A Dmain.c421 struct packet_type *ptype, in batadv_batman_skb_recv()
477 idx = batadv_ogm_packet->packet_type; in batadv_batman_skb_recv()
547 * @packet_type: batadv_packettype which should be handled in batadv_recv_handler_register()
553 batadv_recv_handler_register(u8 packet_type, in batadv_recv_handler_register()
559 curr = batadv_rx_handler[packet_type]; in batadv_recv_handler_unregister() argument
565 batadv_rx_handler[packet_type] = recv_handler;
571 * @packet_type: batadv_packettype which should no longer be handled
573 void batadv_recv_handler_unregister(u8 packet_type) in batadv_get_vid()
575 batadv_rx_handler[packet_type] = batadv_recv_unhandled_packet; in batadv_get_vid()
539 batadv_recv_handler_register(u8 packet_type,int (* recv_handler)(struct sk_buff *,struct batadv_hard_iface *)) batadv_recv_handler_register() argument
H A Dtvlv.c380 * @packet_type: indicates for which packet type the TVLV handler is called in batadv_tvlv_call_handler()
391 u8 packet_type, in batadv_tvlv_call_handler()
402 switch (packet_type) { in batadv_tvlv_call_handler()
450 * @packet_type: indicates for which packet type the TVLV handler is called in batadv_tvlv_containers_process()
460 u8 packet_type, in batadv_tvlv_containers_process()
485 packet_type, orig_node, skb, in batadv_tvlv_containers_process()
493 if (packet_type != BATADV_IV_OGM && in batadv_tvlv_containers_process()
494 packet_type != BATADV_OGM2) in batadv_tvlv_containers_process()
668 unicast_tvlv_packet->packet_type = BATADV_UNICAST_TVLV; in batadv_tvlv_unicast_send()
378 batadv_tvlv_call_handler(struct batadv_priv * bat_priv,struct batadv_tvlv_handler * tvlv_handler,u8 packet_type,struct batadv_orig_node * orig_node,struct sk_buff * skb,void * tvlv_value,u16 tvlv_value_len) batadv_tvlv_call_handler() argument
447 batadv_tvlv_containers_process(struct batadv_priv * bat_priv,u8 packet_type,struct batadv_orig_node * orig_node,struct sk_buff * skb,void * tvlv_value,u16 tvlv_value_len) batadv_tvlv_containers_process() argument
H A Dbridge_loop_avoidance.h37 unsigned short vid, int packet_type);
64 int packet_type) in batadv_bla_rx() argument
H A Dsend.h58 struct sk_buff *skb, int packet_type,
63 struct sk_buff *skb, int packet_type,
H A Dsend.c233 unicast_packet->packet_type = BATADV_UNICAST; in batadv_send_skb_push_fill_unicast()
291 uc_4addr_packet->u.packet_type = BATADV_UNICAST_4ADDR; in batadv_send_skb_prepare_unicast_4addr()
306 * @packet_type: the batman unicast packet type to use
314 * as packet_type. Then send this frame to the given orig_node.
319 struct sk_buff *skb, int packet_type, in batadv_send_skb_unicast() argument
331 switch (packet_type) { in batadv_send_skb_unicast()
376 * @packet_type: the batman unicast packet type to use
385 * BATADV_UNICAST_4ADDR was supplied as packet_type. Then send this frame
391 struct sk_buff *skb, int packet_type, in batadv_send_skb_via_tt_generic() argument
410 ret = batadv_send_skb_unicast(bat_priv, skb, packet_type, in batadv_send_skb_via_tt_generic()
[all...]
/linux/net/802/
H A Dpsnap.c46 struct packet_type *pt, struct net_device *orig_dev) in snap_rcv()
50 static struct packet_type snap_packet_type = { in snap_rcv()
125 struct packet_type *, in register_snap_client() argument
/linux/sound/soc/mediatek/common/
H A Dmtk-btcvsd.c356 enum bt_sco_packet_len packet_type,
392 if ((control & btsco_packet_valid_mask[packet_type][i]) == in mtk_btcvsd_read_from_bt()
393 btsco_packet_valid_mask[packet_type][i]) in mtk_btcvsd_read_from_bt()
408 enum bt_sco_packet_len packet_type, in mtk_btcvsd_read_from_bt()
480 unsigned int packet_type, packet_num, packet_length;
494 packet_type = (control >> 18) & 0x7; in mtk_btcvsd_snd_irq_handler()
502 if (packet_type >= BT_SCO_CVSD_MAX) { in mtk_btcvsd_snd_irq_handler()
503 dev_warn(bt->dev, "%s(), invalid packet_type %u, exit\n", in mtk_btcvsd_snd_irq_handler()
504 __func__, packet_type); in mtk_btcvsd_snd_irq_handler()
508 packet_length = btsco_packet_info[packet_type][ in mtk_btcvsd_snd_irq_handler()
358 mtk_btcvsd_read_from_bt(struct mtk_btcvsd_snd * bt,enum bt_sco_packet_len packet_type,unsigned int packet_length,unsigned int packet_num,unsigned int blk_size,unsigned int control) mtk_btcvsd_read_from_bt() argument
411 mtk_btcvsd_write_to_bt(struct mtk_btcvsd_snd * bt,enum bt_sco_packet_len packet_type,unsigned int packet_length,unsigned int packet_num,unsigned int blk_size) mtk_btcvsd_write_to_bt() argument
484 unsigned int packet_type, packet_num, packet_length; mtk_btcvsd_snd_irq_handler() local
[all...]
/linux/drivers/input/mouse/
H A Delantech.c490 int packet_type) in elantech_report_trackpoint() argument
559 int packet_type) in elantech_report_absolute_v3() argument
586 if (packet_type == PACKET_V3_HEAD) { in elantech_report_absolute_v3()
744 int packet_type) in elantech_report_absolute_v4() argument
746 switch (packet_type) { in elantech_report_absolute_v4()
878 unsigned char packet_type = packet[3] & 0x03; in elantech_packet_check_v4() local
906 switch (packet_type) { in elantech_packet_check_v4()
926 int packet_type; in elantech_process_byte() local
954 packet_type = elantech_packet_check_v3(psmouse); in elantech_process_byte()
955 switch (packet_type) { in elantech_process_byte()
[all …]
H A Dsentelic.c641 const char *packet_type = "UNKNOWN"; in fsp_packet_debug() local
647 packet_type = "Absolute"; in fsp_packet_debug()
652 packet_type = "Normal"; in fsp_packet_debug()
655 packet_type = "Notify"; in fsp_packet_debug()
658 packet_type = "Normal-OPC"; in fsp_packet_debug()
667 jiffies_msec, packet_type, in fsp_packet_debug()
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_fid.c74 enum mlxsw_sp_flood_type packet_type; member
352 enum mlxsw_sp_flood_type packet_type) in mlxsw_sp_fid_flood_table_lookup() argument
361 if (flood_table->packet_type != packet_type) in mlxsw_sp_fid_flood_table_lookup()
434 enum mlxsw_sp_flood_type packet_type, u16 local_port, in mlxsw_sp_fid_flood_set() argument
444 flood_table = mlxsw_sp_fid_flood_table_lookup(fid, packet_type); in mlxsw_sp_fid_flood_set()
1212 enum mlxsw_sp_flood_type packet_type = flood_table->packet_type; in mlxsw_sp_fid_flood_table_init_ctl()
1220 sfgc_packet_types = mlxsw_sp_packet_type_sfgc_types[packet_type]; in mlxsw_sp_fid_flood_table_init_ctl()
1289 .packet_type
1209 enum mlxsw_sp_flood_type packet_type = flood_table->packet_type; mlxsw_sp_fid_flood_table_init_ctl() local
2389 enum mlxsw_sp_flood_type packet_type = flood_table->packet_type; mlxsw_sp2_fids_init_flood_table() local
[all...]
/linux/net/llc/
H A Dllc_core.c88 struct packet_type *pt,
127 static struct packet_type llc_packet_type __read_mostly = { in llc_sap_close()
H A Dllc_input.c156 struct packet_type *pt, struct net_device *orig_dev)
162 struct packet_type *, struct net_device *); in llc_rcv()
/linux/net/core/
H A Dnet-procfs.c182 struct packet_type *pt = NULL; in ptype_get_idx()
234 struct packet_type *pt; in ptype_seq_next()
284 return list_entry(nxt, struct packet_type, list); in ptype_seq_next()
296 struct packet_type *pt = v; in ptype_seq_show()
/linux/net/can/
H A Daf_can.c688 struct packet_type *pt, struct net_device *orig_dev) in can_rcv()
704 struct packet_type *pt, struct net_device *orig_dev) in canfd_rcv()
720 struct packet_type *pt, struct net_device *orig_dev) in canxl_rcv()
848 static struct packet_type can_packet __read_mostly = {
853 static struct packet_type canfd_packet __read_mostly = {
858 static struct packet_type canxl_packet __read_mostly = {
/linux/drivers/gpu/drm/amd/display/modules/freesync/
H A Dfreesync.c934 static void build_vrr_infopacket_sdp_v1_3(enum vrr_packet_type packet_type, in build_vrr_infopacket_sdp_v1_3() argument
939 size = ((packet_type == PACKET_TYPE_FS_V1) ? 0x08 : in build_vrr_infopacket_sdp_v1_3()
940 (packet_type == PACKET_TYPE_FS_V3) ? 0x10 : in build_vrr_infopacket_sdp_v1_3()
955 enum vrr_packet_type packet_type, in mod_freesync_build_vrr_infopacket() argument
969 switch (packet_type) { in mod_freesync_build_vrr_infopacket()
984 packet_type != PACKET_TYPE_VRR && in mod_freesync_build_vrr_infopacket()
985 packet_type != PACKET_TYPE_VTEM) in mod_freesync_build_vrr_infopacket()
986 build_vrr_infopacket_sdp_v1_3(packet_type, infopacket); in mod_freesync_build_vrr_infopacket()
/linux/drivers/usb/isp1760/
H A Disp1760-hcd.c146 u8 packet_type; member
841 ptd->dw1 |= TO_DW1_PID_TOKEN(qtd->packet_type); in create_ptd_atl()
977 u8 packet_type) in qtd_alloc() argument
987 qtd->packet_type = packet_type; in qtd_alloc()
1071 switch (qtd->packet_type) { in collect_qtds()
1162 if (qtd->length && (qtd->packet_type == SETUP_PID || in enqueue_qtds()
1163 qtd->packet_type == OUT_PID)) { in enqueue_qtds()
1778 u8 packet_type; in packetize_urb() local
1794 packet_type = IN_PID; in packetize_urb()
1796 packet_type = OUT_PID; in packetize_urb()
[all …]

1234