/kernel/linux/linux-5.10/drivers/scsi/bfa/ |
H A D | bfa_fcs.c | 29 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() 36 * fcs initialization, called once after bfa initialization is complete 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 80 bfa_fcs_pbc_vport_init(struct bfa_fcs_s *fcs) bfa_fcs_pbc_vport_init() argument 104 bfa_fcs_driver_info_init(struct bfa_fcs_s *fcs, struct bfa_fcs_driver_info_s *driver_info) bfa_fcs_driver_info_init() argument 122 bfa_fcs_exit(struct bfa_fcs_s *fcs) bfa_fcs_exit() argument 1063 bfa_fcs_fabric_modstop(struct bfa_fcs_s *fcs) bfa_fcs_fabric_modstop() argument 1076 bfa_fcs_fabric_modstart(struct bfa_fcs_s *fcs) bfa_fcs_fabric_modstart() argument 1437 bfa_fcs_vf_lookup(struct bfa_fcs_s *fcs, u16 vf_id) bfa_fcs_vf_lookup() argument 1461 struct bfa_fcs_s *fcs; bfa_fcs_vf_get_ports() local 1491 struct bfa_fcs_s *fcs = cbarg; bfa_fcs_port_event_handler() local 1524 struct bfa_fcs_s *fcs = (struct bfa_fcs_s *) cbarg; bfa_fcs_uf_recv() local 1580 bfa_fcs_attach(struct bfa_fcs_s *fcs, struct bfa_s *bfa, struct bfad_s *bfad, bfa_boolean_t min_cfg) bfa_fcs_attach() argument [all...] |
H A D | bfa_fcs_rport.c | 173 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_uninit() 174 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_uninit() 175 bfa_trc(rport->fcs, event); in bfa_fcs_rport_sm_uninit() 201 bfa_sm_fault(rport->fcs, event); in bfa_fcs_rport_sm_uninit() 212 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogi_sending() 213 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_sending() 214 bfa_trc(rport->fcs, event); in bfa_fcs_rport_sm_plogi_sending() 223 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending() 229 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending() 235 bfa_fcxp_walloc_cancel(rport->fcs in bfa_fcs_rport_sm_plogi_sending() 2304 struct bfa_fcs_s *fcs = port->fcs; bfa_fcs_rport_alloc() local 2365 struct bfa_fcs_s *fcs = port->fcs; bfa_fcs_rport_free() local 2788 struct bfa_fcs_s *fcs = &((struct bfad_s *)bfa->bfad)->bfa_fcs; bfa_cb_rport_scn_online() local 2815 struct bfa_fcs_s *fcs = &((struct bfad_s *)bfa->bfad)->bfa_fcs; bfa_cb_rport_scn_offline() local [all...] |
H A D | bfa_fcs_fcpim.c | 74 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_offline() 75 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_offline() 97 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_offline() 106 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli_send() 107 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send() 116 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send() 122 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send() 128 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send() 133 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send() 141 bfa_trc(itnim->fcs, itni in bfa_fcs_itnim_sm_prli() [all...] |
H A D | bfa_fcs_lport.c | 137 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_uninit() 138 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_uninit() 146 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_uninit() 154 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init() 155 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_init() 180 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_init() 192 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online() 193 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_online() 240 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_online() 252 bfa_trc(port->fcs, por in bfa_fcs_lport_sm_offline() 1074 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_fcs_vport_s *vport) bfa_fcs_lport_attach() argument 5706 bfa_fcs_get_base_port(struct bfa_fcs_s *fcs) bfa_fcs_get_base_port() argument 5718 struct bfa_fcs_s *fcs; bfa_fcs_lport_get_rport() local 5766 struct bfa_fcs_s *fcs; bfa_fcs_lport_get_rport_quals() local 5815 struct bfa_fcs_s *fcs; bfa_fcs_lport_get_rport_max_speed() local 5866 bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn) bfa_fcs_lookup_port() argument 6707 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) bfa_fcs_vport_create() argument 6757 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) bfa_fcs_pbc_vport_create() argument 6867 bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn) bfa_fcs_vport_lookup() argument [all...] |
H A D | bfa_fcs.h | 145 struct bfa_fcs_s *fcs; /* FCS instance */ member 154 #define BFA_FCS_GET_HAL_FROM_PORT(port) (port->fcs->bfa) 178 struct bfa_fcs_s *fcs; /* FCS instance */ member 279 * bfa fcs port public functions 283 struct bfa_fcs_lport_s *bfa_fcs_get_base_port(struct bfa_fcs_s *fcs); 289 struct bfa_fcs_lport_s *bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, 315 void bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, 365 * bfa fcs vport public functions 368 struct bfa_fcs_s *fcs, u16 vf_id, 372 struct bfa_fcs_s *fcs, u1 423 struct bfa_fcs_s *fcs; /* fcs instance */ global() member 502 struct bfa_fcs_s *fcs; /* fcs instance */ global() member [all...] |
/kernel/linux/linux-6.6/drivers/scsi/bfa/ |
H A D | bfa_fcs.c | 29 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() 36 * fcs initialization, called once after bfa initialization is complete 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 80 bfa_fcs_pbc_vport_init(struct bfa_fcs_s *fcs) bfa_fcs_pbc_vport_init() argument 104 bfa_fcs_driver_info_init(struct bfa_fcs_s *fcs, struct bfa_fcs_driver_info_s *driver_info) bfa_fcs_driver_info_init() argument 122 bfa_fcs_exit(struct bfa_fcs_s *fcs) bfa_fcs_exit() argument 1063 bfa_fcs_fabric_modstop(struct bfa_fcs_s *fcs) bfa_fcs_fabric_modstop() argument 1076 bfa_fcs_fabric_modstart(struct bfa_fcs_s *fcs) bfa_fcs_fabric_modstart() argument 1437 bfa_fcs_vf_lookup(struct bfa_fcs_s *fcs, u16 vf_id) bfa_fcs_vf_lookup() argument 1461 struct bfa_fcs_s *fcs; bfa_fcs_vf_get_ports() local 1491 struct bfa_fcs_s *fcs = cbarg; bfa_fcs_port_event_handler() local 1524 struct bfa_fcs_s *fcs = (struct bfa_fcs_s *) cbarg; bfa_fcs_uf_recv() local 1580 bfa_fcs_attach(struct bfa_fcs_s *fcs, struct bfa_s *bfa, struct bfad_s *bfad, bfa_boolean_t min_cfg) bfa_fcs_attach() argument [all...] |
H A D | bfa_fcs_rport.c | 173 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_uninit() 174 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_uninit() 175 bfa_trc(rport->fcs, event); in bfa_fcs_rport_sm_uninit() 201 bfa_sm_fault(rport->fcs, event); in bfa_fcs_rport_sm_uninit() 212 bfa_trc(rport->fcs, rport->pwwn); in bfa_fcs_rport_sm_plogi_sending() 213 bfa_trc(rport->fcs, rport->pid); in bfa_fcs_rport_sm_plogi_sending() 214 bfa_trc(rport->fcs, event); in bfa_fcs_rport_sm_plogi_sending() 223 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending() 229 bfa_fcxp_walloc_cancel(rport->fcs->bfa, &rport->fcxp_wqe); in bfa_fcs_rport_sm_plogi_sending() 235 bfa_fcxp_walloc_cancel(rport->fcs in bfa_fcs_rport_sm_plogi_sending() 2304 struct bfa_fcs_s *fcs = port->fcs; bfa_fcs_rport_alloc() local 2365 struct bfa_fcs_s *fcs = port->fcs; bfa_fcs_rport_free() local 2788 struct bfa_fcs_s *fcs = &((struct bfad_s *)bfa->bfad)->bfa_fcs; bfa_cb_rport_scn_online() local 2815 struct bfa_fcs_s *fcs = &((struct bfad_s *)bfa->bfad)->bfa_fcs; bfa_cb_rport_scn_offline() local [all...] |
H A D | bfa_fcs_fcpim.c | 74 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_offline() 75 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_offline() 97 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_offline() 106 bfa_trc(itnim->fcs, itnim->rport->pwwn); in bfa_fcs_itnim_sm_prli_send() 107 bfa_trc(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send() 116 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send() 122 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send() 128 bfa_fcxp_walloc_cancel(itnim->fcs->bfa, &itnim->fcxp_wqe); in bfa_fcs_itnim_sm_prli_send() 133 bfa_sm_fault(itnim->fcs, event); in bfa_fcs_itnim_sm_prli_send() 141 bfa_trc(itnim->fcs, itni in bfa_fcs_itnim_sm_prli() [all...] |
H A D | bfa_fcs_lport.c | 137 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_uninit() 138 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_uninit() 146 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_uninit() 154 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_init() 155 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_init() 180 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_init() 192 bfa_trc(port->fcs, port->port_cfg.pwwn); in bfa_fcs_lport_sm_online() 193 bfa_trc(port->fcs, event); in bfa_fcs_lport_sm_online() 240 bfa_sm_fault(port->fcs, event); in bfa_fcs_lport_sm_online() 252 bfa_trc(port->fcs, por in bfa_fcs_lport_sm_offline() 1074 bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_fcs_vport_s *vport) bfa_fcs_lport_attach() argument 5714 bfa_fcs_get_base_port(struct bfa_fcs_s *fcs) bfa_fcs_get_base_port() argument 5726 struct bfa_fcs_s *fcs; bfa_fcs_lport_get_rport() local 5774 struct bfa_fcs_s *fcs; bfa_fcs_lport_get_rport_quals() local 5823 struct bfa_fcs_s *fcs; bfa_fcs_lport_get_rport_max_speed() local 5874 bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t lpwwn) bfa_fcs_lookup_port() argument 6715 bfa_fcs_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) bfa_fcs_vport_create() argument 6765 bfa_fcs_pbc_vport_create(struct bfa_fcs_vport_s *vport, struct bfa_fcs_s *fcs, u16 vf_id, struct bfa_lport_cfg_s *vport_cfg, struct bfad_vport_s *vport_drv) bfa_fcs_pbc_vport_create() argument 6875 bfa_fcs_vport_lookup(struct bfa_fcs_s *fcs, u16 vf_id, wwn_t vpwwn) bfa_fcs_vport_lookup() argument [all...] |
H A D | bfa_fcs.h | 145 struct bfa_fcs_s *fcs; /* FCS instance */ member 154 #define BFA_FCS_GET_HAL_FROM_PORT(port) (port->fcs->bfa) 178 struct bfa_fcs_s *fcs; /* FCS instance */ member 276 * bfa fcs port public functions 280 struct bfa_fcs_lport_s *bfa_fcs_get_base_port(struct bfa_fcs_s *fcs); 286 struct bfa_fcs_lport_s *bfa_fcs_lookup_port(struct bfa_fcs_s *fcs, 312 void bfa_fcs_lport_attach(struct bfa_fcs_lport_s *lport, struct bfa_fcs_s *fcs, 362 * bfa fcs vport public functions 365 struct bfa_fcs_s *fcs, u16 vf_id, 369 struct bfa_fcs_s *fcs, u1 420 struct bfa_fcs_s *fcs; /* fcs instance */ global() member 499 struct bfa_fcs_s *fcs; /* fcs instance */ global() member [all...] |
/kernel/linux/linux-5.10/drivers/usb/serial/ |
H A D | safe_serial.c | 168 #define CRC10_FCS(fcs, c) ((((fcs) << 8) & 0x3ff) ^ crc10_table[((fcs) >> 2) & 0xff] ^ (c)) 174 * @fcs: starting FCS 176 * Perform a memcpy and calculate fcs using ppp 10bit CRC algorithm. Return 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 230 __u16 fcs; safe_prepare_write_buffer() local [all...] |
/kernel/linux/linux-6.6/drivers/usb/serial/ |
H A D | safe_serial.c | 168 #define CRC10_FCS(fcs, c) ((((fcs) << 8) & 0x3ff) ^ crc10_table[((fcs) >> 2) & 0xff] ^ (c)) 174 * @fcs: starting FCS 176 * Perform a memcpy and calculate fcs using ppp 10bit CRC algorithm. Return 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 230 __u16 fcs; safe_prepare_write_buffer() local [all...] |
/kernel/linux/linux-5.10/drivers/net/ppp/ |
H A D | ppp_async.c | 536 int fcs, i, count, c, proto; in ppp_async_encode() local 547 fcs = ap->tfcs; in ppp_async_encode() 569 fcs = PPP_INITFCS; in ppp_async_encode() 576 fcs = PPP_FCS(fcs, 0xff); in ppp_async_encode() 578 fcs = PPP_FCS(fcs, 0x03); in ppp_async_encode() 592 fcs = PPP_FCS(fcs, c); in ppp_async_encode() 602 ap->tfcs = fcs; in ppp_async_encode() 774 unsigned int len, fcs; process_input_packet() local 958 int dlen, fcs, i, code; async_lcp_peek() local [all...] |
/kernel/linux/linux-6.6/drivers/net/ppp/ |
H A D | ppp_async.c | 525 int fcs, i, count, c, proto; in ppp_async_encode() local 536 fcs = ap->tfcs; in ppp_async_encode() 558 fcs = PPP_INITFCS; in ppp_async_encode() 565 fcs = PPP_FCS(fcs, 0xff); in ppp_async_encode() 567 fcs = PPP_FCS(fcs, 0x03); in ppp_async_encode() 581 fcs = PPP_FCS(fcs, c); in ppp_async_encode() 591 ap->tfcs = fcs; in ppp_async_encode() 763 unsigned int len, fcs; process_input_packet() local 946 int dlen, fcs, i, code; async_lcp_peek() local [all...] |
/kernel/linux/linux-5.10/drivers/net/usb/ |
H A D | zaurus.c | 60 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()
|
/kernel/linux/linux-6.6/drivers/net/usb/ |
H A D | zaurus.c | 60 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()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | ppp_defs.h | 13 #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c)
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | ppp_defs.h | 13 #define PPP_FCS(fcs, c) crc_ccitt_byte(fcs, c)
|
/kernel/linux/linux-5.10/arch/x86/kernel/fpu/ |
H A D | regset.c | 243 env->fcs = task_pt_regs(tsk)->cs; in convert_from_fxsr() 252 env->fcs = (u16) fxsave->fcs | ((u32) fxsave->fop << 16); in convert_from_fxsr() 272 fxsave->fop = (u16) ((u32) env->fcs >> 16); in convert_to_fxsr() 279 fxsave->fcs = (env->fcs & 0xffff); in convert_to_fxsr()
|
/kernel/linux/linux-5.10/drivers/tty/ |
H A D | n_gsm.c | 223 u8 fcs; member 375 * @fcs: Current FCS 382 static inline u8 gsm_fcs_add(u8 fcs, u8 c) in gsm_fcs_add() argument 384 return gsm_fcs8[fcs ^ c]; in gsm_fcs_add() 389 * @fcs: Current FCS 397 static inline u8 gsm_fcs_add_block(u8 fcs, u8 *c, int len) in gsm_fcs_add_block() argument 400 fcs = gsm_fcs8[fcs ^ *c++]; in gsm_fcs_add_block() 401 return fcs; in gsm_fcs_add_block() 843 u8 *fcs in __gsm_data_queue() local [all...] |
/kernel/linux/linux-6.6/arch/x86/include/asm/ |
H A D | user_32.h | 50 long fcs; member 62 long fcs; member
|
H A D | user32.h | 13 u32 fcs; member 26 int fcs; member
|
/kernel/linux/linux-5.10/arch/x86/include/asm/ |
H A D | user_32.h | 50 long fcs; member 62 long fcs; member
|
H A D | user32.h | 13 u32 fcs; member 26 int fcs; member
|
/kernel/linux/linux-5.10/arch/x86/include/asm/fpu/ |
H A D | types.h | 17 u32 fcs; /* FPU IP Selector */ member 46 u32 fcs; /* FPU IP Selector */ member 84 u32 fcs; member
|