Home
last modified time | relevance | path

Searched full:cf (Results 1 – 25 of 341) sorted by relevance

12345678910>>...14

/linux/drivers/pcmcia/
H A Delectra_cf.c27 static const char driver_name[] = "electra-cf";
55 static int electra_cf_present(struct electra_cf_socket *cf) in electra_cf_present() argument
59 gpio = in_le32(cf->gpio_base+0x40); in electra_cf_present()
60 return !(gpio & (1 << cf->gpio_detect)); in electra_cf_present()
71 struct electra_cf_socket *cf = timer_container_of(cf, t, timer); in electra_cf_timer() local
72 int present = electra_cf_present(cf); in electra_cf_timer()
74 if (present != cf->present) { in electra_cf_timer()
75 cf->present = present; in electra_cf_timer()
76 pcmcia_parse_events(&cf->socket, SS_DETECT); in electra_cf_timer()
79 if (cf->active) in electra_cf_timer()
[all …]
H A Domap_cf.c31 * NOTE: CF controller docs disagree with address space docs as to where
42 /* which chipselect (CS0..CS3) is used for CF (active low) */
80 struct omap_cf_socket *cf = timer_container_of(cf, t, timer); in omap_cf_timer() local
83 if (present != cf->present) { in omap_cf_timer()
84 cf->present = present; in omap_cf_timer()
87 pcmcia_parse_events(&cf->socket, SS_DETECT); in omap_cf_timer()
90 if (cf->active) in omap_cf_timer()
91 mod_timer(&cf->timer, jiffies + POLL_INTERVAL); in omap_cf_timer()
100 struct omap_cf_socket *cf = (struct omap_cf_socket *)_cf; in omap_cf_irq() local
102 omap_cf_timer(&cf->timer); in omap_cf_irq()
[all …]
/linux/drivers/gpu/drm/imx/dc/
H A Ddc-cf.c53 static inline void dc_cf_enable_shden(struct dc_cf *cf) in dc_cf_enable_shden() argument
55 regmap_write(cf->reg_cfg, STATICCONTROL, SHDEN); in dc_cf_enable_shden()
58 enum dc_link_id dc_cf_get_link_id(struct dc_cf *cf) in dc_cf_get_link_id() argument
60 return cf->link; in dc_cf_get_link_id()
63 void dc_cf_framedimensions(struct dc_cf *cf, unsigned int w, in dc_cf_framedimensions() argument
66 regmap_write(cf->reg_cfg, FRAMEDIMENSIONS, WIDTH(w) | HEIGHT(h)); in dc_cf_framedimensions()
69 void dc_cf_constantcolor_black(struct dc_cf *cf) in dc_cf_constantcolor_black() argument
71 regmap_write(cf->reg_cfg, CONSTANTCOLOR, 0); in dc_cf_constantcolor_black()
74 void dc_cf_constantcolor_blue(struct dc_cf *cf) in dc_cf_constantcolor_blue() argument
76 regmap_write(cf->reg_cfg, CONSTANTCOLOR, BLUE(0xff)); in dc_cf_constantcolor_blue()
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z15/
H A Dextended.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
H A Dcrypto6.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z14/
H A Dextended.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
H A Dcrypto.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z13/
H A Dextended.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
H A Dcrypto.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z16/
H A Dextended.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
H A Dcrypto6.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z17/
H A Dextended.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
H A Dcrypto6.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
/linux/drivers/clk/sunxi-ng/
H A Dccu_frac.c14 struct ccu_frac_internal *cf) in ccu_frac_helper_is_enabled() argument
19 return !(readl(common->base + common->reg) & cf->enable); in ccu_frac_helper_is_enabled()
24 struct ccu_frac_internal *cf) in ccu_frac_helper_enable() argument
34 writel(reg & ~cf->enable, common->base + common->reg); in ccu_frac_helper_enable()
40 struct ccu_frac_internal *cf) in ccu_frac_helper_disable() argument
50 writel(reg | cf->enable, common->base + common->reg); in ccu_frac_helper_disable()
56 struct ccu_frac_internal *cf, in ccu_frac_helper_has_rate() 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()
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_zec12/
H A Dextended.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
H A Dcrypto.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
/linux/net/can/
H A Dgw.c99 void (*modfunc[MAX_MODFUNCTIONS])(struct canfd_frame *cf,
108 void (*xor)(struct canfd_frame *cf,
110 void (*crc8)(struct canfd_frame *cf,
154 #define MODFUNC(func, op) static void func(struct canfd_frame *cf, \
157 MODFUNC(mod_and_id, cf->can_id &= mod->modframe.and.can_id)
158 MODFUNC(mod_and_len, cf->len &= mod->modframe.and.len)
159 MODFUNC(mod_and_flags, cf->flags &= mod->modframe.and.flags)
160 MODFUNC(mod_and_data, *(u64 *)cf->data &= *(u64 *)mod->modframe.and.data)
161 MODFUNC(mod_or_id, cf->can_id |= mod->modframe.or.can_id)
162 MODFUNC(mod_or_len, cf->len |= mod->modframe.or.len)
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z196/
H A Dextended.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
H A Dcrypto.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
/linux/tools/perf/pmu-events/arch/s390/cf_z10/
H A Dextended.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
H A Dcrypto.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
H A Dbasic.json3 "Unit": "CPU-M-CF",
10 "Unit": "CPU-M-CF",
17 "Unit": "CPU-M-CF",
24 "Unit": "CPU-M-CF",
31 "Unit": "CPU-M-CF",
38 "Unit": "CPU-M-CF",
45 "Unit": "CPU-M-CF",
52 "Unit": "CPU-M-CF",
59 "Unit": "CPU-M-CF",
66 "Unit": "CPU-M-CF",
[all …]
/linux/drivers/net/can/usb/
H A Dnct6694_canfd.c190 struct can_frame *cf; in nct6694_canfd_handle_lost_msg() local
198 skb = alloc_can_err_skb(ndev, &cf); in nct6694_canfd_handle_lost_msg()
202 cf->can_id |= CAN_ERR_CRTL; in nct6694_canfd_handle_lost_msg()
203 cf->data[1] = CAN_ERR_CRTL_RX_OVERFLOW; in nct6694_canfd_handle_lost_msg()
246 struct can_frame *cf; in nct6694_canfd_handle_rx() local
248 skb = alloc_can_skb(priv->ndev, &cf); in nct6694_canfd_handle_rx()
254 cf->can_id = le32_to_cpu(frame->id); in nct6694_canfd_handle_rx()
255 cf->len = can_cc_dlc2len(frame->length); in nct6694_canfd_handle_rx()
257 cf->can_id |= CAN_EFF_FLAG; in nct6694_canfd_handle_rx()
260 cf->can_id |= CAN_RTR_FLAG; in nct6694_canfd_handle_rx()
[all …]
/linux/drivers/net/can/peak_canfd/
H A Dpeak_canfd.c255 struct canfd_frame *cf; in pucan_handle_can_rx() local
291 skb = alloc_canfd_skb(priv->ndev, &cf); in pucan_handle_can_rx()
296 cf->flags |= CANFD_BRS; in pucan_handle_can_rx()
299 cf->flags |= CANFD_ESI; in pucan_handle_can_rx()
302 skb = alloc_can_skb(priv->ndev, (struct can_frame **)&cf); in pucan_handle_can_rx()
307 cf->can_id = le32_to_cpu(msg->can_id); 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()
[all …]
/linux/drivers/net/can/rockchip/
H A Drockchip_canfd-core.c373 struct can_frame **cf, u32 *timestamp) in rkcanfd_alloc_can_err_skb() argument
379 skb = alloc_can_err_skb(priv->ndev, cf); in rkcanfd_alloc_can_err_skb()
408 rkcanfd_handle_error_int_reg_ec(struct rkcanfd_priv *priv, struct can_frame *cf, in rkcanfd_handle_error_int_reg_ec() argument
461 if (!cf) in rkcanfd_handle_error_int_reg_ec()
466 cf->data[3] = CAN_ERR_PROT_LOC_SOF; in rkcanfd_handle_error_int_reg_ec()
468 cf->data[3] = CAN_ERR_PROT_LOC_RTR; in rkcanfd_handle_error_int_reg_ec()
471 cf->data[3] = CAN_ERR_PROT_LOC_RES0; in rkcanfd_handle_error_int_reg_ec()
474 cf->data[3] = CAN_ERR_PROT_LOC_DLC; in rkcanfd_handle_error_int_reg_ec()
476 cf->data[3] = CAN_ERR_PROT_LOC_DATA; in rkcanfd_handle_error_int_reg_ec()
479 cf->data[3] = CAN_ERR_PROT_LOC_CRC_SEQ; in rkcanfd_handle_error_int_reg_ec()
[all …]

12345678910>>...14