Home
last modified time | relevance | path

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

/linux-6.1.9/net/bluetooth/
Deir.h16 u8 eir_append_local_name(struct hci_dev *hdev, u8 *eir, u8 ad_len);
18 u8 eir_append_service_data(u8 *eir, u16 eir_len, u16 uuid, u8 *data,
26 static inline u16 eir_append_data(u8 *eir, u16 eir_len, u8 type, in eir_append_data() argument
29 eir[eir_len++] = sizeof(type) + data_len; in eir_append_data()
30 eir[eir_len++] = type; in eir_append_data()
31 memcpy(&eir[eir_len], data, data_len); in eir_append_data()
37 static inline u16 eir_append_le16(u8 *eir, u16 eir_len, u8 type, u16 data) in eir_append_le16() argument
39 eir[eir_len++] = sizeof(type) + sizeof(data); in eir_append_le16()
40 eir[eir_len++] = type; in eir_append_le16()
41 put_unaligned_le16(data, &eir[eir_len]); in eir_append_le16()
[all …]
Deir.c16 static u8 eir_append_name(u8 *eir, u16 eir_len, u8 type, u8 *data, u8 data_len) in eir_append_name() argument
22 return eir_append_data(eir, eir_len, type, data, data_len); in eir_append_name()
27 return eir_append_data(eir, eir_len, type, name, sizeof(name)); in eir_append_name()
69 u8 eir_append_service_data(u8 *eir, u16 eir_len, u16 uuid, u8 *data, in eir_append_service_data() argument
72 eir[eir_len++] = sizeof(u8) + sizeof(uuid) + data_len; in eir_append_service_data()
73 eir[eir_len++] = EIR_SERVICE_DATA; in eir_append_service_data()
74 put_unaligned_le16(uuid, &eir[eir_len]); in eir_append_service_data()
76 memcpy(&eir[eir_len], data, data_len); in eir_append_service_data()
382 void *eir_get_service_data(u8 *eir, size_t eir_len, u16 uuid, size_t *len) in eir_get_service_data() argument
384 while ((eir = eir_get_data(eir, eir_len, EIR_SERVICE_DATA, len))) { in eir_get_service_data()
[all …]
DMakefile18 eir.o hci_sync.o
Dmgmt.c1164 static u16 append_eir_data_to_buf(struct hci_dev *hdev, u8 *eir) in append_eir_data_to_buf() argument
1170 eir_len = eir_append_data(eir, eir_len, EIR_CLASS_OF_DEV, in append_eir_data_to_buf()
1174 eir_len = eir_append_le16(eir, eir_len, EIR_APPEARANCE, in append_eir_data_to_buf()
1178 eir_len = eir_append_data(eir, eir_len, EIR_NAME_COMPLETE, in append_eir_data_to_buf()
1182 eir_len = eir_append_data(eir, eir_len, EIR_NAME_SHORT, in append_eir_data_to_buf()
1210 eir_len = append_eir_data_to_buf(hdev, rp->eir); in read_ext_controller_info()
1236 eir_len = append_eir_data_to_buf(hdev, ev->eir); in ext_info_changed()
8141 eir_len = eir_append_data(mgmt_rp->eir, 0, EIR_CLASS_OF_DEV, in read_local_oob_ext_data_complete()
8145 eir_len = eir_append_data(mgmt_rp->eir, eir_len, in read_local_oob_ext_data_complete()
8147 eir_len = eir_append_data(mgmt_rp->eir, eir_len, in read_local_oob_ext_data_complete()
[all …]
Dhci_sync.c732 if (memcmp(cp.data, hdev->eir, sizeof(cp.data)) == 0) in hci_update_eir_sync()
735 memcpy(hdev->eir, cp.data, sizeof(cp.data)); in hci_update_eir_sync()
3481 memset(hdev->eir, 0, sizeof(hdev->eir)); in hci_write_eir_sync()
4885 memset(hdev->eir, 0, sizeof(hdev->eir)); in hci_dev_close_sync()
Dhci_event.c5061 static inline size_t eir_get_length(u8 *eir, size_t eir_len) in eir_get_length() argument
5066 u8 field_len = eir[0]; in eir_get_length()
5072 eir += field_len + 1; in eir_get_length()
/linux-6.1.9/include/net/bluetooth/
Dmgmt.h525 __u8 eir[]; member
619 __u8 eir[]; member
929 __u8 eir[]; member
987 __u8 eir[]; member
1082 __u8 eir[]; member
1098 __u8 eir[]; member
1151 __u8 eir[]; member
1167 __u8 eir[]; member
Dhci_core.h364 __u8 eir[HCI_MAX_EIR_LENGTH]; member
2067 u8 *eir, u16 eir_len, u8 *scan_rsp, u8 scan_rsp_len,
/linux-6.1.9/drivers/net/ethernet/microchip/
Dencx24j600.c404 int eir; in encx24j600_isr() local
409 eir = encx24j600_read_reg(priv, EIR); in encx24j600_isr()
411 if (eir & LINKIF) in encx24j600_isr()
414 if (eir & TXIF) in encx24j600_isr()
417 if (eir & TXABTIF) in encx24j600_isr()
420 if (eir & RXABTIF) { in encx24j600_isr()
421 if (eir & PCFULIF) { in encx24j600_isr()
429 if (eir & PKTIF) { in encx24j600_isr()
/linux-6.1.9/drivers/gpu/drm/i915/
Di915_irq.c3971 u16 *eir, u16 *eir_stuck) in i8xx_error_irq_ack() argument
3976 *eir = intel_uncore_read16(uncore, EIR); in i8xx_error_irq_ack()
3978 if (*eir) in i8xx_error_irq_ack()
3979 intel_uncore_write16(uncore, EIR, *eir); in i8xx_error_irq_ack()
4001 u16 eir, u16 eir_stuck) in i8xx_error_irq_handler() argument
4003 DRM_DEBUG("Master Error: EIR 0x%04x\n", eir); in i8xx_error_irq_handler()
4011 u32 *eir, u32 *eir_stuck) in i9xx_error_irq_ack() argument
4015 *eir = intel_uncore_read(&dev_priv->uncore, EIR); in i9xx_error_irq_ack()
4017 intel_uncore_write(&dev_priv->uncore, EIR, *eir); in i9xx_error_irq_ack()
4039 u32 eir, u32 eir_stuck) in i9xx_error_irq_handler() argument
[all …]
Di915_gpu_error.h145 u32 eir; member
Di915_gpu_error.c741 err_printf(m, "EIR: 0x%08x\n", gt->eir); in err_print_gt_global_nonguc()
1793 gt->eir = intel_uncore_read(uncore, EIR); in gt_record_global_nonguc_regs()
/linux-6.1.9/drivers/gpu/drm/i915/gt/
Dintel_gt.c238 u32 eir; in intel_gt_clear_error_registers() local
249 eir = intel_uncore_read(uncore, EIR); in intel_gt_clear_error_registers()
250 if (eir) { in intel_gt_clear_error_registers()
255 DRM_DEBUG_DRIVER("EIR stuck: 0x%08x, masking\n", eir); in intel_gt_clear_error_registers()
256 rmw_set(uncore, EMR, eir); in intel_gt_clear_error_registers()
Dintel_execlists_submission.c2484 u32 eir; in execlists_irq_handler() local
2487 eir = ENGINE_READ(engine, RING_EIR) & GENMASK(15, 0); in execlists_irq_handler()
2488 ENGINE_TRACE(engine, "CS error: %x\n", eir); in execlists_irq_handler()
2491 if (likely(eir)) { in execlists_irq_handler()
2493 ENGINE_WRITE(engine, RING_EIR, eir); in execlists_irq_handler()
2494 WRITE_ONCE(engine->execlists.error_interrupt, eir); in execlists_irq_handler()
/linux-6.1.9/drivers/net/ethernet/freescale/enetc/
Denetc_hw.h903 __le32 eir; member
Denetc_qos.c830 fmi_config->eir = 0; in enetc_flowmeter_hw_set()
/linux-6.1.9/drivers/net/ethernet/mellanox/mlxsw/
Dreg.h3802 MLXSW_ITEM32(reg, qpcr, eir, 0x10, 0, 32);