/openbmc/linux/drivers/i2c/ |
H A D | i2c-core-smbus.c | 49 u8 i2c_smbus_pec(u8 crc, u8 *p, size_t count) in i2c_smbus_pec() argument 54 crc = crc8((crc ^ p[i]) << 8); in i2c_smbus_pec()
|
H A D | i2c-core-base.c | 308 struct pinctrl *p = bri->pinctrl ?: dev_pinctrl(dev->parent); in i2c_gpio_init_pinctrl_recovery() local 310 bri->pinctrl = p; in i2c_gpio_init_pinctrl_recovery() 316 if (!p) { in i2c_gpio_init_pinctrl_recovery() 323 bri->pins_default = pinctrl_lookup_state(p, in i2c_gpio_init_pinctrl_recovery() 331 bri->pins_gpio = pinctrl_lookup_state(p, "gpio"); in i2c_gpio_init_pinctrl_recovery() 333 bri->pins_gpio = pinctrl_lookup_state(p, "recovery"); in i2c_gpio_init_pinctrl_recovery()
|
/openbmc/linux/drivers/iio/dac/ |
H A D | ad5766.c | 574 static irqreturn_t ad5766_trigger_handler(int irq, void *p) in ad5766_trigger_handler() argument 576 struct iio_poll_func *pf = p; in ad5766_trigger_handler()
|
/openbmc/linux/drivers/iio/accel/ |
H A D | sca3300.c | 489 static irqreturn_t sca3300_trigger_handler(int irq, void *p) in sca3300_trigger_handler() argument 491 struct iio_poll_func *pf = p; in sca3300_trigger_handler()
|
/openbmc/linux/drivers/macintosh/ |
H A D | via-cuda.c | 558 #define ARRAY_FULL(a, p) ((p) - (a) == ARRAY_SIZE(a)) argument
|
/openbmc/linux/drivers/scsi/libsas/ |
H A D | sas_discover.c | 355 struct sas_port *sas_port, *p; in sas_destruct_ports() local 357 list_for_each_entry_safe(sas_port, p, &port->sas_port_del_list, del_list) { in sas_destruct_ports()
|
/openbmc/phosphor-fan-presence/control/ |
H A D | zone.cpp | 525 [&prop](const auto& p) { return prop == p; }); in getPersisted() argument
|
/openbmc/linux/drivers/iio/adc/ |
H A D | ad7606.c | 96 static irqreturn_t ad7606_trigger_handler(int irq, void *p) in ad7606_trigger_handler() argument 98 struct iio_poll_func *pf = p; in ad7606_trigger_handler()
|
/openbmc/libpldm/src/dsp/ |
H A D | fru.c | 220 static bool is_table_end(const struct pldm_fru_record_data_format *p, in is_table_end() argument 223 return p >= in is_table_end()
|
/openbmc/linux/fs/f2fs/ |
H A D | segment.c | 112 if (*p == 0) in __find_rev_next_bit() 115 tmp = __reverse_ulong((unsigned char *)p); in __find_rev_next_bit() 127 p++; in __find_rev_next_bit() 148 if (*p == ~0UL) in __find_rev_next_zero_bit() 151 tmp = __reverse_ulong((unsigned char *)p); in __find_rev_next_zero_bit() 164 p++; in __find_rev_next_zero_bit() 1381 while (*p) { in __insert_discard_cmd() 1382 parent = *p; in __insert_discard_cmd() 1386 p = &(*p)->rb_left; in __insert_discard_cmd() 1388 p = &(*p)->rb_right; in __insert_discard_cmd() [all …]
|
/openbmc/linux/drivers/net/ethernet/cadence/ |
H A D | macb_main.c | 1007 u32 *p = &bp->hw_stats.macb.rx_pause_frames; in macb_update_stats() local 1013 for (; p < end; p++, offset += 4) in macb_update_stats() 1014 *p += bp->macb_reg_readl(bp, offset); in macb_update_stats() 3056 u32 *p = &bp->hw_stats.gem.tx_octets_31_0; in gem_update_stats() local 3058 for (i = 0; i < GEM_STATS_LEN; ++i, ++p) { in gem_update_stats() 3063 *p += val; in gem_update_stats() 3069 *(++p) += val; in gem_update_stats() 3154 memcpy(p, gem_statistics[i].stat_string, in gem_get_ethtool_strings() 3161 memcpy(p, stat_string, ETH_GSTRING_LEN); in gem_get_ethtool_strings() 3221 void *p) in macb_get_regs() argument [all …]
|
/openbmc/linux/drivers/scsi/ |
H A D | 53c700.c | 271 static inline dma_addr_t virt_to_dma(struct NCR_700_Host_Parameters *h, void *p) in virt_to_dma() argument 273 return h->pScript + ((uintptr_t)p - (uintptr_t)h->script); in virt_to_dma() 1134 struct NCR_700_Device_Parameters *p = SDp->hostdata; in process_script_interrupt() local 1135 struct scsi_cmnd *SCp = p->current_cmnd; in process_script_interrupt() 1825 struct NCR_700_Device_Parameters *p = SCp->device->hostdata; in NCR_700_queuecommand_lck() local 1829 p->current_cmnd = SCp; in NCR_700_queuecommand_lck()
|
/openbmc/linux/sound/pci/ |
H A D | azt3328.c | 1010 const char * const *p = NULL; in snd_azf3328_info_mixer_enum() local 1016 p = texts1; in snd_azf3328_info_mixer_enum() 1019 p = texts2; in snd_azf3328_info_mixer_enum() 1022 p = texts4; in snd_azf3328_info_mixer_enum() 1026 p = texts3; in snd_azf3328_info_mixer_enum() 1030 reg.enum_c, p); in snd_azf3328_info_mixer_enum()
|
/openbmc/linux/tools/perf/util/ |
H A D | probe-finder.c | 1689 const char *p; in debuginfo__get_text_offset() local 1701 p = dwfl_module_relocation_info(dbg->mod, i, &shndx); in debuginfo__get_text_offset() 1702 if (strcmp(p, ".text") == 0) { in debuginfo__get_text_offset() 2018 const char *p = raw_path; in get_source_from_debuginfod() local 2025 0, p, new_path); in get_source_from_debuginfod() 2026 pr_debug("Search %s from debuginfod -> %d\n", p, fd); in get_source_from_debuginfod()
|
H A D | session.c | 777 static void swap_bitfield(u8 *p, unsigned len) in swap_bitfield() argument 782 *p = revbyte(*p); in swap_bitfield() 783 p++; in swap_bitfield() 2025 void *p __maybe_unused) in perf_session__flush_thread_stack() 2051 void *p; in __perf_session__process_pipe_events() local 2093 p = event; in __perf_session__process_pipe_events() 2094 p += sizeof(struct perf_event_header); in __perf_session__process_pipe_events() 2097 err = perf_data__read(session->data, p, in __perf_session__process_pipe_events()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | omap_hsmmc.c | 1561 struct pinctrl *p = devm_pinctrl_get(host->dev); in omap_hsmmc_configure_wake_irq() local 1562 if (IS_ERR(p)) { in omap_hsmmc_configure_wake_irq() 1563 ret = PTR_ERR(p); in omap_hsmmc_configure_wake_irq() 1567 if (IS_ERR(pinctrl_lookup_state(p, PINCTRL_STATE_IDLE))) { in omap_hsmmc_configure_wake_irq() 1569 devm_pinctrl_put(p); in omap_hsmmc_configure_wake_irq() 1573 devm_pinctrl_put(p); in omap_hsmmc_configure_wake_irq()
|
/openbmc/linux/drivers/s390/net/ |
H A D | ctcm_mpc.c | 232 __u8 *p = skb->data; in ctcmpc_dump_skb() local 238 if (p == NULL) in ctcmpc_dump_skb() 241 p += offset; in ctcmpc_dump_skb() 242 header = (struct th_header *)p; in ctcmpc_dump_skb() 263 pheader = (struct pdu *)p; in ctcmpc_dump_skb() 285 ctcm_pr_debug("%02x%s", *p++, (i % 16) ? " " : "\n"); in ctcmpc_dump_skb()
|
/openbmc/linux/drivers/pinctrl/ |
H A D | pinctrl-lpc18xx.c | 1277 struct lpc18xx_pin_caps *p = lpc18xx_pins[pin].drv_data; in lpc18xx_valid_pin_function() local 1280 if (function == FUNC_DAC && p->analog == DAC) in lpc18xx_valid_pin_function() 1283 if (function == FUNC_ADC && p->analog) in lpc18xx_valid_pin_function() 1286 if (function == FUNC_I2C0 && p->type == TYPE_I2C0) in lpc18xx_valid_pin_function() 1289 if (function == FUNC_USB1 && p->type == TYPE_USB1) in lpc18xx_valid_pin_function() 1293 if (function == p->functions[i]) in lpc18xx_valid_pin_function()
|
/openbmc/linux/drivers/net/ |
H A D | veth.c | 144 u8 *p = buf; in veth_get_strings() local 149 memcpy(p, ðtool_stats_keys, sizeof(ethtool_stats_keys)); in veth_get_strings() 150 p += sizeof(ethtool_stats_keys); in veth_get_strings() 153 ethtool_sprintf(&p, "rx_queue_%u_%.18s", in veth_get_strings() 158 ethtool_sprintf(&p, "tx_queue_%u_%.18s", in veth_get_strings() 161 page_pool_ethtool_stats_get_strings(p); in veth_get_strings()
|
/openbmc/qemu/target/openrisc/ |
H A D | translate.c | 1279 static bool check_pair(DisasContext *dc, int r, int p) in check_pair() argument 1281 return r + 1 + p < 32; in check_pair() 1284 static void load_pair(DisasContext *dc, TCGv_i64 t, int r, int p) in load_pair() argument 1286 tcg_gen_concat_i32_i64(t, cpu_R(dc, r + 1 + p), cpu_R(dc, r)); in load_pair() 1289 static void save_pair(DisasContext *dc, TCGv_i64 t, int r, int p) in save_pair() argument 1291 tcg_gen_extr_i64_i32(cpu_R(dc, r + 1 + p), cpu_R(dc, r), t); in save_pair()
|
/openbmc/qemu/block/ |
H A D | nbd.c | 1518 const char *p; in nbd_parse_uri() local 1540 p = g_uri_get_path(uri) ?: ""; in nbd_parse_uri() 1541 if (p[0] == '/') { in nbd_parse_uri() 1542 p++; in nbd_parse_uri() 1544 if (p[0]) { in nbd_parse_uri() 1545 qdict_put_str(options, "export", p); in nbd_parse_uri()
|
/openbmc/linux/arch/x86/kvm/svm/ |
H A D | nested.c | 215 u32 value, p; in nested_svm_vmrun_msrpm() local 221 p = msrpm_offsets[i]; in nested_svm_vmrun_msrpm() 224 if (is_x2apic_msrpm_offset(p)) in nested_svm_vmrun_msrpm() 227 offset = svm->nested.ctl.msrpm_base_pa + (p * 4); in nested_svm_vmrun_msrpm() 232 svm->nested.msrpm[p] = svm->msrpm[p] | value; in nested_svm_vmrun_msrpm()
|
/openbmc/linux/drivers/usb/typec/ |
H A D | class.c | 604 struct typec_partner *p = to_typec_partner(dev); in accessory_mode_show() local 606 return sprintf(buf, "%s\n", typec_accessory_modes[p->accessory]); in accessory_mode_show() 614 struct typec_partner *p = to_typec_partner(dev); in supports_usb_power_delivery_show() local 616 return sprintf(buf, "%s\n", p->usb_pd ? "yes" : "no"); in supports_usb_power_delivery_show() 1673 struct typec_port *p = to_typec_port(dev); in usb_power_delivery_revision_show() local 1675 rev = p->cap->pd_revision; in usb_power_delivery_revision_show()
|
/openbmc/linux/drivers/mtd/nand/raw/brcmnand/ |
H A D | brcmnand.c | 1325 struct brcmnand_cfg *p = &host->hwcfg; in brcmstb_choose_ecc_layout() local 1328 unsigned int ecc_level = p->ecc_level; in brcmstb_choose_ecc_layout() 1329 int sas = p->spare_area_size << p->sector_size_1k; in brcmstb_choose_ecc_layout() 1330 int sectors = p->page_size / (512 << p->sector_size_1k); in brcmstb_choose_ecc_layout() 1332 if (p->sector_size_1k) in brcmstb_choose_ecc_layout() 1335 if (is_hamming_ecc(host->ctrl, p)) { in brcmstb_choose_ecc_layout() 1348 if (p->page_size == 512) in brcmstb_choose_ecc_layout()
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_hdmi.c | 176 struct drm_printer p = drm_seq_file_printer(m); in vc4_hdmi_debugfs_regs() local 182 drm_print_regset32(&p, &vc4_hdmi->hdmi_regset); in vc4_hdmi_debugfs_regs() 183 drm_print_regset32(&p, &vc4_hdmi->hd_regset); in vc4_hdmi_debugfs_regs() 184 drm_print_regset32(&p, &vc4_hdmi->cec_regset); in vc4_hdmi_debugfs_regs() 185 drm_print_regset32(&p, &vc4_hdmi->csc_regset); in vc4_hdmi_debugfs_regs() 186 drm_print_regset32(&p, &vc4_hdmi->dvp_regset); in vc4_hdmi_debugfs_regs() 187 drm_print_regset32(&p, &vc4_hdmi->phy_regset); in vc4_hdmi_debugfs_regs() 188 drm_print_regset32(&p, &vc4_hdmi->ram_regset); in vc4_hdmi_debugfs_regs() 189 drm_print_regset32(&p, &vc4_hdmi->rm_regset); in vc4_hdmi_debugfs_regs()
|