/openbmc/qemu/target/m68k/ |
H A D | helper.h | 42 DEF_HELPER_4(fadd, void, env, fp, fp, fp) 43 DEF_HELPER_4(fsadd, void, env, fp, fp, fp) 44 DEF_HELPER_4(fdadd, void, env, fp, fp, fp) 45 DEF_HELPER_4(fsub, void, env, fp, fp, fp) 46 DEF_HELPER_4(fssub, void, env, fp, fp, fp) 47 DEF_HELPER_4(fdsub, void, env, fp, fp, fp) 48 DEF_HELPER_4(fmul, void, env, fp, fp, fp) 49 DEF_HELPER_4(fsmul, void, env, fp, fp, fp) 50 DEF_HELPER_4(fdmul, void, env, fp, fp, fp) 52 DEF_HELPER_4(fdiv, void, env, fp, fp, fp) [all …]
|
/openbmc/linux/drivers/s390/char/ |
H A D | fs3270.c | 127 raw3270_request_set_idal(fp->init, fp->rdbuf); in fs3270_activate() 137 fp->init->ccw.count = fp->rdbuf_size; in fs3270_activate() 151 fp->init->callback(fp->init, NULL); in fs3270_activate() 181 fp->rdbuf_size = fp->rdbuf->size - rq->rescnt; in fs3270_save_callback() 207 raw3270_request_set_idal(fp->init, fp->rdbuf); in fs3270_deactivate() 214 fp->init->callback(fp->init, NULL); in fs3270_deactivate() 249 if (!fp) in fs3270_read() 293 if (!fp) in fs3270_write() 331 if (!fp) in fs3270_ioctl() 374 fp = kzalloc(sizeof(*fp), GFP_KERNEL); in fs3270_alloc_view() [all …]
|
H A D | hmcdrv_dev.c | 150 kfree(fp->private_data); in hmcdrv_dev_release() 151 fp->private_data = NULL; in hmcdrv_dev_release() 175 if (fp->private_data) { in hmcdrv_dev_seek() 176 kfree(fp->private_data); in hmcdrv_dev_seek() 177 fp->private_data = NULL; in hmcdrv_dev_seek() 189 if (fp->f_pos != pos) in hmcdrv_dev_seek() 190 ++fp->f_version; in hmcdrv_dev_seek() 192 fp->f_pos = pos; in hmcdrv_dev_seek() 257 if (!fp->private_data) in hmcdrv_dev_write() 265 kfree(fp->private_data); in hmcdrv_dev_write() [all …]
|
/openbmc/linux/drivers/net/fddi/ |
H A D | defza.c | 232 writew_o(fp->int_mask, &fp->regs->int_mask); in fza_do_reset() 372 writew_u(fp->int_mask, &fp->regs->int_mask); in fza_cmd_send() 488 fp->ring_rmc_tx_index = (fp->ring_rmc_tx_index + 1) % in fza_do_xmit() 533 (fp->ring_smt_rx_index + 1) % fp->ring_smt_rx_size; in fza_do_recv_smt() 781 (fp->ring_hst_rx_index + 1) % fp->ring_hst_rx_size; in fza_rx() 839 (fp->ring_smt_tx_index + 1) % fp->ring_smt_tx_size; in fza_tx_smt() 1064 writew_o(fp->int_mask, &fp->regs->int_mask); in fza_reset_timer() 1131 writew_u(fp->int_mask, &fp->regs->int_mask); in fza_start_xmit() 1173 dma_unmap_single(fp->bdev, fp->rx_dma[i], in fza_open() 1256 dma_unmap_single(fp->bdev, fp->rx_dma[i], in fza_close() [all …]
|
/openbmc/linux/fs/smb/server/ |
H A D | vfs_cache.c | 357 if (fp) in __ksmbd_lookup_fd() 358 fp = ksmbd_fp_get(fp); in __ksmbd_lookup_fd() 406 if (!fp) in ksmbd_close_fd() 415 if (!fp) in ksmbd_fd_put() 425 if (!fp) in __sanity_check() 480 if (fp && fp->conn) { in ksmbd_lookup_durable_fd() 506 fp = ksmbd_fp_get(fp); in ksmbd_lookup_fd_cguid() 609 fp->f_ci = ksmbd_inode_get(fp); in ksmbd_open_fd() 633 if (!fp) in ksmbd_update_fstate() 678 if (fp->is_resilient || fp->is_persistent) in is_reconnectable() [all …]
|
/openbmc/linux/include/scsi/ |
H A D | fc_frame.h | 50 #define fp_skb(fp) (&((fp)->skb)) argument 51 #define fr_hdr(fp) ((fp)->skb.data) argument 52 #define fr_len(fp) ((fp)->skb.len) argument 54 #define fr_dev(fp) (fr_cb(fp)->fr_dev) argument 55 #define fr_seq(fp) (fr_cb(fp)->fr_seq) argument 56 #define fr_sof(fp) (fr_cb(fp)->fr_sof) argument 57 #define fr_eof(fp) (fr_cb(fp)->fr_eof) argument 58 #define fr_flags(fp) (fr_cb(fp)->fr_flags) argument 59 #define fr_encaps(fp) (fr_cb(fp)->fr_encaps) argument 61 #define fr_fsp(fp) (fr_cb(fp)->fr_fsp) argument [all …]
|
/openbmc/linux/kernel/trace/ |
H A D | fprobe.c | 29 struct fprobe *fp; in __fprobe_handler() local 38 fp->nmissed++; in __fprobe_handler() 63 struct fprobe *fp; in fprobe_handler() local 75 fp->nmissed++; in fprobe_handler() 99 fp->nmissed++; in fprobe_kprobe_handler() 110 fp->nmissed++; in fprobe_kprobe_handler() 129 if (!fp || fprobe_disabled(fp)) in fprobe_exit_handler() 140 fp->nmissed++; in fprobe_exit_handler() 144 fp->exit_handler(fp, fpr->entry_ip, ret_ip, regs, in fprobe_exit_handler() 208 fp->rethook = rethook_alloc((void *)fp, fprobe_exit_handler); in fprobe_init_rethook() [all …]
|
/openbmc/linux/arch/m68k/kernel/ |
H A D | traps.c | 252 fix_xframe040(fp, fp->un.fmt7.wb2a, fp->un.fmt7.wb2s); in do_040writebacks() 263 fix_xframe040(fp, fp->un.fmt7.wb3a, fp->un.fmt7.wb3s); in do_040writebacks() 384 fp->ptregs.format == 0xa ? fp->ptregs.pc + 4 : fp->un.fmtb.baddr); in bus_error030() 882 fp->un.fmt7.effaddr, fp->un.fmt7.ssw, fp->un.fmt7.faddr); in show_registers() 884 fp->un.fmt7.wb1s, fp->un.fmt7.wb1a, fp->un.fmt7.wb1dpd0); in show_registers() 886 fp->un.fmt7.wb2s, fp->un.fmt7.wb2a, fp->un.fmt7.wb2d); in show_registers() 888 fp->un.fmt7.wb3s, fp->un.fmt7.wb3a, fp->un.fmt7.wb3d); in show_registers() 890 fp->un.fmt7.wb1dpd0, fp->un.fmt7.pd1, fp->un.fmt7.pd2, in show_registers() 900 fp->un.fmta.ssw, fp->un.fmta.isc, fp->un.fmta.isb, in show_registers() 906 fp->un.fmtb.ssw, fp->un.fmtb.isc, fp->un.fmtb.isb, in show_registers() [all …]
|
/openbmc/linux/sound/usb/ |
H A D | format.c | 45 fp->iface, fp->altsetting, format); in parse_audio_format_i_type() 88 fp->iface, fp->altsetting); in parse_audio_format_i_type() 100 fp->iface, fp->altsetting, in parse_audio_format_i_type() 126 fp->iface, fp->altsetting, in parse_audio_format_i_type() 151 fp->iface, fp->altsetting, format); in parse_audio_format_i_type() 184 fp->rate_min = min(fp->rate_min, rate); in set_rate_table_min_max() 208 fp->iface, fp->altsetting); in parse_audio_format_rates_v1() 249 fp->iface, fp->altsetting); in parse_audio_format_rates_v1() 525 fp->iface, fp->altsetting); in validate_sample_rate_table_v2v3() 720 fp->iface, fp->altsetting, fp->channels); in parse_audio_format_i() [all …]
|
H A D | stream.c | 36 kfree(fp); in audioformat_free() 140 !memcmp(prev->chmap, fp->chmap, sizeof(*fp->chmap))) in have_dup_chmap() 685 fp = kzalloc(sizeof(*fp), GFP_KERNEL); in audio_format_alloc_init() 686 if (!fp) in audio_format_alloc_init() 704 return fp; in audio_format_alloc_init() 835 if (!fp) in snd_usb_get_audioformat_uac12() 857 return fp; in snd_usb_get_audioformat_uac12() 1038 if (!fp) { in snd_usb_get_audioformat_uac3() 1168 fp && fp->altsetting == 1 && fp->channels == 1 && in __snd_usb_parse_audio_interface() 1186 if (!fp) in __snd_usb_parse_audio_interface() [all …]
|
/openbmc/u-boot/arch/m68k/lib/ |
H A D | traps.c | 19 static void show_frame(struct pt_regs *fp) in show_frame() argument 21 printf ("Vector Number: %d Format: %02x Fault Status: %01x\n\n", (fp->vector & 0x3fc) >> 2, in show_frame() 22 fp->format, (fp->vector & 0x3) | ((fp->vector & 0xc00) >> 8)); in show_frame() 23 printf ("PC: %08lx SR: %08lx SP: %08lx\n", fp->pc, (long) fp->sr, (long) fp); in show_frame() 25 fp->d0, fp->d1, fp->d2, fp->d3); in show_frame() 27 fp->d4, fp->d5, fp->d6, fp->d7); in show_frame() 29 fp->a0, fp->a1, fp->a2, fp->a3); in show_frame() 31 fp->a4, fp->a5, fp->a6); in show_frame() 34 void exc_handler(struct pt_regs *fp) { in exc_handler() argument 36 show_frame (fp); in exc_handler()
|
/openbmc/linux/include/linux/ |
H A D | fprobe.h | 54 static inline bool fprobe_disabled(struct fprobe *fp) in fprobe_disabled() argument 56 return (fp) ? fp->flags & FPROBE_FL_DISABLED : false; in fprobe_disabled() 61 return (fp) ? fp->flags & FPROBE_FL_KPROBE_SHARED : false; in fprobe_shared_with_kprobes() 68 int unregister_fprobe(struct fprobe *fp); 69 bool fprobe_is_registered(struct fprobe *fp); 100 static inline void disable_fprobe(struct fprobe *fp) in disable_fprobe() argument 102 if (fp) in disable_fprobe() 103 fp->flags |= FPROBE_FL_DISABLED; in disable_fprobe() 112 static inline void enable_fprobe(struct fprobe *fp) in enable_fprobe() argument 114 if (fp) in enable_fprobe() [all …]
|
/openbmc/linux/drivers/net/ethernet/fungible/funeth/ |
H A D | funeth_ethtool.c | 220 xcvr = fp->xcvr_type; in fun_get_link_ksettings() 432 return fp->msg_enable; in fun_get_msglevel() 507 db_val = FUN_IRQ_CQ_DB(fp->rx_coal_usec, fp->rx_coal_count); in fun_set_coalesce() 517 db_val = FUN_IRQ_SQ_DB(fp->tx_coal_usec, fp->tx_coal_count); in fun_set_coalesce() 611 fp->cq_depth = 2 * fp->rq_depth; in fun_set_ringparam() 840 #define RX_STAT(fp, s) be64_to_cpu((fp)->stats[PORT_MAC_RX_##s]) argument 985 if (!fp->rss_cfg) in fun_get_rxfh() 993 memcpy(key, fp->rss_key, sizeof(fp->rss_key)); in fun_get_rxfh() 1010 if (!fp->rss_cfg) in fun_set_rxfh() 1033 fp->hash_algo = algo; in fun_set_rxfh() [all …]
|
H A D | funeth_main.c | 229 fun_res_destroy(fp->fdev, FUN_ADMIN_OP_RSS, 0, fp->rss_hw_id); in fun_destroy_rss() 337 irq = fun_alloc_qirq(fp, i, node, fp->rx_irq_ofst); in fun_alloc_queue_irqs() 397 xa_load(&fp->irqs, i + fp->rx_irq_ofst), in alloc_rxqs() 805 err = fun_config_rss(dev, fp->hash_algo, fp->rss_key, in fun_up() 1417 err = fun_config_rss(dev, fp->hash_algo, fp->rss_key, in fun_rss_set_qnum() 1441 fp->rss_cfg = dma_alloc_coherent(&fp->pdev->dev, size, in fun_init_rss() 1447 netdev_rss_key_fill(fp->rss_key, sizeof(fp->rss_key)); in fun_init_rss() 1456 sizeof(fp->rss_key) + sizeof(fp->indir_table), in fun_free_rss() 1457 fp->rss_cfg, fp->rss_dma_addr); in fun_free_rss() 1496 fp->stats, fp->stats_dma_addr); in fun_free_stats_area() [all …]
|
/openbmc/u-boot/tools/ |
H A D | bmp_logo.c | 39 fgetc (fp); in skip_bytes() 47 fclose (fp); in error() 76 FILE *fp; in main() local 96 if (!fp) { in main() 101 if (fgetc (fp) != 'B' || fgetc (fp) != 'M') in main() 108 skip_bytes (fp, 8); in main() 111 skip_bytes(fp, 2); in main() 116 skip_bytes(fp, 2); in main() 119 skip_bytes (fp, 2); in main() 166 x=fgetc(fp); in main() [all …]
|
/openbmc/linux/drivers/sbus/char/ |
H A D | bbc_envctrl.c | 108 fp->index, in set_fan_speeds() 109 fp->cpu_fan_speed, fp->system_fan_speed); in set_fan_speeds() 112 bbc_i2c_writeb(fp->client, fp->cpu_fan_speed, CPU_FAN_REG); in set_fan_speeds() 113 bbc_i2c_writeb(fp->client, fp->system_fan_speed, SYS_FAN_REG); in set_fan_speeds() 398 set_fan_speeds(fp); in maybe_new_fan_speeds() 499 fp = kzalloc(sizeof(*fp), GFP_KERNEL); in attach_one_fan() 500 if (!fp) in attach_one_fan() 507 if (!fp->client) { in attach_one_fan() 508 kfree(fp); in attach_one_fan() 529 set_fan_speeds(fp); in attach_one_fan() [all …]
|
/openbmc/linux/arch/nios2/kernel/ |
H A D | traps.c | 116 fp->ea -= 4; in breakpoint_c() 117 _exception(SIGTRAP, fp, TRAP_BRKPT, fp->ea); in breakpoint_c() 127 fp->ea -= 4; in handle_unaligned_c() 132 if (!user_mode(fp)) { in handle_unaligned_c() 138 show_regs(fp); in handle_unaligned_c() 149 fp->ea -= 4; in handle_illegal_c() 150 _exception(SIGILL, fp, ILL_ILLOPC, fp->ea); in handle_illegal_c() 156 fp->ea -= 4; in handle_supervisor_instr() 157 _exception(SIGILL, fp, ILL_PRVOPC, fp->ea); in handle_supervisor_instr() 163 fp->ea -= 4; in handle_diverror_c() [all …]
|
H A D | process.c | 152 void dump(struct pt_regs *fp) in dump() argument 176 (long) fp->estatus, (long) fp); in dump() 179 fp->r1, fp->r2, fp->r3); in dump() 182 fp->r4, fp->r5, fp->r6, fp->r7); in dump() 184 fp->r8, fp->r9, fp->r10, fp->r11); in dump() 186 fp->r12, fp->r13, fp->r14, fp->r15); in dump() 188 fp->orig_r2, fp->ra, fp->fp, fp->sp); in dump() 190 (unsigned int) fp->sp, (unsigned int) fp); in dump() 223 unsigned long fp, pc; in __get_wchan() local 228 fp = ((struct switch_stack *)p->thread.ksp)->fp; /* ;dgt2 */ in __get_wchan() [all …]
|
/openbmc/linux/tools/perf/ui/stdio/ |
H A D | hist.c | 28 ret += fprintf(fp, " "); in callchain__fprintf_left_margin() 87 fputs(str, fp); in ipchain__fprintf_graph() 88 fputc('\n', fp); in ipchain__fprintf_graph() 383 FILE *fp) in hist_entry_callchain__fprintf() argument 460 FILE *fp) in hist_entry__hierarchy_fprintf() argument 540 FILE *fp) in hist_entry__block_fprintf() argument 564 FILE *fp) in hist_entry__individual_block_fprintf() argument 755 FILE *fp) in hists__fprintf_standard_headers() argument 777 fprintf(fp, "# "); in hists__fprintf_standard_headers() 795 fprintf(fp, "\n"); in hists__fprintf_standard_headers() [all …]
|
/openbmc/linux/tools/perf/util/ |
H A D | evsel_fprintf.c | 26 ret += fprintf(fp, ","); in comma_fprintf() 28 ret += fprintf(fp, ":"); in comma_fprintf() 33 ret += vfprintf(fp, fmt, args); in comma_fprintf() 62 printed += fprintf(fp, "}"); in evsel__fprintf() 106 fputc('\n', fp); in evsel__fprintf() 154 printed += fprintf(fp, " <-"); in sample__fprintf_callchain() 166 printed += fprintf(fp, " "); in sample__fprintf_callchain() 173 true, fp); in sample__fprintf_callchain() 191 printed += fprintf(fp, "\n"); in sample__fprintf_callchain() 231 printed += fprintf(fp, " "); in sample__fprintf_sym() [all …]
|
/openbmc/linux/drivers/usb/gadget/function/ |
H A D | f_phonet.c | 235 fp = port->usb; in pn_net_xmit() 433 fp->out_ep->driver_data = fp; in pn_set_alt() 434 fp->in_ep->driver_data = fp; in pn_set_alt() 438 pn_rx_submit(fp, fp->out_reqv[i], GFP_ATOMIC); in pn_set_alt() 532 fp->in_ep = ep; in pn_bind() 557 fp->in_req = usb_ep_alloc_request(fp->in_ep, GFP_KERNEL); in pn_bind() 563 fp->out_ep->name, fp->in_ep->name); in pn_bind() 568 usb_ep_free_request(fp->out_ep, fp->out_reqv[i]); in pn_bind() 659 usb_ep_free_request(fp->in_ep, fp->in_req); in pn_unbind() 662 usb_ep_free_request(fp->out_ep, fp->out_reqv[i]); in pn_unbind() [all …]
|
/openbmc/linux/arch/csky/kernel/ |
H A D | perf_callchain.c | 9 unsigned long fp; member 18 if (unlikely(frame->fp < low || frame->fp > high)) in unwind_frame_kernel() 21 if (kstack_end((void *)frame->fp) || frame->fp & 0x3) in unwind_frame_kernel() 66 fp = buftail.fp; in user_backtrace() 69 return fp; in user_backtrace() 89 unsigned long fp = 0; in perf_callchain_user() local 91 fp = regs->regs[4]; in perf_callchain_user() 100 fp = user_backtrace(entry, fp, regs->lr); in perf_callchain_user() 102 while (fp && !(fp & 0x3) && entry->nr < entry->max_stack) in perf_callchain_user() 103 fp = user_backtrace(entry, fp, 0); in perf_callchain_user() [all …]
|
/openbmc/linux/drivers/net/phy/ |
H A D | fixed_phy.c | 52 struct fixed_phy *fp; in fixed_phy_change_carrier() local 69 if (!fp->no_carrier && fp->link_gpiod) in fixed_phy_update() 70 fp->status.link = !!gpiod_get_value_cansleep(fp->link_gpiod); in fixed_phy_update() 76 struct fixed_phy *fp; in fixed_mdio_read() local 82 fp->status.link = !fp->no_carrier; in fixed_mdio_read() 86 fp->link_update(fp->phydev->attached_dev, in fixed_mdio_read() 87 &fp->status); in fixed_mdio_read() 145 fp = kzalloc(sizeof(*fp), GFP_KERNEL); in fixed_phy_add_gpiod() 146 if (!fp) in fixed_phy_add_gpiod() 182 kfree(fp); in fixed_phy_del() [all …]
|
/openbmc/linux/drivers/net/fddi/skfp/ |
H A D | fplustm.c | 275 smc->hw.fp.rx[QUEUE_R1] = queue = &smc->hw.fp.rx_q[QUEUE_R1] ; in init_rx() 282 smc->hw.fp.rx[QUEUE_R2] = queue = &smc->hw.fp.rx_q[QUEUE_R2] ; in init_rx() 305 smc->hw.fp.tx[QUEUE_S] = queue = &smc->hw.fp.tx_q[QUEUE_S] ; in init_tx() 316 smc->hw.fp.tx[QUEUE_A0] = queue = &smc->hw.fp.tx_q[QUEUE_A0] ; in init_tx() 871 smc->hw.fp.s2l = smc->hw.fp.s2u = 0 ; in init_fplus() 1285 smc->hw.fp.rx_mode = (smc->hw.fp.rx_mode & ~FM_ADDET) | in mac_set_rx_mode() 1290 smc->hw.fp.rx_mode = (smc->hw.fp.rx_mode & ~FM_ADDET) | in mac_set_rx_mode() 1298 smc->hw.fp.rx_mode = smc->hw.fp.nsa_mode | FM_EXGPA0 ; in mac_set_rx_mode() 1301 smc->hw.fp.rx_mode = smc->hw.fp.nsa_mode ; in mac_set_rx_mode() 1457 smc->hw.fp.fifo.tx_s_start = smc->hw.fp.fifo.rx1_fifo_start + in smt_split_up_fifo() [all …]
|
/openbmc/linux/arch/powerpc/net/ |
H A D | bpf_jit_comp.c | 83 fp = tmp_fp; in bpf_int_jit_compile() 90 fp = org_fp; in bpf_int_jit_compile() 96 flen = fp->len; in bpf_int_jit_compile() 111 fp = org_fp; in bpf_int_jit_compile() 124 fp = org_fp; in bpf_int_jit_compile() 138 fp = org_fp; in bpf_int_jit_compile() 161 fp = org_fp; in bpf_int_jit_compile() 179 fp = org_fp; in bpf_int_jit_compile() 203 fp->jited = 1; in bpf_int_jit_compile() 224 bpf_jit_prog_release_other(fp, fp == org_fp ? tmp_fp : org_fp); in bpf_int_jit_compile() [all …]
|