Searched refs:hf (Results 1 – 8 of 8) sorted by relevance
/drivers/net/can/usb/ |
D | gs_usb.c | 306 struct gs_host_frame *hf = urb->transfer_buffer; in gs_usb_receive_bulk_callback() local 325 if (hf->channel >= GS_MAX_INTF) in gs_usb_receive_bulk_callback() 328 dev = usbcan->canch[hf->channel]; in gs_usb_receive_bulk_callback() 336 if (hf->echo_id == -1) { /* normal rx */ in gs_usb_receive_bulk_callback() 341 cf->can_id = le32_to_cpu(hf->can_id); in gs_usb_receive_bulk_callback() 343 can_frame_set_cc_len(cf, hf->can_dlc, dev->can.ctrlmode); in gs_usb_receive_bulk_callback() 344 memcpy(cf->data, hf->data, 8); in gs_usb_receive_bulk_callback() 347 if (le32_to_cpu(hf->can_id) & CAN_ERR_FLAG) in gs_usb_receive_bulk_callback() 351 netdev->stats.rx_bytes += hf->can_dlc; in gs_usb_receive_bulk_callback() 355 if (hf->echo_id >= GS_MAX_TX_URBS) { in gs_usb_receive_bulk_callback() [all …]
|
/drivers/gpu/ipu-v3/ |
D | ipu-common.c | 139 u32 r90, vf, hf; in ipu_degrees_to_rot_mode() local 143 vf = hf = r90 = 0; in ipu_degrees_to_rot_mode() 146 vf = hf = 0; in ipu_degrees_to_rot_mode() 150 vf = hf = 1; in ipu_degrees_to_rot_mode() 154 vf = hf = r90 = 1; in ipu_degrees_to_rot_mode() 160 hf ^= (u32)hflip; in ipu_degrees_to_rot_mode() 163 *mode = (enum ipu_rotate_mode)((r90 << 2) | (hf << 1) | vf); in ipu_degrees_to_rot_mode() 171 u32 r90, vf, hf; in ipu_rot_mode_to_degrees() local 174 hf = ((u32)mode >> 1) & 0x1; in ipu_rot_mode_to_degrees() 176 hf ^= (u32)hflip; in ipu_rot_mode_to_degrees() [all …]
|
/drivers/char/ |
D | dsp56k.c | 360 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/ |
D | acornfb.h | 93 u_int hf; member
|
/drivers/net/wireless/broadcom/b43/ |
D | main.c | 1092 u64 hf; in b43_dump_keymemory() local 1098 hf = b43_hf_read(dev); in b43_dump_keymemory() 1100 !!(hf & B43_HF_USEDEFKEYS)); in b43_dump_keymemory() 4691 u64 hf; in b43_bluetooth_coext_enable() local 4700 hf = b43_hf_read(dev); in b43_bluetooth_coext_enable() 4702 hf |= B43_HF_BTCOEXALT; in b43_bluetooth_coext_enable() 4704 hf |= B43_HF_BTCOEX; in b43_bluetooth_coext_enable() 4705 b43_hf_write(dev, hf); in b43_bluetooth_coext_enable() 4814 u64 hf; in b43_wireless_core_init() local 4857 hf = b43_hf_read(dev); in b43_wireless_core_init() [all …]
|
/drivers/net/wireless/broadcom/b43legacy/ |
D | main.c | 3256 u32 hf; in b43legacy_wireless_core_init() local 3294 hf = b43legacy_hf_read(dev); in b43legacy_wireless_core_init() 3296 hf |= B43legacy_HF_SYMW; in b43legacy_wireless_core_init() 3298 hf |= B43legacy_HF_GDCW; in b43legacy_wireless_core_init() 3300 hf |= B43legacy_HF_OFDMPABOOST; in b43legacy_wireless_core_init() 3302 hf |= B43legacy_HF_SYMW; in b43legacy_wireless_core_init() 3304 hf &= ~B43legacy_HF_GDCW; in b43legacy_wireless_core_init() 3306 b43legacy_hf_write(dev, hf); in b43legacy_wireless_core_init()
|
/drivers/video/fbdev/omap2/omapfb/dss/ |
D | dispc.c | 2210 unsigned int hf, vf; in calc_core_clk_34xx() local 2218 hf = 4; in calc_core_clk_34xx() 2220 hf = 3; in calc_core_clk_34xx() 2222 hf = 2; in calc_core_clk_34xx() 2224 hf = 1; in calc_core_clk_34xx() 2230 return pclk * vf * hf; in calc_core_clk_34xx()
|
/drivers/gpu/drm/omapdrm/dss/ |
D | dispc.c | 2248 unsigned int hf, vf; in calc_core_clk_34xx() local 2256 hf = 4; in calc_core_clk_34xx() 2258 hf = 3; in calc_core_clk_34xx() 2260 hf = 2; in calc_core_clk_34xx() 2262 hf = 1; in calc_core_clk_34xx() 2268 return pclk * vf * hf; in calc_core_clk_34xx()
|