/openbmc/linux/drivers/media/platform/renesas/ |
H A D | rcar_drif.c | 27 * driver exposes the device as a V4L2 SDR device. In order to qualify as 28 * a V4L2 SDR device, it should possess a tuner interface as mandated by the 31 * a V4L2 compliant SDR device. The DRIF driver is independent of the 127 #define to_rcar_drif_buf_pair(sdr, ch_num, idx) \ argument 128 (&((sdr)->ch[!(ch_num)]->buf[(idx)])) 134 #define rdrif_dbg(sdr, fmt, arg...) \ argument 135 dev_dbg(sdr->v4l2_dev.dev, fmt, ## arg) 137 #define rdrif_err(sdr, fmt, arg...) \ argument 138 dev_err(sdr->v4l2_dev.dev, fmt, ## arg) 194 struct rcar_drif_sdr *sdr; /* Group device */ member [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_inband_sdr.robot | 2 Documentation Test IPMI Inband SDR commands. 4 ... 1. Get SDR, 5 ... 2. Get Device SDR Info, 6 ... 3. Reserve Device SDR Repository, 7 ... 4. Get Device SDR. 23 Verify Get SDR For Maximum Record Via IPMI 24 [Documentation] Verify Get SDR for each and every record one by one via IPMI lanplus. 27 # Gets the Total Record Count from SDR Info and the last Record entry number. 28 ${record_count} ${last_record}= Get Record Count And Last Record From SDR 37 # Get SDR command. [all …]
|
H A D | test_ipmi_sdr.robot | 21 Verify SDR Info 22 [Documentation] Verify sdr info command output. 24 # Example of SDR info command output: 25 # SDR Version : 0x51 30 # SDR overflow : no 31 # SDR Repository Update Support : unspecified 32 # Delete SDR supported : no 33 # Partial Add SDR supported : no 34 # Reserve SDR repository supported : no 35 # SDR Repository Alloc info supported : no [all …]
|
H A D | test_ipmi_sel_time.robot | 240 # Get Sensor ID from SDR Get "sensor". 241 ${sensor_data1}= Fetch Sensor Details From SDR ${sensor_name} Sensor ID 242 ${sensor_number}= Get Bytes From SDR Sensor ${sensor_data1} 244 # Get Sensor Type from SDR Get "sensor". 245 ${sensor_data2}= Fetch Sensor Details From SDR ${sensor_name} Sensor Type (Threshold) 246 ${sensor_type_id}= Get Bytes From SDR Sensor ${sensor_data2} 291 # Get Sensor ID from SDR Get "sensor". 292 ${sensor_data1}= Fetch Sensor Details From SDR ${sensor_name} Sensor ID 293 ${sensor_number}= Get Bytes From SDR Sensor ${sensor_data1} 295 # Get Sensor Type from SDR Get "sensor". [all …]
|
/openbmc/u-boot/arch/arm/mach-socfpga/include/mach/ |
H A D | sdram_gen5.h | 238 /* Register template: sdr::ctrlgrp::dramtiming1 */ 251 /* Register template: sdr::ctrlgrp::dramtiming2 */ 262 /* Register template: sdr::ctrlgrp::dramtiming3 */ 273 /* Register template: sdr::ctrlgrp::dramtiming4 */ 280 /* Register template: sdr::ctrlgrp::lowpwrtiming */ 285 /* Register template: sdr::ctrlgrp::dramaddrw */ 294 /* Register template: sdr::ctrlgrp::dramifwidth */ 297 /* Register template: sdr::ctrlgrp::dramdevwidth */ 300 /* Register template: sdr::ctrlgrp::dramintr */ 305 /* Register template: sdr::ctrlgrp::staticcfg */ [all …]
|
/openbmc/linux/Documentation/userspace-api/media/v4l/ |
H A D | sdr-formats.rst | 6 SDR Formats 9 These formats are used for :ref:`SDR <sdr>` interface only. 15 pixfmt-sdr-cu08 16 pixfmt-sdr-cu16le 17 pixfmt-sdr-cs08 18 pixfmt-sdr-cs14le 19 pixfmt-sdr-ru12le 20 pixfmt-sdr-pcu16be 21 pixfmt-sdr-pcu18be 22 pixfmt-sdr-pcu20be
|
H A D | dev-sdr.rst | 6 Software Defined Radio Interface (SDR) 9 SDR is an abbreviation of Software Defined Radio, the radio device which 13 SDR devices are accessed through character device special files named 21 Devices supporting the SDR receiver interface set the 27 element for the SDR receiver. 29 Devices supporting the SDR transmitter interface set the 35 element for the SDR transmitter. 44 SDR devices can support :ref:`controls <control>`, and must support 49 The ``V4L2_TUNER_SDR`` tuner type is used for setting SDR device ADC/DAC 52 follow the SDR tuner index. Normally the SDR tuner is #0 and the RF [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_sensor.c | 90 /* Update SDR copy with updated Reading Factors for this reading */ in ipmi_sensor_get_sensor_reading_factors() 92 * The Format of the returned data is exactly as in the SDR definition (Little Endian Format), in ipmi_sensor_get_sensor_reading_factors() 96 // BUGBUG: uses 'hardcoded' length information from SDR Definition in ipmi_sensor_get_sensor_reading_factors() 424 lprintf(LOG_DEBUG, "Querying SDR for sensor list"); in ipmi_sensor_list() 428 lprintf(LOG_ERR, "Unable to open SDR for reading"); in ipmi_sensor_list() 530 struct sdr_record_list *sdr; in ipmi_sensor_set_threshold() local 614 sdr = ipmi_sdr_find_sdr_byid(intf, id); in ipmi_sensor_set_threshold() 615 if (sdr == NULL) { in ipmi_sensor_set_threshold() 620 if (sdr->type != SDR_RECORD_TYPE_FULL_SENSOR) { in ipmi_sensor_set_threshold() 621 lprintf(LOG_ERR, "Invalid sensor type %02x", sdr->type); in ipmi_sensor_set_threshold() [all …]
|
H A D | ipmi_sdr.c | 578 "Intf my/%#x tgt/%#x:%#x Sdr tgt/%#x:%#x\n", in ipmi_sdr_get_sensor_reading_ipmb() 780 /* ipmi_sdr_get_header - retreive SDR record header 783 * @itr: sdr iterator 818 lprintf(LOG_ERR, "Get SDR %04x command failed", in ipmi_sdr_get_header() 823 lprintf(LOG_DEBUG, "SDR reservation %04x cancelled. " in ipmi_sdr_get_header() 832 "Unable to renew SDR reservation"); in ipmi_sdr_get_header() 836 lprintf(LOG_ERR, "Get SDR %04x command failed: %s", in ipmi_sdr_get_header() 851 lprintf(LOG_DEBUG, "SDR record ID : 0x%04x", itr->next); in ipmi_sdr_get_header() 856 lprintf(LOG_ERR, "SDR record id 0x%04x: invalid length %d", in ipmi_sdr_get_header() 862 * return a record id from the Get SDR Record command in ipmi_sdr_get_header() [all …]
|
H A D | ipmi_gendev.c | 345 /* ipmi_gendev_write_file - Read raw SDR from binary file 558 "SDR Commands: list read write"); in ipmi_gendev_main() 562 …" read <sdr name> <file> Read to file eeprom specify by Generic Device Locat… in ipmi_gendev_main() 564 …" write <sdr name> <file> Write from file eeprom specify by Generic Device Lo… in ipmi_gendev_main() 577 struct sdr_record_list *sdr; in ipmi_gendev_main() local 579 lprintf(LOG_ERR, "Gendev read sdr name : %s", argv[1]); in ipmi_gendev_main() 584 sdr = ipmi_sdr_find_sdr_byid(intf, argv[1]); in ipmi_gendev_main() 585 if (sdr == NULL) in ipmi_gendev_main() 591 if (sdr->type != SDR_RECORD_TYPE_GENERIC_DEVICE_LOCATOR) in ipmi_gendev_main() 593 lprintf(LOG_ERR, "Target SDR is not a generic device locator"); in ipmi_gendev_main() [all …]
|
H A D | ipmi_sdradd.c | 32 * Functions to program the SDR repository, from built-in sensors or 61 uint8_t offset; /* offset into SDR */ 65 uint8_t data[1]; /* SDR record data */ 105 /* actually no SDR to program */ in ipmi_sdr_add_record() 148 /* sdr entry */ in ipmi_sdr_add_record() 234 * Fill the SDR repository from built-in sensors 239 * Get all the SDR records stored in <queue> 300 /* write the SDRs to the destination SDR Repository */ in sdr_copy_to_sdrr() 306 lprintf(LOG_ERR, "Cannot add SDR ID 0x%04x to repository...", sdrr->id); in sdr_copy_to_sdrr() 540 printf("Clearing SDR Repository\n"); in ipmi_sdr_add_from_list() [all …]
|
/openbmc/dbus-sensors/src/ipmb/ |
H A D | IpmbSDRSensor.cpp | 38 std::cerr << "Error reading from IPMB SDR for host " << hostIndex in validateStatus() 45 /* This function will store the record count of the SDR sensors for each IPMB 72 << " IPMB Get SDR Repository Info data is empty for host " in getSDRRepositoryInfo() 86 sdr::netfnStorageReq, lun, sdr::cmdStorageGetSdrInfo, sdrCommandData); in getSDRRepositoryInfo() 115 << " IPMB SDR Reserve Repository data is empty for host " in reserveSDRRepository() 125 sdr::netfnStorageReq, lun, sdr::cmdStorageReserveSdr, sdrCommandData); in reserveSDRRepository() 129 * such as name, threshold value, unit, device address, SDR type */ 135 uint8_t loopCount = sdr::perCountByte * iCnt; in getSDRSensorData() 138 loopCount, sdr::perCountByte}; in getSDRSensorData() 160 std::cerr << "IPMB SDR sensor data is empty for host " in getSDRSensorData() [all …]
|
/openbmc/docs/designs/ |
H A D | gpio-based-cable-presence.md | 14 less SDR IDs. 69 On the IPMI sIDe, the presence states will be grouped into fewer SDR IDs in 70 order to save SDR IDs for ipmi. Given the following example, 82 together. The grouping handler first removes all the trailing index from the SDR 83 name. In this case, the SDR name is cable0 and cable1. After that, both cable0 86 new SDR name is cable[0-1]. The SDR name implies that this SDR has the presence 89 states, the group handler will automatically jump to use a new SDR. For example, 92 it will take one SDR ID. 95 ipmitool sdr list event 106 try to group it with anything and use 1 SDR ID for its presence state. See the [all …]
|
/openbmc/linux/drivers/mtd/nand/raw/ |
H A D | nand_toshiba.c | 35 const struct nand_sdr_timings *sdr = in toshiba_nand_benand_read_eccstatus_op() local 39 PSEC_TO_NSEC(sdr->tADL_min)), in toshiba_nand_benand_read_eccstatus_op() 223 struct nand_sdr_timings *sdr = &iface->timings.sdr; in th58nvg2s3hbai4_choose_interface_config() local 229 sdr->tALS_min = 12000; in th58nvg2s3hbai4_choose_interface_config() 230 sdr->tCHZ_max = 20000; in th58nvg2s3hbai4_choose_interface_config() 231 sdr->tCLS_min = 12000; in th58nvg2s3hbai4_choose_interface_config() 232 sdr->tCOH_min = 0; in th58nvg2s3hbai4_choose_interface_config() 233 sdr->tDS_min = 12000; in th58nvg2s3hbai4_choose_interface_config() 234 sdr->tRHOH_min = 25000; in th58nvg2s3hbai4_choose_interface_config() 235 sdr->tRHW_min = 30000; in th58nvg2s3hbai4_choose_interface_config() [all …]
|
/openbmc/openbmc-test-automation/openpower/ipmi/ |
H A D | test_ipmi_sdr.robot | 19 Test Turbo Allowed SDR Info 20 [Documentation] Verify turbo allowed SDR info via IPMI and Redfish. 27 ${state_ipmi}= Get SDR Presence Via IPMI turbo_allowed${SPACE} 60 Get SDR Presence Via IPMI 67 # Example of IPMI SDR elist output. 85 ${sdr_elist_output}= Run IPMI Standard Command sdr elist 95 Get SDR Record ID 96 [Documentation] Fetch one record ID from SDR elist IPMI cmd response. 98 ${resp}= Run External IPMI Standard Command sdr elist 110 ${record_id}= Get SDR Record ID
|
/openbmc/qemu/hw/ipmi/ |
H A D | ipmi_bmc_sim.c | 125 uint8_t sdr[MAX_SDR_SIZE]; member 213 IPMISdr sdr; member 316 static void sdr_inc_reservation(IPMISdr *sdr) in sdr_inc_reservation() argument 318 sdr->reservation++; in sdr_inc_reservation() 319 if (sdr->reservation == 0) { in sdr_inc_reservation() 320 sdr->reservation = 1; in sdr_inc_reservation() 329 (struct ipmi_sdr_header *) &ibs->sdr.sdr[ibs->sdr.next_free]; in sdr_add_entry() 339 if (ibs->sdr.next_free + len > MAX_SDR_SIZE) { in sdr_add_entry() 340 ibs->sdr.overflow = 1; in sdr_add_entry() 345 sdrh->rec_id[0] = ibs->sdr.next_rec_id & 0xff; in sdr_add_entry() [all …]
|
/openbmc/ipmitool/control/ |
H A D | ipmitool.spec.in | 21 It provides commands for reading the Sensor Data Repository (SDR) and 72 - Generic device support added for EEPROM with SDR Type 10h (gendev) 101 - Fix endian bug in SDR add from file; Tracker bug #2075258 103 getting an SDR; improve algorithm for optimal packet size 104 - Fix occasional SDR dump segfault; #1793076 117 - Fix for sdr and sel timestamp reporting issues 123 - Fix bug in sdr free space reporting 160 - Add SDR support for adding SDR records from a dumped file, clearing SDR, 161 adding partial SDR records 282 - Add support for new 'sdr elist' extended output format. [all …]
|
/openbmc/linux/arch/arm/mach-socfpga/ |
H A D | self-refresh.S | 27 * sdr.ctrlcfg.lowpwreq.selfrfshmask 28 * sdr.ctrlcfg.lowpwrtiming.clkdisablecycles 29 * sdr.ctrlcfg.dramtiming4.selfrfshexit 53 /* Enable self refresh: set sdr.ctrlgrp.lowpwreq.selfrshreq = 1 */ 58 /* Poll until sdr.ctrlgrp.lowpwrack.selfrfshack == 1 or hit max loops */ 89 /* Disable self-refresh: set sdr.ctrlgrp.lowpwreq.selfrshreq = 0 */ 94 /* Poll until sdr.ctrlgrp.lowpwrack.selfrfshack == 0 or hit max loops */
|
/openbmc/linux/Documentation/devicetree/bindings/arm/altera/ |
H A D | socfpga-sdram-controller.txt | 4 - compatible : Should contain "altr,sdr-ctl" and "syscon". 9 sdr: sdr@ffc25000 { 10 compatible = "altr,sdr-ctl", "syscon";
|
H A D | socfpga-sdram-edac.txt | 6 - altr,sdr-syscon : phandle of the sdr module 13 altr,sdr-syscon = <&sdr>;
|
/openbmc/ipmitool/ |
H A D | ChangeLog | 41 * ID: 279 - ipmitool sdr list broken 96 * ID: 3595199 - ipmi_sdr - Add support for 'ipmitool sdr <list|elist> help' 97 * ID: 3592773 - 'ipmitool sdr info'; prints incorrect info 98 * ID: 3592770 - 'ipmitool sdr list|elist INV_INPUT' return code 233 * Fixes ID 3421347 Sensor list command should use channel field from SDR 235 otherwise the sdr structures gets padded and the pointer cast 237 * Added 'sdr fill sensors nosats' support to speed up SDR discovery 238 * Added SDR name display during discovery (with -v) 305 * Add option to provide a list when filling sdr repository 306 * SDR discovery speedups [all …]
|
/openbmc/openbmc-test-automation/lib/ |
H A D | ipmi_utils.py | 319 Get IPMI sdr info data and return it as a dictionary. 321 The data is obtained by issuing the IPMI "sdr info" command. An 324 SDR Version : 0x51 329 SDR overflow : no 330 SDR Repository Update Support : unspecified 331 Delete SDR supported : no 332 Partial Add SDR supported : no 333 Reserve SDR repository supported : no 334 SDR Repository Alloc info supported : no 352 status, ret_values = grk.run_key_u("Run IPMI Standard Command sdr info") [all …]
|
/openbmc/phosphor-host-ipmid/dbus-sdr/ |
H A D | meson.build | 22 sensorsoem_src = ['dbus-sdr/sensorcommands_oem.cpp'] 36 'dbus-sdr/sdrutils.cpp', 37 'dbus-sdr/sensorcommands.cpp', 38 'dbus-sdr/storagecommands.cpp',
|
/openbmc/linux/drivers/media/test-drivers/vivid/ |
H A D | vivid-sdr-cap.c | 3 * vivid-sdr-cap.c - software defined radio support functions. 24 #include "vivid-sdr-cap.h" 89 dprintk(dev, 1, "SDR Capture Thread Tick\n"); in vivid_thread_sdr_cap_tick() 129 dprintk(dev, 1, "SDR Capture Thread Start\n"); in vivid_thread_sdr_cap() 213 dprintk(dev, 1, "SDR Capture Thread End\n"); in vivid_thread_sdr_cap() 277 "%s-sdr-cap", dev->v4l2_dev.name); in sdr_cap_start_streaming() 461 f->fmt.sdr.pixelformat = dev->sdr_pixelformat; in vidioc_g_fmt_sdr_cap() 462 f->fmt.sdr.buffersize = dev->sdr_buffersize; in vidioc_g_fmt_sdr_cap() 476 if (formats[i].pixelformat == f->fmt.sdr.pixelformat) { in vidioc_s_fmt_sdr_cap() 479 f->fmt.sdr.buffersize = formats[i].buffersize; in vidioc_s_fmt_sdr_cap() [all …]
|
/openbmc/qemu/hw/ppc/ |
H A D | pnv_bmc.c | 83 const struct ipmi_sdr_compact *sdr; in pnv_dt_bmc_sensors() local 100 for (i = 0; !ipmi_bmc_sdr_find(bmc, i, &sdr, &nextrec); i++) { in pnv_dt_bmc_sensors() 104 if (sdr->header.rec_type != IPMI_SDR_COMPACT_TYPE && in pnv_dt_bmc_sensors() 105 sdr->header.rec_type != IPMI_SDR_FULL_TYPE) { in pnv_dt_bmc_sensors() 109 name = g_strdup_printf("sensor@%x", sdr->sensor_owner_number); in pnv_dt_bmc_sensors() 114 _FDT((fdt_setprop_cell(fdt, off, "reg", sdr->sensor_owner_number))); in pnv_dt_bmc_sensors() 118 sdr->reading_type))); in pnv_dt_bmc_sensors() 120 sdr->entity_id))); in pnv_dt_bmc_sensors() 122 sdr->entity_instance))); in pnv_dt_bmc_sensors() 124 sdr->sensor_type))); in pnv_dt_bmc_sensors()
|