Searched refs:flt (Results 1 – 5 of 5) sorted by relevance
/drivers/power/supply/ |
D | max8903_charger.c | 171 fault = gpio_get_value(pdata->flt) ? false : true; in max8903_fault() 209 pdata->flt = of_get_named_gpio(np, "flt-gpios", 0); in max8903_parse_dt_data() 210 if (!gpio_is_valid(pdata->flt)) in max8903_parse_dt_data() 211 pdata->flt = -EINVAL; in max8903_parse_dt_data() 320 if (gpio_is_valid(pdata->flt)) { in max8903_setup_gpios() 321 ret = devm_gpio_request(dev, pdata->flt, data->psy_desc.name); in max8903_setup_gpios() 325 pdata->flt, ret); in max8903_setup_gpios() 424 if (gpio_is_valid(pdata->flt)) { in max8903_probe() 425 ret = devm_request_threaded_irq(dev, gpio_to_irq(pdata->flt), in max8903_probe() 432 gpio_to_irq(pdata->flt), ret); in max8903_probe()
|
/drivers/scsi/qla2xxx/ |
D | qla_sup.c | 671 struct qla_flt_header *flt; in qla2xxx_get_flt_info() local 690 flt = (struct qla_flt_header *)req->ring; in qla2xxx_get_flt_info() 691 region = (struct qla_flt_region *)&flt[1]; in qla2xxx_get_flt_info() 696 if (flt->version != cpu_to_le16(1)) { in qla2xxx_get_flt_info() 699 le16_to_cpu(flt->version), le16_to_cpu(flt->length), in qla2xxx_get_flt_info() 700 le16_to_cpu(flt->checksum)); in qla2xxx_get_flt_info() 704 cnt = (sizeof(struct qla_flt_header) + le16_to_cpu(flt->length)) >> 1; in qla2xxx_get_flt_info() 710 le16_to_cpu(flt->version), le16_to_cpu(flt->length), in qla2xxx_get_flt_info() 711 le16_to_cpu(flt->checksum)); in qla2xxx_get_flt_info() 716 cnt = le16_to_cpu(flt->length) / sizeof(struct qla_flt_region); in qla2xxx_get_flt_info()
|
/drivers/misc/cxl/ |
D | fault.c | 137 unsigned flt = 0; in cxl_handle_page_fault() local 143 if ((result = copro_handle_mm_fault(mm, dar, dsisr, &flt))) { in cxl_handle_page_fault()
|
/drivers/net/can/ |
D | flexcan.c | 589 int flt; in flexcan_poll_state() local 592 flt = reg_esr & FLEXCAN_ESR_FLT_CONF_MASK; in flexcan_poll_state() 593 if (likely(flt == FLEXCAN_ESR_FLT_CONF_ACTIVE)) { in flexcan_poll_state() 601 new_state = flt == FLEXCAN_ESR_FLT_CONF_PASSIVE ? in flexcan_poll_state()
|
/drivers/scsi/qla4xxx/ |
D | ql4_nx.c | 3724 struct qla_flt_header *flt; in qla4_8xxx_get_flt_info() local 3730 flt = (struct qla_flt_header *)ha->request_ring; in qla4_8xxx_get_flt_info() 3731 region = (struct qla_flt_region *)&flt[1]; in qla4_8xxx_get_flt_info() 3746 if (flt->version != __constant_cpu_to_le16(1)) { in qla4_8xxx_get_flt_info() 3749 le16_to_cpu(flt->version), le16_to_cpu(flt->length), in qla4_8xxx_get_flt_info() 3750 le16_to_cpu(flt->checksum))); in qla4_8xxx_get_flt_info() 3754 cnt = (sizeof(struct qla_flt_header) + le16_to_cpu(flt->length)) >> 1; in qla4_8xxx_get_flt_info() 3760 le16_to_cpu(flt->version), le16_to_cpu(flt->length), in qla4_8xxx_get_flt_info() 3766 cnt = le16_to_cpu(flt->length) / sizeof(struct qla_flt_region); in qla4_8xxx_get_flt_info()
|