Home
last modified time | relevance | path

Searched refs:eir (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/net/bluetooth/
Dhci_request.h126 static inline u16 eir_append_data(u8 *eir, u16 eir_len, u8 type, in eir_append_data() argument
129 eir[eir_len++] = sizeof(type) + data_len; in eir_append_data()
130 eir[eir_len++] = type; in eir_append_data()
131 memcpy(&eir[eir_len], data, data_len); in eir_append_data()
137 static inline u16 eir_append_le16(u8 *eir, u16 eir_len, u8 type, u16 data) in eir_append_le16() argument
139 eir[eir_len++] = sizeof(type) + sizeof(data); in eir_append_le16()
140 eir[eir_len++] = type; in eir_append_le16()
141 put_unaligned_le16(data, &eir[eir_len]); in eir_append_le16()
Dmgmt.c1040 static u16 append_eir_data_to_buf(struct hci_dev *hdev, u8 *eir) in append_eir_data_to_buf() argument
1046 eir_len = eir_append_data(eir, eir_len, EIR_CLASS_OF_DEV, in append_eir_data_to_buf()
1050 eir_len = eir_append_le16(eir, eir_len, EIR_APPEARANCE, in append_eir_data_to_buf()
1054 eir_len = eir_append_data(eir, eir_len, EIR_NAME_COMPLETE, in append_eir_data_to_buf()
1058 eir_len = eir_append_data(eir, eir_len, EIR_NAME_SHORT, in append_eir_data_to_buf()
1086 eir_len = append_eir_data_to_buf(hdev, rp->eir); in read_ext_controller_info()
1112 eir_len = append_eir_data_to_buf(hdev, ev->eir); in ext_info_changed()
6980 eir_len = eir_append_data(mgmt_rp->eir, 0, EIR_CLASS_OF_DEV, in read_local_oob_ext_data_complete()
6984 eir_len = eir_append_data(mgmt_rp->eir, eir_len, in read_local_oob_ext_data_complete()
6986 eir_len = eir_append_data(mgmt_rp->eir, eir_len, in read_local_oob_ext_data_complete()
[all …]
Dhci_core.c461 memset(hdev->eir, 0, sizeof(hdev->eir)); in hci_init2_req()
1837 memset(hdev->eir, 0, sizeof(hdev->eir)); in hci_dev_do_close()
Dhci_request.c697 if (memcmp(cp.data, hdev->eir, sizeof(cp.data)) == 0) in __hci_req_update_eir()
700 memcpy(hdev->eir, cp.data, sizeof(cp.data)); in __hci_req_update_eir()
Dhci_event.c4400 static inline size_t eir_get_length(u8 *eir, size_t eir_len) in eir_get_length() argument
4405 u8 field_len = eir[0]; in eir_get_length()
4411 eir += field_len + 1; in eir_get_length()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_gt_irq.c29 u32 eir; in cs_irq_handler() local
32 eir = ENGINE_READ(engine, RING_EIR) & GENMASK(15, 0); in cs_irq_handler()
33 ENGINE_TRACE(engine, "CS error: %x\n", eir); in cs_irq_handler()
36 if (likely(eir)) { in cs_irq_handler()
38 ENGINE_WRITE(engine, RING_EIR, eir); in cs_irq_handler()
39 WRITE_ONCE(engine->execlists.error_interrupt, eir); in cs_irq_handler()
Dintel_gt.c168 u32 eir; in intel_gt_clear_error_registers() local
179 eir = intel_uncore_read(uncore, EIR); in intel_gt_clear_error_registers()
180 if (eir) { in intel_gt_clear_error_registers()
185 DRM_DEBUG_DRIVER("EIR stuck: 0x%08x, masking\n", eir); in intel_gt_clear_error_registers()
186 rmw_set(uncore, EMR, eir); in intel_gt_clear_error_registers()
/kernel/linux/linux-5.10/include/net/bluetooth/
Dmgmt.h525 __u8 eir[]; member
614 __u8 eir[]; member
837 __u8 eir[]; member
893 __u8 eir[]; member
988 __u8 eir[]; member
1004 __u8 eir[]; member
Dhci_core.h303 __u8 eir[HCI_MAX_EIR_LENGTH]; member
1550 static inline void *eir_get_data(u8 *eir, size_t eir_len, u8 type, in eir_get_data() argument
1559 u8 field_len = eir[0]; in eir_get_data()
1569 if (eir[1] != type) { in eir_get_data()
1570 eir += field_len + 1; in eir_get_data()
1581 return &eir[2]; in eir_get_data()
1767 u8 *eir, u16 eir_len, u8 *scan_rsp, u8 scan_rsp_len);
/kernel/linux/linux-5.10/drivers/net/ethernet/microchip/
Dencx24j600.c405 int eir; in encx24j600_isr() local
410 eir = encx24j600_read_reg(priv, EIR); in encx24j600_isr()
412 if (eir & LINKIF) in encx24j600_isr()
415 if (eir & TXIF) in encx24j600_isr()
418 if (eir & TXABTIF) in encx24j600_isr()
421 if (eir & RXABTIF) { in encx24j600_isr()
422 if (eir & PCFULIF) { in encx24j600_isr()
430 if (eir & PKTIF) { in encx24j600_isr()
/kernel/linux/linux-5.10/drivers/gpu/drm/i915/
Di915_irq.c3574 u16 *eir, u16 *eir_stuck) in i8xx_error_irq_ack() argument
3579 *eir = intel_uncore_read16(uncore, EIR); in i8xx_error_irq_ack()
3581 if (*eir) in i8xx_error_irq_ack()
3582 intel_uncore_write16(uncore, EIR, *eir); in i8xx_error_irq_ack()
3604 u16 eir, u16 eir_stuck) in i8xx_error_irq_handler() argument
3606 DRM_DEBUG("Master Error: EIR 0x%04x\n", eir); in i8xx_error_irq_handler()
3614 u32 *eir, u32 *eir_stuck) in i9xx_error_irq_ack() argument
3618 *eir = I915_READ(EIR); in i9xx_error_irq_ack()
3620 I915_WRITE(EIR, *eir); in i9xx_error_irq_ack()
3642 u32 eir, u32 eir_stuck) in i9xx_error_irq_handler() argument
[all …]
Di915_gpu_error.h125 u32 eir; member
Di915_gpu_error.c698 err_printf(m, "EIR: 0x%08x\n", gt->eir); in err_print_gt()
1656 gt->eir = intel_uncore_read(uncore, EIR); in gt_record_regs()
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/enetc/
Denetc_hw.h885 __le32 eir; member
Denetc_qos.c885 fmi_config->eir = 0; in enetc_flowmeter_hw_set()
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/
D0008_linux_net.patch2562 + fmiconf.eir = nla_get_u32(fmi[TSN_QCI_FMI_ATTR_EIR]);
2683 + nla_put_u32(rep_skb, TSN_QCI_FMI_ATTR_EIR, fmiconf.eir) ||
D0005_linux_include.patch23840 + __u32 eir;
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h3376 MLXSW_ITEM32(reg, qpcr, eir, 0x10, 0, 32);