Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/can/usb/
Dgs_usb.c284 struct gs_host_frame *hf = urb->transfer_buffer; in gs_usb_receive_bulk_callback() local
303 if (hf->channel >= GS_MAX_INTF) in gs_usb_receive_bulk_callback()
306 dev = usbcan->canch[hf->channel]; in gs_usb_receive_bulk_callback()
314 if (hf->echo_id == -1) { /* normal rx */ in gs_usb_receive_bulk_callback()
319 cf->can_id = hf->can_id; in gs_usb_receive_bulk_callback()
321 cf->can_dlc = get_can_dlc(hf->can_dlc); in gs_usb_receive_bulk_callback()
322 memcpy(cf->data, hf->data, 8); in gs_usb_receive_bulk_callback()
325 if (hf->can_id & CAN_ERR_FLAG) in gs_usb_receive_bulk_callback()
329 netdev->stats.rx_bytes += hf->can_dlc; in gs_usb_receive_bulk_callback()
333 if (hf->echo_id >= GS_MAX_TX_URBS) { in gs_usb_receive_bulk_callback()
[all …]
/linux-4.4.14/include/net/
Dact_api.h52 static inline int tcf_hashinfo_init(struct tcf_hashinfo *hf, unsigned int mask) in tcf_hashinfo_init() argument
56 spin_lock_init(&hf->lock); in tcf_hashinfo_init()
57 hf->index = 0; in tcf_hashinfo_init()
58 hf->hmask = mask; in tcf_hashinfo_init()
59 hf->htab = kzalloc((mask + 1) * sizeof(struct hlist_head), in tcf_hashinfo_init()
61 if (!hf->htab) in tcf_hashinfo_init()
64 INIT_HLIST_HEAD(&hf->htab[i]); in tcf_hashinfo_init()
68 static inline void tcf_hashinfo_destroy(struct tcf_hashinfo *hf) in tcf_hashinfo_destroy() argument
70 kfree(hf->htab); in tcf_hashinfo_destroy()
/linux-4.4.14/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 …]
/linux-4.4.14/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()
/linux-4.4.14/scripts/
Danalyze_suspend.py2027 hf = open(htmlfile, 'w')
2145 hf.write(html+'</table>\n')
2146 hf.write('</body>\n</html>\n')
2147 hf.close()
2341 hf = open(sysvals.htmlfile, 'w')
2390 hf.write(html_header)
2394 hf.write(headline_stamp.format(sysvals.stamp['host'],
2399 hf.write(devtl.html['timeline'])
2400 hf.write(devtl.html['legend'])
2401 hf.write('<div id="devicedetailtitle"></div>\n')
[all …]
/linux-4.4.14/drivers/video/fbdev/
Dacornfb.h96 u_int hf; member
/linux-4.4.14/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 …]
/linux-4.4.14/drivers/net/wireless/b43legacy/
Dmain.c3288 u32 hf; in b43legacy_wireless_core_init() local
3326 hf = b43legacy_hf_read(dev); in b43legacy_wireless_core_init()
3328 hf |= B43legacy_HF_SYMW; in b43legacy_wireless_core_init()
3330 hf |= B43legacy_HF_GDCW; in b43legacy_wireless_core_init()
3332 hf |= B43legacy_HF_OFDMPABOOST; in b43legacy_wireless_core_init()
3334 hf |= B43legacy_HF_SYMW; in b43legacy_wireless_core_init()
3336 hf &= ~B43legacy_HF_GDCW; in b43legacy_wireless_core_init()
3338 b43legacy_hf_write(dev, hf); in b43legacy_wireless_core_init()
/linux-4.4.14/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()