/linux-master/drivers/watchdog/ |
H A D | xen_wdt.c | 52 if (!wdt.id) 57 wdt.id = err; 71 if (wdt.id) 74 wdt.id = 0; 85 if (wdt.id) 122 struct sched_watchdog wd = { .id = ~0 }; 152 typeof(wdt.id) id = wdt.id; 155 wdt.id [all...] |
/linux-master/drivers/gpu/drm/amd/display/dc/bios/dce112/ |
H A D | command_table_helper_dce112.c | 95 enum clock_source_id id) 99 switch (id) { 120 static uint8_t hpd_sel_to_atom(enum hpd_source_id id) argument 124 switch (id) { 151 static uint8_t dig_encoder_sel_to_atom(enum engine_id id) argument 162 enum clock_source_id id, 168 switch (id) { 212 static bool engine_bp_to_atom(enum engine_id id, uint32_t *atom_engine_id) argument 217 switch (id) { 306 enum bp_dce_clock_type id, 94 clock_source_id_to_atom_phy_clk_src_id( enum clock_source_id id) argument 161 clock_source_id_to_atom( enum clock_source_id id, uint32_t *atom_pll_id) argument 305 dc_clock_type_to_atom( enum bp_dce_clock_type id, uint32_t *atom_clock_type) argument 330 transmitter_color_depth_to_atom(enum transmitter_color_depth id) argument [all...] |
H A D | command_table_helper2_dce112.c | 95 enum clock_source_id id) 99 switch (id) { 120 static uint8_t hpd_sel_to_atom(enum hpd_source_id id) argument 124 switch (id) { 151 static uint8_t dig_encoder_sel_to_atom(enum engine_id id) argument 162 enum clock_source_id id, 168 switch (id) { 212 static bool engine_bp_to_atom(enum engine_id id, uint32_t *atom_engine_id) argument 217 switch (id) { 306 enum bp_dce_clock_type id, 94 clock_source_id_to_atom_phy_clk_src_id( enum clock_source_id id) argument 161 clock_source_id_to_atom( enum clock_source_id id, uint32_t *atom_pll_id) argument 305 dc_clock_type_to_atom( enum bp_dce_clock_type id, uint32_t *atom_clock_type) argument 330 transmitter_color_depth_to_atom(enum transmitter_color_depth id) argument [all...] |
/linux-master/drivers/phy/broadcom/ |
H A D | phy-bcm-cygnus-pcie.c | 26 * @id: internal ID to identify the Cygnus PCIe PHY 31 enum cygnus_pcie_phy_id id; member in struct:cygnus_pcie_phy 57 switch (phy->id) { 68 dev_err(core->dev, "PCIe PHY %d invalid\n", phy->id); 88 dev_dbg(core->dev, "PCIe PHY %d %s\n", phy->id, 140 unsigned int id; local 143 if (of_property_read_u32(child, "reg", &id)) { 150 if (id >= MAX_NUM_PHYS) { 151 dev_err(dev, "invalid PHY id: %u\n", id); [all...] |
/linux-master/drivers/i3c/ |
H A D | device.c | 223 const struct i3c_device_id *id; local 234 for (id = id_table; id->match_flags != 0; id++) { 235 if ((id->match_flags & I3C_MATCH_DCR) && 236 id->dcr != devinfo.dcr) 239 if ((id->match_flags & I3C_MATCH_MANUF) && 240 id->manuf_id != manuf) 243 if ((id->match_flags & I3C_MATCH_PART) && 244 (rndpid || id [all...] |
/linux-master/drivers/reset/starfive/ |
H A D | reset-starfive-jh71x0.c | 33 unsigned long id, bool assert) 36 unsigned long offset = id / 32; 37 u32 mask = BIT(id % 32); 65 unsigned long id) 67 return jh71x0_reset_update(rcdev, id, true); 71 unsigned long id) 73 return jh71x0_reset_update(rcdev, id, false); 77 unsigned long id) 81 ret = jh71x0_reset_assert(rcdev, id); 85 return jh71x0_reset_deassert(rcdev, id); 32 jh71x0_reset_update(struct reset_controller_dev *rcdev, unsigned long id, bool assert) argument 64 jh71x0_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) argument 70 jh71x0_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) argument 76 jh71x0_reset_reset(struct reset_controller_dev *rcdev, unsigned long id) argument 88 jh71x0_reset_status(struct reset_controller_dev *rcdev, unsigned long id) argument [all...] |
/linux-master/drivers/mtd/spi-nor/ |
H A D | issi.c | 63 .id = SNOR_ID(0x7f, 0x9d, 0x20), 69 .id = SNOR_ID(0x7f, 0x9d, 0x46), 74 .id = SNOR_ID(0x9d, 0x40, 0x13), 79 .id = SNOR_ID(0x9d, 0x60, 0x14), 84 .id = SNOR_ID(0x9d, 0x60, 0x15), 89 .id = SNOR_ID(0x9d, 0x60, 0x16), 94 .id = SNOR_ID(0x9d, 0x60, 0x17), 99 .id = SNOR_ID(0x9d, 0x60, 0x18), 104 .id = SNOR_ID(0x9d, 0x60, 0x19), 109 .id [all...] |
/linux-master/drivers/net/phy/ |
H A D | sfp-bus.c | 38 * @id: a pointer to the module's &struct sfp_eeprom_id 42 * Parse the EEPROM identification given in @id, and return one of 49 int sfp_parse_port(struct sfp_bus *bus, const struct sfp_eeprom_id *id, argument 55 switch (id->base.connector) { 76 if (id->base.e1000_base_t) { 88 dev_warn(bus->sfp_dev, "SFP: unknown connector id 0x%02x\n", 89 id->base.connector); 113 * @id: a pointer to the module's &struct sfp_eeprom_id 115 * Parse the EEPROM identification given in @id, and return whether 118 bool sfp_may_have_phy(struct sfp_bus *bus, const struct sfp_eeprom_id *id) argument 148 sfp_parse_support(struct sfp_bus *bus, const struct sfp_eeprom_id *id, unsigned long *support, unsigned long *interfaces) argument 768 sfp_module_insert(struct sfp_bus *bus, const struct sfp_eeprom_id *id, const struct sfp_quirk *quirk) argument [all...] |
/linux-master/net/sched/ |
H A D | cls_route.c | 31 u32 id; member in struct:route4_fastmap 49 u32 id; member in struct:route4_filter 62 static inline int route4_fastmap_hash(u32 id, int iif) argument 64 return id & 0xF; 77 route4_set_fastmap(struct route4_head *head, u32 id, int iif, argument 80 int h = route4_fastmap_hash(id, iif); 82 /* fastmap updates must look atomic to aling id, iff, filter */ 84 head->fastmap[h].id = id; 90 static inline int route4_hash_to(u32 id) argument 95 route4_hash_from(u32 id) argument 133 u32 id, h; local 195 to_hash(u32 id) argument 204 from_hash(u32 id) argument 389 u32 id = 0, to = 0, nhandle = 0x8000; local 609 u32 id; local [all...] |
/linux-master/tools/testing/selftests/net/forwarding/ |
H A D | router_mpath_nh_res.sh | 105 ip nexthop del id 103 106 ip nexthop del id 101 107 ip nexthop del id 102 108 ip nexthop del id 106 109 ip nexthop del id 104 110 ip nexthop del id 105 155 ip nexthop del id 201 156 ip nexthop del id 202 157 ip nexthop del id 204 158 ip nexthop del id 20 [all...] |
/linux-master/lib/ |
H A D | fw_table.c | 88 acpi_get_subtable_type(char *id) argument 90 if (strncmp(id, ACPI_SIG_HMAT, 4) == 0) 92 if (strncmp(id, ACPI_SIG_PRMT, 4) == 0) 94 if (strncmp(id, ACPI_SIG_CEDT, 4) == 0) 96 if (strncmp(id, ACPI_SIG_CDAT, 4) == 0) 128 * @id: table id (for debugging purposes) 132 * @proc: array of acpi_subtable_proc struct containing entry id 137 * For each proc_num find a subtable with proc->id and run proc->handler 139 * entry id 150 acpi_parse_entries_array(char *id, unsigned long table_size, union fw_table_header *table_header, unsigned long max_length, struct acpi_subtable_proc *proc, int proc_num, unsigned int max_entries) argument [all...] |
/linux-master/drivers/reset/ |
H A D | reset-simple.c | 31 unsigned long id, bool assert) 35 int bank = id / (reg_width * BITS_PER_BYTE); 36 int offset = id % (reg_width * BITS_PER_BYTE); 55 unsigned long id) 57 return reset_simple_update(rcdev, id, true); 61 unsigned long id) 63 return reset_simple_update(rcdev, id, false); 67 unsigned long id) 75 ret = reset_simple_assert(rcdev, id); 81 return reset_simple_deassert(rcdev, id); 30 reset_simple_update(struct reset_controller_dev *rcdev, unsigned long id, bool assert) argument 54 reset_simple_assert(struct reset_controller_dev *rcdev, unsigned long id) argument 60 reset_simple_deassert(struct reset_controller_dev *rcdev, unsigned long id) argument 66 reset_simple_reset(struct reset_controller_dev *rcdev, unsigned long id) argument 84 reset_simple_status(struct reset_controller_dev *rcdev, unsigned long id) argument [all...] |
H A D | reset-pistachio.c | 27 static inline int pistachio_reset_shift(unsigned long id) argument 29 switch (id) { 48 return id; 52 return id + 6; 57 return id + 7; 64 unsigned long id) 71 shift = pistachio_reset_shift(id); 81 unsigned long id) 88 shift = pistachio_reset_shift(id); 63 pistachio_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) argument 80 pistachio_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) argument
|
H A D | reset-ath79.c | 26 unsigned long id, bool assert) 36 val |= BIT(id); 38 val &= ~BIT(id); 46 unsigned long id) 48 return ath79_reset_update(rcdev, id, true); 52 unsigned long id) 54 return ath79_reset_update(rcdev, id, false); 58 unsigned long id) 66 return !!(val & BIT(id)); 25 ath79_reset_update(struct reset_controller_dev *rcdev, unsigned long id, bool assert) argument 45 ath79_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) argument 51 ath79_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) argument 57 ath79_reset_status(struct reset_controller_dev *rcdev, unsigned long id) argument
|
H A D | reset-zynq.c | 30 unsigned long id) 34 int bank = id / BITS_PER_LONG; 35 int offset = id % BITS_PER_LONG; 47 unsigned long id) 51 int bank = id / BITS_PER_LONG; 52 int offset = id % BITS_PER_LONG; 64 unsigned long id) 68 int bank = id / BITS_PER_LONG; 69 int offset = id % BITS_PER_LONG; 29 zynq_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) argument 46 zynq_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) argument 63 zynq_reset_status(struct reset_controller_dev *rcdev, unsigned long id) argument
|
/linux-master/drivers/gpu/drm/msm/disp/dpu1/catalog/ |
H A D | dpu_9_2_x1e80100.h | 32 .name = "ctl_0", .id = CTL_0, 37 .name = "ctl_1", .id = CTL_1, 42 .name = "ctl_2", .id = CTL_2, 47 .name = "ctl_3", .id = CTL_3, 52 .name = "ctl_4", .id = CTL_4, 57 .name = "ctl_5", .id = CTL_5, 66 .name = "sspp_0", .id = SSPP_VIG0, 73 .name = "sspp_1", .id = SSPP_VIG1, 80 .name = "sspp_2", .id = SSPP_VIG2, 87 .name = "sspp_3", .id [all...] |
/linux-master/drivers/bcma/ |
H A D | scan.c | 19 u16 id; member in struct:bcma_device_id_name 113 static const char *bcma_device_name(const struct bcma_device_id *id) argument 119 switch (id->manuf) { 137 if (names[i].id == id->id) 263 if (core->id.id == coreid) 293 core->id.class = (cia & SCAN_CIA_CLASS) >> SCAN_CIA_CLASS_SHIFT; 294 core->id [all...] |
/linux-master/drivers/clk/visconti/ |
H A D | reset.c | 23 static int visconti_reset_assert(struct reset_controller_dev *rcdev, unsigned long id) argument 26 const struct visconti_reset_data *data = &reset->resets[id]; 38 static int visconti_reset_deassert(struct reset_controller_dev *rcdev, unsigned long id) argument 41 const struct visconti_reset_data *data = &reset->resets[id]; 53 static int visconti_reset_reset(struct reset_controller_dev *rcdev, unsigned long id) argument 55 visconti_reset_assert(rcdev, id); 57 visconti_reset_deassert(rcdev, id); 62 static int visconti_reset_status(struct reset_controller_dev *rcdev, unsigned long id) argument 65 const struct visconti_reset_data *data = &reset->resets[id];
|
/linux-master/tools/lib/thermal/ |
H A D | thermal.c | 15 for (i = 0; cdev[i].id != -1; i++) 28 for (i = 0; tt[i].id != -1; i++) 41 for (i = 0; tz[i].id != -1; i++) 55 for (i = 0; tz[i].id != -1; i++) { 63 struct thermal_zone *thermal_zone_find_by_id(struct thermal_zone *tz, int id) argument 67 if (!tz || id < 0) 70 for (i = 0; tz[i].id != -1; i++) { 71 if (tz[i].id == id)
|
/linux-master/tools/perf/arch/x86/util/ |
H A D | header.c | 79 static bool is_full_cpuid(const char *id) argument 81 const char *tmp = id; 95 int strcmp_cpuid_str(const char *mapcpuid, const char *id) argument 101 bool full_cpuid = is_full_cpuid(id); 109 "vendor-family-model-stepping\n", id); 119 match = !regexec(&re, id, 1, pmatch, 0); 129 cpuid_len = strrchr(id, '-') - id; 131 cpuid_len = strlen(id);
|
/linux-master/arch/arm/mach-pxa/ |
H A D | devices.c | 45 .id = -1, 67 .id = 0, 102 .id = -1, 113 .id = -1, 139 .id = -1, 168 .id = 0, 192 .id = 1, 216 .id = 2, 240 .id = 3, 267 .id 670 pxa2xx_set_spi_info(unsigned id, struct pxa2xx_spi_controller *info) argument [all...] |
/linux-master/drivers/firmware/imx/ |
H A D | imx-scu-soc.c | 23 u32 id; member in struct:imx_sc_msg_misc_get_soc_id::__anon271::__anon273 78 return msg.data.resp.id; 81 static const char *imx_scu_soc_name(u32 id) argument 83 switch (id) { 101 int id, ret; local 122 id = imx_scu_soc_id(); 123 if (id < 0) 131 val = id & 0x1f; 135 val = (id >> 5) & 0xf;
|
/linux-master/drivers/net/ethernet/marvell/octeontx2/af/ |
H A D | mcs.c | 27 void mcs_get_tx_secy_stats(struct mcs *mcs, struct mcs_secy_stats *stats, int id) argument 31 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTCTLBCPKTSX(id); 34 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTCTLMCPKTSX(id); 37 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTCTLOCTETSX(id); 40 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTCTLUCPKTSX(id); 43 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTUNCTLBCPKTSX(id); 46 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTUNCTLMCPKTSX(id); 49 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTUNCTLOCTETSX(id); 52 reg = MCSX_CSE_TX_MEM_SLAVE_IFOUTUNCTLUCPKTSX(id); 55 reg = MCSX_CSE_TX_MEM_SLAVE_OUTOCTETSSECYENCRYPTEDX(id); 71 mcs_get_rx_secy_stats(struct mcs *mcs, struct mcs_secy_stats *stats, int id) argument 132 mcs_get_flowid_stats(struct mcs *mcs, struct mcs_flowid_stats *stats, int id, int dir) argument 145 mcs_get_port_stats(struct mcs *mcs, struct mcs_port_stats *stats, int id, int dir) argument 172 mcs_get_sa_stats(struct mcs *mcs, struct mcs_sa_stats *stats, int id, int dir) argument 200 mcs_get_sc_stats(struct mcs *mcs, struct mcs_sc_stats *stats, int id, int dir) argument 252 mcs_clear_stats(struct mcs *mcs, u8 type, u8 id, int dir) argument 295 int id; local 587 int id, rc; local 715 int id; local 775 int id; local 1331 int id = lmac_id * 2; local 1507 mcs_probe(struct pci_dev *pdev, const struct pci_device_id *id) argument [all...] |
/linux-master/tools/power/x86/intel-speed-select/ |
H A D | isst-config.c | 413 void set_isst_id(struct isst_id *id, int cpu) argument 415 id->cpu = cpu; 417 id->pkg = get_physical_package_id(cpu); 418 if (id->pkg >= MAX_PACKAGE_COUNT) 419 id->pkg = -1; 421 id->die = get_physical_die_id(cpu); 422 if (id->die >= MAX_DIE_PER_PACKAGE) 423 id->die = -1; 425 id->punit = get_physical_punit_id(cpu); 426 if (id 430 is_cpu_in_power_domain(int cpu, struct isst_id *id) argument 532 struct isst_id id; local 589 struct isst_id id; local 666 get_max_punit_core_id(struct isst_id *id) argument 684 get_cpu_count(struct isst_id *id) argument 818 set_cpu_mask_from_punit_coremask(struct isst_id *id, unsigned long long core_mask, size_t core_cpumask_size, cpu_set_t *core_cpumask, int *cpu_cnt) argument 885 isolate_cpus(struct isst_id *id, int mask_size, cpu_set_t *cpu_mask, int level, int cpu_0_only) argument 1001 struct isst_id id; local 1100 get_isst_status(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 1148 struct isst_id id; local 1212 exec_on_get_ctdp_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 1291 clx_n_config(struct isst_id *id) argument 1382 dump_clx_n_config_for_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 1408 dump_isst_config_for_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 1458 set_tdp_level_for_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 1567 clx_n_dump_pbf_config_for_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 1587 dump_pbf_config_for_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 1636 set_clos_param(struct isst_id *id, int clos, int epp, int wt, int min, int max) argument 1712 set_clx_pbf_cpufreq_scaling_min_max(struct isst_id *id) argument 1795 set_scaling_min_to_cpuinfo_max(struct isst_id *id) argument 1815 set_scaling_min_to_cpuinfo_min(struct isst_id *id) argument 1834 set_scaling_max_to_cpuinfo_max(struct isst_id *id) argument 1846 set_core_priority_and_min(struct isst_id *id, int mask_size, cpu_set_t *cpu_mask, int min_high, int min_low) argument 1895 set_pbf_core_power(struct isst_id *id) argument 1936 set_pbf_for_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 2051 dump_fact_config_for_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 2097 set_fact_for_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 2173 struct isst_id id; local 2291 enable_clos_qos_config(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 2355 dump_clos_config_for_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 2394 get_clos_info_for_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 2431 set_clos_config_for_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 2505 set_clos_assoc_for_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 2546 get_clos_assoc_for_cpu(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument 2577 set_turbo_mode_for_cpu(struct isst_id *id, int status) argument 2598 struct isst_id id; local 2629 get_set_trl(struct isst_id *id, void *arg1, void *arg2, void *arg3, void *arg4) argument [all...] |
/linux-master/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | padg94.c | 33 const u32 base = (pad->id - NVKM_I2C_PAD_HYBRID(0)) * 0x50; 61 g94_i2c_pad_s_new(struct nvkm_i2c *i2c, int id, struct nvkm_i2c_pad **ppad) argument 63 return nvkm_i2c_pad_new_(&g94_i2c_pad_s_func, i2c, id, ppad); 73 g94_i2c_pad_x_new(struct nvkm_i2c *i2c, int id, struct nvkm_i2c_pad **ppad) argument 75 return nvkm_i2c_pad_new_(&g94_i2c_pad_x_func, i2c, id, ppad);
|