Home
last modified time | relevance | path

Searched refs:pec (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/arch/s390/pci/
Dpci_event.c34 u16 pec; /* PCI event code */ member
47 u16 pec; /* PCI event code */ member
258 ccdf->fid, ccdf->fh, ccdf->pec); in __zpci_event_error()
269 pdev ? pci_name(pdev) : "n/a", ccdf->pec, ccdf->fid); in __zpci_event_error()
274 switch (ccdf->pec) { in __zpci_event_error()
323 ccdf->fid, ccdf->fh, ccdf->pec); in __zpci_event_availability()
324 switch (ccdf->pec) { in __zpci_event_availability()
/linux-6.6.21/drivers/char/ipmi/
Dssif_bmc.c54 u8 pec; member
341 part->pec = i2c_smbus_pec(0, &addr, 1); in calculate_response_part_pec()
343 part->pec = i2c_smbus_pec(part->pec, &part->smbus_cmd, 1); in calculate_response_part_pec()
346 part->pec = i2c_smbus_pec(part->pec, &addr, 1); in calculate_response_part_pec()
347 part->pec = i2c_smbus_pec(part->pec, &part->length, 1); in calculate_response_part_pec()
349 part->pec = i2c_smbus_pec(part->pec, part->payload, part->length); in calculate_response_part_pec()
466 *val = part->pec; in handle_read_processed()
514 part->pec = part->payload[part->length]; in validate_request_part()
531 if (cpec != part->pec) in validate_request_part()
/linux-6.6.21/drivers/i2c/busses/
Di2c-amd8111.c194 unsigned char protocol, len, pec, temp[2]; in amd8111_access() local
199 pec = (flags & I2C_CLIENT_PEC) ? AMD_SMB_PRTCL_PEC : 0; in amd8111_access()
244 protocol |= AMD_SMB_PRTCL_WORD_DATA | pec; in amd8111_access()
265 protocol |= AMD_SMB_PRTCL_BLOCK_DATA | pec; in amd8111_access()
300 protocol = AMD_SMB_PRTCL_PROC_CALL | pec; in amd8111_access()
319 protocol = AMD_SMB_PRTCL_BLOCK_PROC_CALL | pec; in amd8111_access()
Di2c-nforce2.c183 unsigned char protocol, pec; in nforce2_access() local
189 pec = (flags & I2C_CLIENT_PEC) ? NVIDIA_SMB_PRTCL_PEC : 0; in nforce2_access()
216 protocol |= NVIDIA_SMB_PRTCL_WORD_DATA | pec; in nforce2_access()
234 protocol |= NVIDIA_SMB_PRTCL_BLOCK_DATA | pec; in nforce2_access()
Di2c-mlxbf.c2076 bool read, pec; in mlxbf_i2c_smbus_xfer() local
2082 pec = flags & I2C_FUNC_SMBUS_PEC; in mlxbf_i2c_smbus_xfer()
2093 pec); in mlxbf_i2c_smbus_xfer()
2100 read, pec); in mlxbf_i2c_smbus_xfer()
2107 (u8 *)&data->word, read, pec); in mlxbf_i2c_smbus_xfer()
2115 &byte_cnt, read, pec); in mlxbf_i2c_smbus_xfer()
2123 &byte_cnt, read, pec); in mlxbf_i2c_smbus_xfer()
2130 (u8 *)&data->word, pec); in mlxbf_i2c_smbus_xfer()
2139 pec); in mlxbf_i2c_smbus_xfer()
/linux-6.6.21/drivers/staging/media/atomisp/pci/css_2401_system/host/
Dcsi_rx_local.h56 hrt_data pec[N_CSI_RX_BE_MIPI_CUSTOM_PEC]; member
Dcsi_rx_private.h231 state->pec[i] = in csi_rx_be_ctrl_get_state()
281 state->pec[i]); in csi_rx_be_ctrl_dump_state()
/linux-6.6.21/drivers/i2c/
Di2c-core-smbus.c60 static u8 i2c_smbus_msg_pec(u8 pec, struct i2c_msg *msg) in i2c_smbus_msg_pec() argument
64 pec = i2c_smbus_pec(pec, &addr, 1); in i2c_smbus_msg_pec()
67 return i2c_smbus_pec(pec, msg->buf, msg->len); in i2c_smbus_msg_pec()
/linux-6.6.21/arch/s390/include/asm/
Dctl_reg.h98 unsigned long pec : 1; /* PAI extension control */ member
/linux-6.6.21/drivers/net/mctp/
Dmctp-i2c.c279 u8 pec, calc_pec; in mctp_i2c_recv() local
302 pec = midev->rx_buffer[midev->rx_pos - 1]; in mctp_i2c_recv()
304 if (pec != calc_pec) { in mctp_i2c_recv()
/linux-6.6.21/drivers/power/supply/
Dsbs-battery.c432 bool pec = client->flags & I2C_CLIENT_PEC; in sbs_read_string_data() local
435 if (pec) in sbs_read_string_data()
/linux-6.6.21/Documentation/hwmon/
Dpmbus-core.rst129 If PEC is supported, the PMBus core driver adds an attribute named 'pec' to
Dlm90.rst640 can be enabled through sysfs. Just write 1 to the "pec" file and PEC will be
/linux-6.6.21/Documentation/ABI/testing/
Dsysfs-class-hwmon951 What: /sys/class/hwmon/hwmonX/device/pec
/linux-6.6.21/drivers/hwmon/
Dlm90.c1307 static DEVICE_ATTR_RW(pec);
/linux-6.6.21/drivers/hwmon/pmbus/
Dpmbus_core.c2586 static DEVICE_ATTR_RW(pec);