defs 443 drivers/gpu/drm/i915/display/intel_bios.c child_device_ptr(const struct bdb_general_definitions *defs, int i) defs 445 drivers/gpu/drm/i915/display/intel_bios.c return (const void *) &defs->devices[i * defs->child_dev_size]; defs 1593 drivers/gpu/drm/i915/display/intel_bios.c const struct bdb_general_definitions *defs; defs 1600 drivers/gpu/drm/i915/display/intel_bios.c defs = find_section(bdb, BDB_GENERAL_DEFINITIONS); defs 1601 drivers/gpu/drm/i915/display/intel_bios.c if (!defs) { defs 1606 drivers/gpu/drm/i915/display/intel_bios.c block_size = get_blocksize(defs); defs 1607 drivers/gpu/drm/i915/display/intel_bios.c if (block_size < sizeof(*defs)) { defs 1613 drivers/gpu/drm/i915/display/intel_bios.c bus_pin = defs->crt_ddc_gmbus_pin; defs 1638 drivers/gpu/drm/i915/display/intel_bios.c if (defs->child_dev_size != expected_size) defs 1640 drivers/gpu/drm/i915/display/intel_bios.c defs->child_dev_size, expected_size, bdb->version); defs 1643 drivers/gpu/drm/i915/display/intel_bios.c if (defs->child_dev_size < LEGACY_CHILD_DEVICE_CONFIG_SIZE) { defs 1645 drivers/gpu/drm/i915/display/intel_bios.c defs->child_dev_size); defs 1650 drivers/gpu/drm/i915/display/intel_bios.c child_device_num = (block_size - sizeof(*defs)) / defs->child_dev_size; defs 1654 drivers/gpu/drm/i915/display/intel_bios.c child = child_device_ptr(defs, i); defs 1672 drivers/gpu/drm/i915/display/intel_bios.c child = child_device_ptr(defs, i); defs 1685 drivers/gpu/drm/i915/display/intel_bios.c min_t(size_t, defs->child_dev_size, sizeof(*child))); defs 38 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c u8 defs = !!(data & 0x00000080); defs 47 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/gf119.c nvkm_gpio_set(gpio, 0, func, line, defs); defs 40 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c u8 defs = !!(data & 0x01000000); defs 51 drivers/gpu/drm/nouveau/nvkm/subdev/gpio/nv50.c nvkm_gpio_set(gpio, 0, func, line, defs); defs 335 drivers/net/wireless/marvell/libertas/mesh.c struct mrvl_mesh_defaults *defs) defs 348 drivers/net/wireless/marvell/libertas/mesh.c memcpy(defs, &cmd.data[0], sizeof(struct mrvl_mesh_defaults)); defs 362 drivers/net/wireless/marvell/libertas/mesh.c struct mrvl_mesh_defaults defs; defs 365 drivers/net/wireless/marvell/libertas/mesh.c ret = mesh_get_default_parameters(dev, &defs); defs 370 drivers/net/wireless/marvell/libertas/mesh.c return snprintf(buf, 12, "%d\n", le32_to_cpu(defs.bootflag)); defs 412 drivers/net/wireless/marvell/libertas/mesh.c struct mrvl_mesh_defaults defs; defs 415 drivers/net/wireless/marvell/libertas/mesh.c ret = mesh_get_default_parameters(dev, &defs); defs 420 drivers/net/wireless/marvell/libertas/mesh.c return snprintf(buf, 12, "%d\n", defs.boottime); defs 471 drivers/net/wireless/marvell/libertas/mesh.c struct mrvl_mesh_defaults defs; defs 474 drivers/net/wireless/marvell/libertas/mesh.c ret = mesh_get_default_parameters(dev, &defs); defs 479 drivers/net/wireless/marvell/libertas/mesh.c return snprintf(buf, 12, "%d\n", le16_to_cpu(defs.channel)); defs 521 drivers/net/wireless/marvell/libertas/mesh.c struct mrvl_mesh_defaults defs; defs 524 drivers/net/wireless/marvell/libertas/mesh.c ret = mesh_get_default_parameters(dev, &defs); defs 529 drivers/net/wireless/marvell/libertas/mesh.c if (defs.meshie.val.mesh_id_len > IEEE80211_MAX_SSID_LEN) { defs 531 drivers/net/wireless/marvell/libertas/mesh.c defs.meshie.val.mesh_id_len = IEEE80211_MAX_SSID_LEN; defs 534 drivers/net/wireless/marvell/libertas/mesh.c memcpy(buf, defs.meshie.val.mesh_id, defs.meshie.val.mesh_id_len); defs 535 drivers/net/wireless/marvell/libertas/mesh.c buf[defs.meshie.val.mesh_id_len] = '\n'; defs 536 drivers/net/wireless/marvell/libertas/mesh.c buf[defs.meshie.val.mesh_id_len + 1] = '\0'; defs 538 drivers/net/wireless/marvell/libertas/mesh.c return defs.meshie.val.mesh_id_len + 1; defs 552 drivers/net/wireless/marvell/libertas/mesh.c struct mrvl_mesh_defaults defs; defs 565 drivers/net/wireless/marvell/libertas/mesh.c ret = mesh_get_default_parameters(dev, &defs); defs 570 drivers/net/wireless/marvell/libertas/mesh.c memcpy(ie, &defs.meshie, sizeof(struct mrvl_meshie)); defs 596 drivers/net/wireless/marvell/libertas/mesh.c struct mrvl_mesh_defaults defs; defs 599 drivers/net/wireless/marvell/libertas/mesh.c ret = mesh_get_default_parameters(dev, &defs); defs 604 drivers/net/wireless/marvell/libertas/mesh.c return snprintf(buf, 5, "%d\n", defs.meshie.val.active_protocol_id); defs 618 drivers/net/wireless/marvell/libertas/mesh.c struct mrvl_mesh_defaults defs; defs 630 drivers/net/wireless/marvell/libertas/mesh.c ret = mesh_get_default_parameters(dev, &defs); defs 636 drivers/net/wireless/marvell/libertas/mesh.c memcpy(ie, &defs.meshie, sizeof(struct mrvl_meshie)); defs 657 drivers/net/wireless/marvell/libertas/mesh.c struct mrvl_mesh_defaults defs; defs 660 drivers/net/wireless/marvell/libertas/mesh.c ret = mesh_get_default_parameters(dev, &defs); defs 665 drivers/net/wireless/marvell/libertas/mesh.c return snprintf(buf, 5, "%d\n", defs.meshie.val.active_metric_id); defs 679 drivers/net/wireless/marvell/libertas/mesh.c struct mrvl_mesh_defaults defs; defs 691 drivers/net/wireless/marvell/libertas/mesh.c ret = mesh_get_default_parameters(dev, &defs); defs 697 drivers/net/wireless/marvell/libertas/mesh.c memcpy(ie, &defs.meshie, sizeof(struct mrvl_meshie)); defs 718 drivers/net/wireless/marvell/libertas/mesh.c struct mrvl_mesh_defaults defs; defs 721 drivers/net/wireless/marvell/libertas/mesh.c ret = mesh_get_default_parameters(dev, &defs); defs 726 drivers/net/wireless/marvell/libertas/mesh.c return snprintf(buf, 5, "%d\n", defs.meshie.val.mesh_capability); defs 740 drivers/net/wireless/marvell/libertas/mesh.c struct mrvl_mesh_defaults defs; defs 752 drivers/net/wireless/marvell/libertas/mesh.c ret = mesh_get_default_parameters(dev, &defs); defs 758 drivers/net/wireless/marvell/libertas/mesh.c memcpy(ie, &defs.meshie, sizeof(struct mrvl_meshie));