Home
last modified time | relevance | path

Searched refs:cr_data (Results 1 – 10 of 10) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/diag/
Dcrdump.c17 static int mlx5_crdump_fill(struct mlx5_core_dev *dev, u32 *cr_data) in mlx5_crdump_fill() argument
23 cr_data[i] = BAD_ACCESS; in mlx5_crdump_fill()
25 ret = mlx5_vsc_gw_read_block_fast(dev, cr_data, crdump_size); in mlx5_crdump_fill()
41 int mlx5_crdump_collect(struct mlx5_core_dev *dev, u32 *cr_data) in mlx5_crdump_collect() argument
66 ret = mlx5_crdump_fill(dev, cr_data); in mlx5_crdump_collect()
/Linux-v6.6/drivers/watchdog/
Dpc87413_wdt.c72 unsigned int cr_data = 0; in pc87413_select_wdt_out() local
78 cr_data = inb(WDT_DATA_IO_PORT); in pc87413_select_wdt_out()
80 cr_data |= 0x80; /* Set Bit7 to 1*/ in pc87413_select_wdt_out()
83 outb_p(cr_data, WDT_DATA_IO_PORT); in pc87413_select_wdt_out()
88 cr_data); in pc87413_select_wdt_out()
96 unsigned int cr_data = 0; in pc87413_enable_swc() local
104 cr_data = inb(WDT_DATA_IO_PORT); in pc87413_enable_swc()
105 cr_data |= 0x01; /* Set Bit0 to 1 */ in pc87413_enable_swc()
107 outb_p(cr_data, WDT_DATA_IO_PORT); /* Index0x30_bit0P1 */ in pc87413_enable_swc()
/Linux-v6.6/drivers/video/fbdev/sis/
Dinitextlfb.c170 unsigned char sr_data, cr_data, cr_data2; in sisfb_gettotalfrommode() local
200 cr_data = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[0]; in sisfb_gettotalfrommode()
201 *htotal = (((cr_data & 0xff) | ((unsigned short) (sr_data & 0x03) << 8)) + 5) * 8; in sisfb_gettotalfrommode()
204 cr_data = SiS_Pr->SiS_CRT1Table[CRT1Index].CR[6]; in sisfb_gettotalfrommode()
206 *vtotal = ((cr_data & 0xFF) | in sisfb_gettotalfrommode()
Dinit.c3542 unsigned char sr_data, cr_data; in SiS_Generic_ConvertCRData() local
3556 cr_data = crdata[5]; in SiS_Generic_ConvertCRData()
3560 ((unsigned short)(cr_data & 0x80) >> 2) | in SiS_Generic_ConvertCRData()
3564 HRE = (cr_data & 0x1f) | ((sr_data & 0x04) << 3); in SiS_Generic_ConvertCRData()
3581 cr_data = crdata[7]; in SiS_Generic_ConvertCRData()
3585 ((unsigned short)(cr_data & 0x02) << 7) | in SiS_Generic_ConvertCRData()
3586 ((unsigned short)(cr_data & 0x40) << 3) | in SiS_Generic_ConvertCRData()
3592 ((unsigned short)(cr_data & 0x04) << 6) | in SiS_Generic_ConvertCRData()
3593 ((unsigned short)(cr_data & 0x80) << 2) | in SiS_Generic_ConvertCRData()
/Linux-v6.6/drivers/video/fbdev/via/
Dviafbdev.c843 } *cr_data = kzalloc(sizeof(*cr_data), GFP_ATOMIC); in viafb_cursor() local
847 if (!cr_data) in viafb_cursor()
852 cr_data->bak[i] = 0x0; in viafb_cursor()
853 cr_data->bak[i + 1] = 0xFFFFFFFF; in viafb_cursor()
858 cr_data->bak[i] = 0x0; in viafb_cursor()
859 cr_data->bak[i + 1] = 0x0; in viafb_cursor()
860 cr_data->bak[i + 2] = 0xFFFFFFFF; in viafb_cursor()
861 cr_data->bak[i + 3] = 0xFFFFFFFF; in viafb_cursor()
869 cr_data->data[i] = cursor->mask[i]; in viafb_cursor()
874 cr_data->data[i] = cursor->mask[i]; in viafb_cursor()
[all …]
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/
Dhealth.c628 u32 *cr_data; in mlx5_fw_fatal_reporter_dump() local
634 cr_data = kvmalloc(crdump_size, GFP_KERNEL); in mlx5_fw_fatal_reporter_dump()
635 if (!cr_data) in mlx5_fw_fatal_reporter_dump()
637 err = mlx5_crdump_collect(dev, cr_data); in mlx5_fw_fatal_reporter_dump()
649 err = devlink_fmsg_binary_pair_put(fmsg, "crdump_data", cr_data, crdump_size); in mlx5_fw_fatal_reporter_dump()
652 kvfree(cr_data); in mlx5_fw_fatal_reporter_dump()
/Linux-v6.6/drivers/net/ethernet/mellanox/mlx5/core/lib/
Dmlx5.h46 int mlx5_crdump_collect(struct mlx5_core_dev *dev, u32 *cr_data);
/Linux-v6.6/fs/nfsd/
Dxdr4.h123 #define cr_data u.link.data macro
Dnfs4xdr.c819 create->cr_data = svcxdr_dupstr(argp, p, create->cr_datalen); in nfsd4_decode_create()
820 if (!create->cr_data) in nfsd4_decode_create()
Dnfs4proc.c813 create->cr_data, &attrs, &resfh); in nfsd4_create()