Home
last modified time | relevance | path

Searched refs:hf (Results 1 – 7 of 7) sorted by relevance

/drivers/net/can/usb/
Dgs_usb.c286 struct gs_host_frame *hf = urb->transfer_buffer; in gs_usb_receive_bulk_callback() local
305 if (hf->channel >= GS_MAX_INTF) in gs_usb_receive_bulk_callback()
308 dev = usbcan->canch[hf->channel]; in gs_usb_receive_bulk_callback()
316 if (hf->echo_id == -1) { /* normal rx */ in gs_usb_receive_bulk_callback()
321 cf->can_id = hf->can_id; in gs_usb_receive_bulk_callback()
323 cf->can_dlc = get_can_dlc(hf->can_dlc); in gs_usb_receive_bulk_callback()
324 memcpy(cf->data, hf->data, 8); in gs_usb_receive_bulk_callback()
327 if (hf->can_id & CAN_ERR_FLAG) in gs_usb_receive_bulk_callback()
331 netdev->stats.rx_bytes += hf->can_dlc; in gs_usb_receive_bulk_callback()
335 if (hf->echo_id >= GS_MAX_TX_URBS) { in gs_usb_receive_bulk_callback()
[all …]
/drivers/gpu/ipu-v3/
Dipu-common.c189 u32 r90, vf, hf; in ipu_degrees_to_rot_mode() local
193 vf = hf = r90 = 0; in ipu_degrees_to_rot_mode()
196 vf = hf = 0; in ipu_degrees_to_rot_mode()
200 vf = hf = 1; in ipu_degrees_to_rot_mode()
204 vf = hf = r90 = 1; in ipu_degrees_to_rot_mode()
210 hf ^= (u32)hflip; in ipu_degrees_to_rot_mode()
213 *mode = (enum ipu_rotate_mode)((r90 << 2) | (hf << 1) | vf); in ipu_degrees_to_rot_mode()
221 u32 r90, vf, hf; in ipu_rot_mode_to_degrees() local
224 hf = ((u32)mode >> 1) & 0x1; in ipu_rot_mode_to_degrees()
226 hf ^= (u32)hflip; in ipu_rot_mode_to_degrees()
[all …]
/drivers/char/
Ddsp56k.c360 struct dsp56k_host_flags __user *hf = argp; in dsp56k_ioctl() local
362 if(get_user(dir, &hf->dir) < 0) in dsp56k_ioctl()
364 if(get_user(out, &hf->out) < 0) in dsp56k_ioctl()
383 return put_user(status, &hf->status); in dsp56k_ioctl()
/drivers/video/fbdev/
Dacornfb.h96 u_int hf; member
/drivers/net/wireless/b43/
Dmain.c1097 u64 hf; in b43_dump_keymemory() local
1103 hf = b43_hf_read(dev); in b43_dump_keymemory()
1105 !!(hf & B43_HF_USEDEFKEYS)); in b43_dump_keymemory()
4717 u64 hf; in b43_bluetooth_coext_enable() local
4726 hf = b43_hf_read(dev); in b43_bluetooth_coext_enable()
4728 hf |= B43_HF_BTCOEXALT; in b43_bluetooth_coext_enable()
4730 hf |= B43_HF_BTCOEX; in b43_bluetooth_coext_enable()
4731 b43_hf_write(dev, hf); in b43_bluetooth_coext_enable()
4847 u64 hf; in b43_wireless_core_init() local
4890 hf = b43_hf_read(dev); in b43_wireless_core_init()
[all …]
/drivers/net/wireless/b43legacy/
Dmain.c3289 u32 hf; in b43legacy_wireless_core_init() local
3327 hf = b43legacy_hf_read(dev); in b43legacy_wireless_core_init()
3329 hf |= B43legacy_HF_SYMW; in b43legacy_wireless_core_init()
3331 hf |= B43legacy_HF_GDCW; in b43legacy_wireless_core_init()
3333 hf |= B43legacy_HF_OFDMPABOOST; in b43legacy_wireless_core_init()
3335 hf |= B43legacy_HF_SYMW; in b43legacy_wireless_core_init()
3337 hf &= ~B43legacy_HF_GDCW; in b43legacy_wireless_core_init()
3339 b43legacy_hf_write(dev, hf); in b43legacy_wireless_core_init()
/drivers/video/fbdev/omap2/dss/
Ddispc.c2208 unsigned int hf, vf; in calc_core_clk_34xx() local
2216 hf = 4; in calc_core_clk_34xx()
2218 hf = 3; in calc_core_clk_34xx()
2220 hf = 2; in calc_core_clk_34xx()
2222 hf = 1; in calc_core_clk_34xx()
2228 return pclk * vf * hf; in calc_core_clk_34xx()