Home
last modified time | relevance | path

Searched refs:dcap (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/power/supply/
Dbq27xxx_battery.c1602 int dcap; local
1605 dcap = bq27xxx_read(di, BQ27XXX_REG_DCAP, true);
1607 dcap = bq27xxx_read(di, BQ27XXX_REG_DCAP, false);
1609 if (dcap < 0) {
1611 return dcap;
1615 dcap = (dcap << 8) * BQ27XXX_CURRENT_CONSTANT / BQ27XXX_RS;
1617 dcap *= 1000;
1619 return dcap;
/linux-6.1.9/drivers/gpu/drm/bridge/
Dsil-sii8620.c516 u8 dcap[MHL_DCAP_SIZE]; in sii8620_mr_devcap() local
519 sii8620_read_buf(ctx, REG_EDID_FIFO_RD_DATA, dcap, MHL_DCAP_SIZE); in sii8620_mr_devcap()
524 dcap[MHL_DCAP_MHL_VERSION] / 16, in sii8620_mr_devcap()
525 dcap[MHL_DCAP_MHL_VERSION] % 16, in sii8620_mr_devcap()
526 dcap[MHL_DCAP_ADOPTER_ID_H], dcap[MHL_DCAP_ADOPTER_ID_L], in sii8620_mr_devcap()
527 dcap[MHL_DCAP_DEVICE_ID_H], dcap[MHL_DCAP_DEVICE_ID_L]); in sii8620_mr_devcap()
528 sii8620_update_array(ctx->devcap, dcap, MHL_DCAP_SIZE); in sii8620_mr_devcap()