Home
last modified time | relevance | path

Searched refs:cf (Results 1 – 25 of 254) sorted by relevance

1234567891011

/openbmc/linux/drivers/pcmcia/
H A Delectra_cf.c193 cf = kzalloc(sizeof(*cf), GFP_KERNEL); in electra_cf_probe()
194 if (!cf) in electra_cf_probe()
203 cf->mem_base = ioremap(cf->mem_phys, cf->mem_size); in electra_cf_probe()
217 cf->iomem.start = (unsigned long)cf->mem_base; in electra_cf_probe()
230 cf->socket.pci_irq = cf->irq; in electra_cf_probe()
254 cf->socket.io_offset = cf->io_base; in electra_cf_probe()
284 cf->mem_phys, io.start, cf->irq); in electra_cf_probe()
291 release_region(cf->io_base, cf->io_size); in electra_cf_probe()
296 free_irq(cf->irq, cf); in electra_cf_probe()
319 free_irq(cf->irq, cf); in electra_cf_remove()
[all …]
H A Domap_cf.c80 struct omap_cf_socket *cf = from_timer(cf, t, timer); in omap_cf_timer() local
90 if (cf->active) in omap_cf_timer()
219 cf = kzalloc(sizeof *cf, GFP_KERNEL); in omap_cf_probe()
220 if (!cf) in omap_cf_probe()
232 cf->irq = irq; in omap_cf_probe()
274 cf->socket.io[0].res = &cf->iomem; in omap_cf_probe()
280 cf->active = 1; in omap_cf_probe()
289 kfree(cf); in omap_cf_probe()
297 cf->active = 0; in omap_cf_remove()
301 free_irq(cf->irq, cf); in omap_cf_remove()
[all …]
/openbmc/linux/drivers/clk/sunxi-ng/
H A Dccu_frac.c14 struct ccu_frac_internal *cf) in ccu_frac_helper_is_enabled() argument
24 struct ccu_frac_internal *cf) in ccu_frac_helper_enable() argument
40 struct ccu_frac_internal *cf) in ccu_frac_helper_disable() argument
62 return (cf->rates[0] == rate) || (cf->rates[1] == rate); in ccu_frac_helper_has_rate()
67 struct ccu_frac_internal *cf) in ccu_frac_helper_read_rate() argument
77 clk_hw_get_name(&common->hw), cf->rates[0], cf->rates[1]); in ccu_frac_helper_read_rate()
84 return (reg & cf->select) ? cf->rates[1] : cf->rates[0]; in ccu_frac_helper_read_rate()
98 if (cf->rates[0] == rate) in ccu_frac_helper_set_rate()
100 else if (cf->rates[1] == rate) in ccu_frac_helper_set_rate()
101 sel = cf->select; in ccu_frac_helper_set_rate()
[all …]
H A Dccu_frac.h28 struct ccu_frac_internal *cf);
30 struct ccu_frac_internal *cf);
32 struct ccu_frac_internal *cf);
35 struct ccu_frac_internal *cf,
39 struct ccu_frac_internal *cf);
42 struct ccu_frac_internal *cf,
/openbmc/linux/net/can/
H A Dgw.c241 mod_store_ccdlc(cf); in mod_and_ccdlc()
247 mod_or_len(cf, mod); in mod_or_ccdlc()
248 mod_store_ccdlc(cf); in mod_or_ccdlc()
657 memcpy(&mb.cf, &gwj->mod.modframe.and, sizeof(mb.cf)); in cgw_put_job()
664 memcpy(&mb.cf, &gwj->mod.modframe.or, sizeof(mb.cf)); in cgw_put_job()
671 memcpy(&mb.cf, &gwj->mod.modframe.xor, sizeof(mb.cf)); in cgw_put_job()
678 memcpy(&mb.cf, &gwj->mod.modframe.set, sizeof(mb.cf)); in cgw_put_job()
687 memcpy(&mb.cf, &gwj->mod.modframe.and, sizeof(mb.cf)); in cgw_put_job()
694 memcpy(&mb.cf, &gwj->mod.modframe.or, sizeof(mb.cf)); in cgw_put_job()
701 memcpy(&mb.cf, &gwj->mod.modframe.xor, sizeof(mb.cf)); in cgw_put_job()
[all …]
H A Disotp.c347 cf->len != padlen(cf->len)) in check_pad()
646 struct canfd_frame *cf; in isotp_rcv() local
736 cf->can_id = so->txid; in isotp_fill_dataframe()
737 cf->len = num + pcilen; in isotp_fill_dataframe()
742 cf->len = padlen(cf->len); in isotp_fill_dataframe()
743 memset(cf->data, so->opt.txpad_content, cf->len); in isotp_fill_dataframe()
746 cf->len = padlen(cf->len); in isotp_fill_dataframe()
748 cf->len); in isotp_fill_dataframe()
764 struct canfd_frame *cf; in isotp_send_cframe() local
822 cf->can_id = so->txid; in isotp_create_fframe()
[all …]
/openbmc/linux/drivers/net/can/slcan/
H A Dslcan-core.c174 struct can_frame *cf; in slcan_bump_frame() local
214 cf->can_id |= tmpid; in slcan_bump_frame()
217 if (cf->len >= '0' && cf->len < '9') in slcan_bump_frame()
218 cf->len -= '0'; in slcan_bump_frame()
234 cf->data[i] |= tmp; in slcan_bump_frame()
262 struct can_frame *cf; in slcan_bump_state() local
307 cf->data[6] = txerr; in slcan_bump_state()
308 cf->data[7] = rxerr; in slcan_bump_state()
326 struct can_frame *cf; in slcan_bump_err() local
487 canid_t id = cf->can_id; in slcan_encaps()
[all …]
/openbmc/qemu/target/i386/tcg/
H A Dcc_helper_template.h.inc44 int cf, pf, af, zf, sf, of;
47 cf = dst < src1;
87 cf = src1 < src2;
130 cf = 0;
144 cf = src1;
160 cf = src1;
194 cf = src1 & 1;
211 cf = (src1 != 0);
216 of = cf * CC_O;
224 cf = (src1 == 0);
[all …]
/openbmc/linux/drivers/net/can/
H A Dxilinx_can.c654 if (cf->len > 0) in xcan_write_frame()
656 if (cf->len > 4) in xcan_write_frame()
784 struct can_frame *cf; in xcan_rx() local
825 if (cf->len > 0) in xcan_rx()
827 if (cf->len > 4) in xcan_rx()
854 struct canfd_frame *cf; in xcanfd_rx() local
974 if (cf) { in xcan_set_error_state()
976 cf->data[6] = txerr; in xcan_set_error_state()
977 cf->data[7] = rxerr; in xcan_set_error_state()
1006 struct can_frame *cf; in xcan_update_error_state_after_rxtx() local
[all …]
H A Djanz-ican3.c921 memcpy(cf->data, &desc->data[2], cf->len); in ican3_to_can_frame()
938 memcpy(cf->data, &desc->data[6], cf->len); in ican3_to_can_frame()
974 memcpy(&desc->data[6], cf->data, cf->len); in can_frame_to_ican3()
995 struct can_frame *cf; in ican3_handle_msglost() local
1039 struct can_frame *cf; in ican3_handle_cevtind() local
1151 cf->data[6] = txerr; in ican3_handle_cevtind()
1152 cf->data[7] = rxerr; in ican3_handle_cevtind()
1170 cf->data[6] = txerr; in ican3_handle_cevtind()
1171 cf->data[7] = rxerr; in ican3_handle_cevtind()
1301 dlc = cf->len; in ican3_get_echo_skb()
[all …]
H A Dat91_can.c540 struct can_frame *cf; in at91_rx_overflow_err() local
550 cf->can_id |= CAN_ERR_CRTL; in at91_rx_overflow_err()
566 struct can_frame *cf) in at91_read_mb() argument
581 cf->can_id |= CAN_RTR_FLAG; in at91_read_mb()
605 struct can_frame *cf; in at91_read_msg() local
614 at91_read_mb(dev, mb, cf); in at91_read_msg()
618 stats->rx_bytes += cf->len; in at91_read_msg()
741 cf->can_id |= CAN_ERR_ACK; in at91_poll_err_frame()
766 struct can_frame *cf; in at91_poll_err() local
936 cf->can_id |= CAN_ERR_PROT; in at91_irq_err_state()
[all …]
/openbmc/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c255 struct canfd_frame *cf; in pucan_handle_can_rx() local
296 cf->flags |= CANFD_BRS; in pucan_handle_can_rx()
299 cf->flags |= CANFD_ESI; in pucan_handle_can_rx()
308 cf->len = cf_len; in pucan_handle_can_rx()
311 cf->can_id |= CAN_EFF_FLAG; in pucan_handle_can_rx()
314 cf->can_id |= CAN_RTR_FLAG; in pucan_handle_can_rx()
316 memcpy(cf->data, msg->d, cf->len); in pucan_handle_can_rx()
343 struct can_frame *cf; in pucan_handle_status() local
422 struct can_frame *cf; in pucan_handle_cache_critical() local
693 len = cf->len; in peak_canfd_start_xmit()
[all …]
/openbmc/linux/tools/testing/selftests/rcutorture/bin/
H A DconfigNR_CPUS.sh15 cf=$1
16 if test ! -r $cf
18 echo Unreadable config fragment $cf 1>&2
21 if grep -q '^CONFIG_SMP=n$' $cf
26 if grep -q '^CONFIG_NR_CPUS=' $cf
28 grep '^CONFIG_NR_CPUS=' $cf |
/openbmc/linux/lib/
H A Ddecompress.c66 const struct compress_format *cf; in decompress_method() local
76 for (cf = compressed_formats; cf->name; cf++) { in decompress_method()
77 if (!memcmp(inbuf, cf->magic, 2)) in decompress_method()
82 *name = cf->name; in decompress_method()
83 return cf->decompressor; in decompress_method()
/openbmc/linux/include/linux/can/
H A Dlength.h267 static inline u8 can_get_cc_dlc(const struct can_frame *cf, const u32 ctrlmode) in can_get_cc_dlc() argument
271 (cf->len == CAN_MAX_DLEN) && in can_get_cc_dlc()
272 (cf->len8_dlc > CAN_MAX_DLEN && cf->len8_dlc <= CAN_MAX_RAW_DLC)) in can_get_cc_dlc()
273 return cf->len8_dlc; in can_get_cc_dlc()
276 return cf->len; in can_get_cc_dlc()
280 static inline void can_frame_set_cc_len(struct can_frame *cf, const u8 dlc, in can_frame_set_cc_len() argument
285 cf->len8_dlc = dlc; in can_frame_set_cc_len()
288 cf->len = can_cc_dlc2len(dlc); in can_frame_set_cc_len()
/openbmc/linux/drivers/net/can/ctucanfd/
H A Dctucanfd_base.c541 if (cf->flags & CANFD_BRS) in ctucan_insert_frame()
662 cf->flags |= CANFD_BRS; in ctucan_read_rx_frame()
664 cf->flags |= CANFD_ESI; in ctucan_read_rx_frame()
680 cf->len = len; in ctucan_read_rx_frame()
713 struct canfd_frame *cf; in ctucan_rx() local
740 stats->rx_bytes += cf->len; in ctucan_rx()
804 struct can_frame *cf; in ctucan_err_interrupt() local
854 cf->data[6] = bec.txerr; in ctucan_err_interrupt()
872 cf->data[6] = bec.txerr; in ctucan_err_interrupt()
873 cf->data[7] = bec.rxerr; in ctucan_err_interrupt()
[all …]
/openbmc/linux/drivers/net/can/ifi_canfd/
H A Difi_canfd.c252 struct canfd_frame *cf; in ifi_canfd_read_fifo() local
294 cf->can_id = id; in ifi_canfd_read_fifo()
297 cf->flags |= CANFD_ESI; in ifi_canfd_read_fifo()
306 cf->flags |= CANFD_BRS; in ifi_canfd_read_fifo()
309 *(u32 *)(cf->data + i) = in ifi_canfd_read_fifo()
378 struct can_frame *cf; in ifi_canfd_handle_lec_err() local
454 struct can_frame *cf; in ifi_canfd_handle_state_change() local
499 cf->data[6] = bec.txerr; in ifi_canfd_handle_state_change()
500 cf->data[7] = bec.rxerr; in ifi_canfd_handle_state_change()
508 cf->data[6] = bec.txerr; in ifi_canfd_handle_state_change()
[all …]
/openbmc/linux/drivers/net/ethernet/amd/pds_core/
H A Dauxbus.c150 padev->vf_pdev = cf->pdev; in pdsc_auxbus_dev_register()
155 aux_dev->id = cf->uid; in pdsc_auxbus_dev_register()
156 aux_dev->dev.parent = cf->dev; in pdsc_auxbus_dev_register()
169 dev_warn(cf->dev, "auxiliary_device_add of %s failed: %pe\n", in pdsc_auxbus_dev_register()
178 int pdsc_auxbus_dev_del(struct pdsc *cf, struct pdsc *pf) in pdsc_auxbus_dev_del() argument
185 padev = pf->vfs[cf->vf_id].padev; in pdsc_auxbus_dev_del()
192 pf->vfs[cf->vf_id].padev = NULL; in pdsc_auxbus_dev_del()
198 int pdsc_auxbus_dev_add(struct pdsc *cf, struct pdsc *pf) in pdsc_auxbus_dev_add() argument
231 PDS_CORE_DRV_NAME, pf->viftype_status[vt].name, cf->uid); in pdsc_auxbus_dev_add()
238 padev = pdsc_auxbus_dev_register(cf, pf, client_id, in pdsc_auxbus_dev_add()
[all …]
/openbmc/linux/drivers/net/can/sja1000/
H A Dsja1000.c300 id = cf->can_id; in sja1000_start_xmit()
320 for (i = 0; i < cf->len; i++) in sja1000_start_xmit()
342 struct can_frame *cf; in sja1000_rx() local
378 stats->rx_bytes += cf->len; in sja1000_rx()
382 cf->can_id = id; in sja1000_rx()
410 struct can_frame *cf; in sja1000_err() local
428 cf->can_id |= CAN_ERR_CRTL; in sja1000_err()
456 cf->can_id |= CAN_ERR_CNT; in sja1000_err()
457 cf->data[6] = txerr; in sja1000_err()
458 cf->data[7] = rxerr; in sja1000_err()
[all …]
/openbmc/linux/drivers/media/test-drivers/vicodec/
H A Dcodec-fwht.c712 quantize_intra(cf->coeffs, cf->de_coeffs, in encode_plane()
713 cf->i_frame_qp); in encode_plane()
718 quantize_inter(cf->coeffs, cf->de_coeffs, in encode_plane()
719 cf->p_frame_qp); in encode_plane()
722 ifwht(cf->de_coeffs, cf->de_fwht, blocktype); in encode_plane()
779 struct fwht_cframe *cf, in fwht_encode_frame() argument
785 __be16 *rlco = cf->rlc_data; in fwht_encode_frame()
804 cf, chroma_h, chroma_w, in fwht_encode_frame()
812 cf, chroma_h, chroma_w, in fwht_encode_frame()
831 cf->size = (rlco - cf->rlc_data) * sizeof(*rlco); in fwht_encode_frame()
[all …]
/openbmc/linux/drivers/net/can/rcar/
H A Drcar_can.c225 struct can_frame *cf; in rcar_can_error() local
237 cf->can_id |= CAN_ERR_CRTL; in rcar_can_error()
281 cf->can_id |= CAN_ERR_ACK; in rcar_can_error()
338 cf->can_id |= CAN_ERR_CNT; in rcar_can_error()
339 cf->data[6] = txerr; in rcar_can_error()
340 cf->data[7] = rxerr; in rcar_can_error()
605 writeb(cf->data[i], in rcar_can_start_xmit()
641 struct can_frame *cf; in rcar_can_rx_pkt() local
661 cf->can_id |= CAN_RTR_FLAG; in rcar_can_rx_pkt()
664 cf->data[dlc] = in rcar_can_rx_pkt()
[all …]
/openbmc/linux/drivers/net/can/usb/
H A Dusb_8dev.c336 struct can_frame *cf; in usb_8dev_rx_err_msg() local
361 cf->can_id |= CAN_ERR_PROT; in usb_8dev_rx_err_msg()
373 cf->can_id |= CAN_ERR_CRTL; in usb_8dev_rx_err_msg()
387 cf->can_id |= CAN_ERR_ACK; in usb_8dev_rx_err_msg()
443 cf->can_id |= CAN_ERR_CNT; in usb_8dev_rx_err_msg()
444 cf->data[6] = txerr; in usb_8dev_rx_err_msg()
445 cf->data[7] = rxerr; in usb_8dev_rx_err_msg()
458 struct can_frame *cf; in usb_8dev_rx_can_msg() local
474 cf->can_id |= CAN_EFF_FLAG; in usb_8dev_rx_can_msg()
479 memcpy(cf->data, msg->data, cf->len); in usb_8dev_rx_can_msg()
[all …]
H A Df81604.c374 struct can_frame *cf; in f81604_process_rx_packet() local
391 cf->can_id |= CAN_EFF_FLAG; in f81604_process_rx_packet()
394 memcpy(cf->data, frame->eff.data, cf->len); in f81604_process_rx_packet()
400 memcpy(cf->data, frame->sff.data, cf->len); in f81604_process_rx_packet()
483 struct can_frame *cf; in f81604_handle_can_bus_errors() local
492 cf->can_id |= CAN_ERR_CNT; in f81604_handle_can_bus_errors()
493 cf->data[6] = data->txerr; in f81604_handle_can_bus_errors()
494 cf->data[7] = data->rxerr; in f81604_handle_can_bus_errors()
931 frame->dlc = cf->len; in f81604_start_xmit()
944 memcpy(&frame->eff.data, cf->data, cf->len); in f81604_start_xmit()
[all …]
/openbmc/linux/drivers/dma/
H A Dfsl_raid.c245 cf[index].efrl32 = efrl; in fill_cfd_frame()
262 desc->cf_addr = cf; in fsl_re_init_desc()
275 void *cf; in fsl_re_chan_alloc_desc() local
299 if (!cf) { in fsl_re_chan_alloc_desc()
323 struct fsl_re_cmpnd_frame *cf; in fsl_re_prep_dma_genq() local
367 cf = desc->cf_addr; in fsl_re_prep_dma_genq()
410 struct fsl_re_cmpnd_frame *cf; in fsl_re_prep_dma_pq() local
488 cf = desc->cf_addr; in fsl_re_prep_dma_pq()
558 cf = desc->cf_addr; in fsl_re_prep_dma_memcpy()
576 void *cf; in fsl_re_alloc_chan_resources() local
[all …]
/openbmc/linux/Documentation/devicetree/bindings/powerpc/fsl/
H A Dccf.txt11 fsl,corenet1-cf - CoreNet coherency fabric version 1.
14 fsl,corenet2-cf - CoreNet coherency fabric version 2.
17 fsl,corenet-cf - Used to represent the common registers
22 "fsl,corenet1-cf" or "fsl,corenet2-cf".
40 corenet-cf@18000 {
41 compatible = "fsl,corenet2-cf", "fsl,corenet-cf";

1234567891011