Home
last modified time | relevance | path

Searched refs:fcs (Results 1 – 25 of 153) sorted by relevance

1234567

/linux-6.12.1/drivers/scsi/bfa/
Dbfa_fcs.c29 struct bfa_fcs_s *fcs = fcs_cbarg; in bfa_fcs_exit_comp() local
30 struct bfad_s *bfad = fcs->bfad; in bfa_fcs_exit_comp()
39 bfa_fcs_init(struct bfa_fcs_s *fcs) in bfa_fcs_init() argument
41 bfa_sm_send_event(&fcs->fabric, BFA_FCS_FABRIC_SM_CREATE); in bfa_fcs_init()
42 bfa_trc(fcs, 0); in bfa_fcs_init()
54 bfa_fcs_update_cfg(struct bfa_fcs_s *fcs) in bfa_fcs_update_cfg() argument
56 struct bfa_fcs_fabric_s *fabric = &fcs->fabric; in bfa_fcs_update_cfg()
58 struct bfa_ioc_s *ioc = &fabric->fcs->bfa->ioc; in bfa_fcs_update_cfg()
68 bfa_fcs_stop(struct bfa_fcs_s *fcs) in bfa_fcs_stop() argument
70 bfa_wc_init(&fcs->wc, bfa_fcs_exit_comp, fcs); in bfa_fcs_stop()
[all …]
Dbfa_fcs_rport.c189 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_uninit()
190 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_uninit()
191 bfa_trc(rport->fcs, event); in bfa_fcs_rport_sm_uninit()
217 bfa_sm_fault(rport->fcs, event); in bfa_fcs_rport_sm_uninit()
228 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogi_sending()
229 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_sending()
230 bfa_trc(rport->fcs, event); in bfa_fcs_rport_sm_plogi_sending()
239 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending()
245 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending()
251 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending()
[all …]
Dbfa_fcs_lport.c124 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_uninit()
125 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_uninit()
133 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_uninit()
141 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init()
142 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_init()
167 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_init()
179 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online()
180 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_online()
227 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_online()
239 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_offline()
[all …]
Dbfa_fcs_fcpim.c91 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_offline()
92 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_offline()
114 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_offline()
123 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli_send()
124 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send()
133 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
139 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
145 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send()
150 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send()
158 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli()
[all …]
Dbfa_fcs.h211 struct bfa_fcs_s *fcs; /* FCS instance */ member
220 #define BFA_FCS_GET_HAL_FROM_PORT(port) (port->fcs->bfa)
271 struct bfa_fcs_s *fcs; /* FCS instance */ member
373 struct bfa_fcs_lport_s *bfa_fcs_get_base_port(struct bfa_fcs_s *fcs);
379 struct bfa_fcs_lport_s *bfa_fcs_lookup_port(struct bfa_fcs_s *fcs,
405 void bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs,
482 struct bfa_fcs_s *fcs, u16 vf_id,
486 struct bfa_fcs_s *fcs, u16 vf_id,
495 struct bfa_fcs_vport_s *bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs,
584 struct bfa_fcs_s *fcs; /* fcs instance */ member
[all …]
/linux-6.12.1/drivers/usb/serial/
Dsafe_serial.c168 #define CRC10_FCS(fcs, c) ((((fcs) << 8) & 0x3ff) ^ crc10_table[((fcs) >> 2) & 0xff] ^ (c)) argument
179 static inline __u16 fcs_compute10(unsigned char *sp, int len, __u16 fcs) in fcs_compute10() argument
181 for (; len-- > 0; fcs = CRC10_FCS(fcs, *sp++)); in fcs_compute10()
182 return fcs; in fcs_compute10()
191 __u16 fcs; in safe_process_read_urb() local
204 fcs = fcs_compute10(data, length, CRC10_INITFCS); in safe_process_read_urb()
205 if (fcs) { in safe_process_read_urb()
206 dev_err(&port->dev, "%s - bad CRC %x\n", __func__, fcs); in safe_process_read_urb()
230 __u16 fcs; in safe_prepare_write_buffer() local
252 fcs = fcs_compute10(buf, pkt_len, CRC10_INITFCS); in safe_prepare_write_buffer()
[all …]
/linux-6.12.1/drivers/net/ppp/
Dppp_async.c526 int fcs, i, count, c, proto; in ppp_async_encode() local
537 fcs = ap->tfcs; in ppp_async_encode()
559 fcs = PPP_INITFCS; in ppp_async_encode()
566 fcs = PPP_FCS(fcs, 0xff); in ppp_async_encode()
568 fcs = PPP_FCS(fcs, 0x03); in ppp_async_encode()
582 fcs = PPP_FCS(fcs, c); in ppp_async_encode()
592 ap->tfcs = fcs; in ppp_async_encode()
599 fcs = ~fcs; in ppp_async_encode()
600 c = fcs & 0xff; in ppp_async_encode()
602 c = (fcs >> 8) & 0xff; in ppp_async_encode()
[all …]
/linux-6.12.1/drivers/net/usb/
Dzaurus.c60 u32 fcs; in zaurus_tx_fixup() local
62 fcs = crc32_le(~0, skb->data, skb->len); in zaurus_tx_fixup()
63 fcs = ~fcs; in zaurus_tx_fixup()
65 skb_put_u8(skb, fcs & 0xff); in zaurus_tx_fixup()
66 skb_put_u8(skb, (fcs >> 8) & 0xff); in zaurus_tx_fixup()
67 skb_put_u8(skb, (fcs >> 16) & 0xff); in zaurus_tx_fixup()
68 skb_put_u8(skb, (fcs >> 24) & 0xff); in zaurus_tx_fixup()
/linux-6.12.1/include/linux/
Dppp_defs.h13 #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c) argument
/linux-6.12.1/arch/x86/include/asm/
Duser_32.h50 long fcs; member
62 long fcs; member
Duser32.h13 u32 fcs; member
26 int fcs; member
/linux-6.12.1/arch/x86/kernel/fpu/
Dregset.c349 env->fcs = task_pt_regs(tsk)->cs; in __convert_from_fxsr()
358 env->fcs = (u16) fxsave->fcs | ((u32) fxsave->fop << 16); in __convert_from_fxsr()
384 fxsave->fop = (u16) ((u32) env->fcs >> 16); in convert_to_fxsr()
391 fxsave->fcs = (env->fcs & 0xffff); in convert_to_fxsr()
/linux-6.12.1/drivers/scsi/megaraid/
Dmegaraid_mm.c248 adapno = GETADAP(mimd.ui.fcs.adapno); in mraid_mm_get_adapter()
303 opcode = kmimd.ui.fcs.opcode; in handle_drvrcmd()
304 subopcode = kmimd.ui.fcs.subopcode; in handle_drvrcmd()
374 opcode = mimd.ui.fcs.opcode; in mimd_to_kioc()
375 subopcode = mimd.ui.fcs.subopcode; in mimd_to_kioc()
376 adapno = GETADAP(mimd.ui.fcs.adapno); in mimd_to_kioc()
409 kioc->xferlen = mimd.ui.fcs.length; in mimd_to_kioc()
411 kioc->user_data = mimd.ui.fcs.buffer; in mimd_to_kioc()
820 opcode = kmimd.ui.fcs.opcode; in kioc_to_mimd()
821 subopcode = kmimd.ui.fcs.subopcode; in kioc_to_mimd()
Dmegaraid_mm.h79 } __attribute__ ((packed)) fcs; member
/linux-6.12.1/drivers/tty/
Dn_gsm.c296 u8 fcs; member
474 static inline u8 gsm_fcs_add(u8 fcs, u8 c) in gsm_fcs_add() argument
476 return gsm_fcs8[fcs ^ c]; in gsm_fcs_add()
489 static inline u8 gsm_fcs_add_block(u8 fcs, u8 *c, int len) in gsm_fcs_add_block() argument
492 fcs = gsm_fcs8[fcs ^ *c++]; in gsm_fcs_add_block()
493 return fcs; in gsm_fcs_add_block()
1098 u8 *fcs = dp + msg->len; in __gsm_data_queue() local
1115 *fcs = gsm_fcs_add_block(INIT_FCS, dp , msg->data - dp); in __gsm_data_queue()
1118 *fcs = gsm_fcs_add_block(*fcs, msg->data, msg->len); in __gsm_data_queue()
1119 *fcs = 0xFF - *fcs; in __gsm_data_queue()
[all …]
/linux-6.12.1/arch/x86/include/asm/fpu/
Dtypes.h19 u32 fcs; /* FPU IP Selector */ member
48 u32 fcs; /* FPU IP Selector */ member
86 u32 fcs; member
/linux-6.12.1/arch/arm64/boot/dts/rockchip/
Drk3566-powkiddy-rgb10max3.dts53 compatible = "fcs,fan53555";
55 fcs,suspend-voltage-selector = <1>;
Drk3368-evb-act8846.dts20 fcs,suspend-voltage-selector = <1>;
32 fcs,suspend-voltage-selector = <1>;
Drk3399-puma.dtsi378 compatible = "fcs,fan53555";
380 fcs,suspend-voltage-selector = <1>;
412 compatible = "fcs,fan53555";
419 fcs,suspend-voltage-selector = <1>;
/linux-6.12.1/arch/arm64/boot/dts/freescale/
Dimx8mq-nitrogen-som.dtsi100 compatible = "fcs,fan53555";
115 compatible = "fcs,fan53555";
130 compatible = "fcs,fan53555";
/linux-6.12.1/include/net/caif/
Dcfcnfg.h70 bool fcs, int head_room);
/linux-6.12.1/drivers/net/vmxnet3/
Dvmxnet3_defs.h320 u32 fcs:1; /* Frame CRC correct */ member
338 u32 fcs:1; /* Frame CRC correct */ member
353 u32 fcs:1; /* Frame CRC correct */ member
371 u32 fcs:1; /* Frame CRC correct */ member
/linux-6.12.1/arch/s390/include/asm/
Dcss_chars.h16 u64 fcs : 1; /* bit 46 */ member
/linux-6.12.1/arch/arm/boot/dts/rockchip/
Drk3288-evb-act8846.dts36 fcs,suspend-voltage-selector = <1>;
48 fcs,suspend-voltage-selector = <1>;
/linux-6.12.1/drivers/net/ethernet/mellanox/mlx5/core/
Dfs_counters.c542 struct mlx5_fc fcs[] __counted_by(bulk_len);
569 bulk = kvzalloc(struct_size(bulk, fcs, bulk_len), GFP_KERNEL); in mlx5_fc_bulk_create()
585 mlx5_fc_init(&bulk->fcs[i], bulk, base_id + i); in mlx5_fc_bulk_create()
622 return &bulk->fcs[free_fc_index]; in mlx5_fc_bulk_acquire_fc()

1234567