Home
last modified time | relevance | path

Searched refs:tim (Results 1 – 25 of 35) sorted by relevance

12

/drivers/net/wireless/p54/
Dmain.c107 u8 *tim; in p54_beacon_format_ie_tim() local
112 tim = p54_find_ie(skb, WLAN_EID_TIM); in p54_beacon_format_ie_tim()
113 if (!tim) in p54_beacon_format_ie_tim()
116 dtim_len = tim[1]; in p54_beacon_format_ie_tim()
117 dtim_period = tim[3]; in p54_beacon_format_ie_tim()
118 next = tim + 2 + dtim_len; in p54_beacon_format_ie_tim()
123 memmove(tim, next, skb_tail_pointer(skb) - next); in p54_beacon_format_ie_tim()
124 tim = skb_tail_pointer(skb) - (dtim_len + 2); in p54_beacon_format_ie_tim()
127 tim[0] = WLAN_EID_TIM; in p54_beacon_format_ie_tim()
128 tim[1] = 3; in p54_beacon_format_ie_tim()
[all …]
Dfwio.c266 struct p54_tim *tim; in p54_update_beacon_tim() local
268 skb = p54_alloc_skb(priv, P54_HDR_FLAG_CONTROL_OPSET, sizeof(*tim), in p54_update_beacon_tim()
273 tim = (struct p54_tim *) skb_put(skb, sizeof(*tim)); in p54_update_beacon_tim()
274 tim->count = 1; in p54_update_beacon_tim()
275 tim->entry[0] = cpu_to_le16(set ? (aid | 0x8000) : aid); in p54_update_beacon_tim()
Dtxrx.c299 u8 *tim; in p54_pspoll_workaround() local
314 tim = p54_find_ie(skb, WLAN_EID_TIM); in p54_pspoll_workaround()
315 if (!tim) in p54_pspoll_workaround()
318 tim_len = tim[1]; in p54_pspoll_workaround()
319 tim_ie = (struct ieee80211_tim_ie *) &tim[2]; in p54_pspoll_workaround()
/drivers/video/omap/
Dsossi.c176 t->tim[0] = tw0 - 1; in calc_rd_timings()
177 t->tim[1] = tw1 - 1; in calc_rd_timings()
215 t->tim[2] = tw0 - 1; in calc_wr_timings()
216 t->tim[3] = tw1 - 1; in calc_wr_timings()
342 t->tim[4] = div; in sossi_convert_timings()
353 sossi.clk_tw0[RD_ACCESS] = t->tim[0]; in sossi_set_timings()
354 sossi.clk_tw1[RD_ACCESS] = t->tim[1]; in sossi_set_timings()
356 sossi.clk_tw0[WR_ACCESS] = t->tim[2]; in sossi_set_timings()
357 sossi.clk_tw1[WR_ACCESS] = t->tim[3]; in sossi_set_timings()
359 sossi.clk_div = t->tim[4]; in sossi_set_timings()
Domapfb.h118 u32 tim[5]; /* set by extif->convert_timings */ member
/drivers/ide/
Dopti621.c71 u8 tim, misc, addr_pio = pio, clk; in opti621_set_pio_mode() local
109 tim = data_rec_timings[clk][pio]; in opti621_set_pio_mode()
115 write_reg(tim, READ_REG); in opti621_set_pio_mode()
117 write_reg(tim, WRITE_REG); in opti621_set_pio_mode()
Dpmac.c506 struct ide_timing *tim = ide_timing_find_mode(XFER_PIO_0 + pio); in pmac_ide_set_pio_mode() local
534 recTime = cycle_time - tim->active - tim->setup; in pmac_ide_set_pio_mode()
536 accessTime = tim->active; in pmac_ide_set_pio_mode()
549 recTime = cycle_time - tim->active - tim->setup; in pmac_ide_set_pio_mode()
551 accessTime = tim->active; in pmac_ide_set_pio_mode()
Dcs5536.c92 static void cs5536_program_dtc(ide_drive_t *drive, u8 tim) in cs5536_program_dtc() argument
100 dtc |= tim << dshift; in cs5536_program_dtc()
/drivers/net/wireless/rtlwifi/
Dps.c451 u8 *tim; in rtl_swlps_beacon() local
488 tim = rtl_find_ie(data, len - FCS_LEN, WLAN_EID_TIM); in rtl_swlps_beacon()
489 if (!tim) in rtl_swlps_beacon()
492 if (tim[1] < sizeof(*tim_ie)) in rtl_swlps_beacon()
495 tim_len = tim[1]; in rtl_swlps_beacon()
496 tim_ie = (struct ieee80211_tim_ie *) &tim[2]; in rtl_swlps_beacon()
/drivers/mtd/nand/
Domap2.c292 unsigned long tim, limit; in omap_write_buf_pref() local
318 tim = 0; in omap_write_buf_pref()
321 while (gpmc_read_status(GPMC_PREFETCH_COUNT) && (tim++ < limit)) in omap_write_buf_pref()
356 unsigned long tim, limit; in omap_nand_dma_transfer() local
413 tim = 0; in omap_nand_dma_transfer()
415 while (gpmc_read_status(GPMC_PREFETCH_COUNT) && (tim++ < limit)) in omap_nand_dma_transfer()
574 unsigned long tim, limit; in omap_write_buf_irq_pref() local
600 tim = 0; in omap_write_buf_irq_pref()
602 while (gpmc_read_status(GPMC_PREFETCH_COUNT) && (tim++ < limit)) in omap_write_buf_irq_pref()
/drivers/net/wireless/ath/carl9170/
Drx.c525 u8 *tim; in carl9170_ps_beacon() local
547 tim = carl9170_find_ie(data, len - FCS_LEN, WLAN_EID_TIM); in carl9170_ps_beacon()
548 if (!tim) in carl9170_ps_beacon()
551 if (tim[1] < sizeof(*tim_ie)) in carl9170_ps_beacon()
554 tim_len = tim[1]; in carl9170_ps_beacon()
555 tim_ie = (struct ieee80211_tim_ie *) &tim[2]; in carl9170_ps_beacon()
/drivers/net/wireless/wl1251/
Dcmd.c183 vbm->tim.bitmap_ctrl = bitmap_control; in wl1251_cmd_vbm()
189 memcpy(vbm->tim.pvb_field, bitmap, bitmap_len); in wl1251_cmd_vbm()
190 vbm->tim.identity = identity; in wl1251_cmd_vbm()
191 vbm->tim.length = bitmap_len + 3; in wl1251_cmd_vbm()
Dcmd.h312 struct wl1251_tim tim; member
/drivers/video/omap2/dss/
Drfbi.c444 rfbi_write_reg(RFBI_ONOFF_TIME(rfbi_module), t->tim[0]); in rfbi_set_timings()
445 rfbi_write_reg(RFBI_CYCLE_TIME(rfbi_module), t->tim[1]); in rfbi_set_timings()
449 (t->tim[2] ? 1 : 0), 4, 4); in rfbi_set_timings()
523 t->tim[0] = l; in rfbi_convert_timings()
552 t->tim[1] = l; in rfbi_convert_timings()
554 t->tim[2] = div - 1; in rfbi_convert_timings()
/drivers/ata/
Dpata_cs5536.c105 static void cs5536_program_dtc(struct ata_device *adev, u8 tim) in cs5536_program_dtc() argument
113 dtc |= tim << dshift; in cs5536_program_dtc()
/drivers/net/wireless/rt2x00/
Drt2x00dev.c499 u8 *tim; in rt2x00lib_rxdone_check_ps() local
521 tim = rt2x00lib_find_ie(skb->data, skb->len - FCS_LEN, WLAN_EID_TIM); in rt2x00lib_rxdone_check_ps()
522 if (!tim) in rt2x00lib_rxdone_check_ps()
525 if (tim[1] < sizeof(*tim_ie)) in rt2x00lib_rxdone_check_ps()
528 tim_len = tim[1]; in rt2x00lib_rxdone_check_ps()
529 tim_ie = (struct ieee80211_tim_ie *) &tim[2]; in rt2x00lib_rxdone_check_ps()
/drivers/net/wireless/ath/ath9k/
Ddebug.h82 u32 tim; member
Drecv.c556 struct ieee80211_tim_ie *tim; in ath_beacon_dtim_pending_cab() local
569 if (elen < sizeof(*tim)) in ath_beacon_dtim_pending_cab()
571 tim = (struct ieee80211_tim_ie *) pos; in ath_beacon_dtim_pending_cab()
572 if (tim->dtim_count != 0) in ath_beacon_dtim_pending_cab()
574 return tim->bitmap_ctrl & 0x01; in ath_beacon_dtim_pending_cab()
/drivers/staging/wlan-ng/
Dp80211mgmt.h327 wlan_ie_tim_t *tim; member
/drivers/net/wireless/ipw2x00/
Dlibipw_rx.c1229 network->tim.tim_count = info_element->data[0]; in libipw_parse_info_param()
1230 network->tim.tim_period = info_element->data[1]; in libipw_parse_info_param()
1512 dst->tim = src->tim; in update_network()
/drivers/infiniband/hw/cxgb3/
Diwch_cm.c1344 struct iff_mac tim; in pass_accept_req() local
1357 tim.mac_addr = req->dst_mac; in pass_accept_req()
1358 tim.vlan_tag = ntohs(req->vlan_tag); in pass_accept_req()
1359 if (tdev->ctl(tdev, GET_IFF_FROM_MAC, &tim) < 0 || !tim.dev) { in pass_accept_req()
/drivers/net/wireless/
Drayctl.h105 UCHAR tim[C_TIM_BITMAP_LENGTH]; member
/drivers/misc/
Dlkdtm.c175 static int jp_hrtimer_start(struct hrtimer *timer, ktime_t tim, in jp_hrtimer_start() argument
/drivers/staging/rtl8192u/ieee80211/
Dieee80211_rx.c1752 network->tim.tim_count = info_element->data[0]; in ieee80211_parse_info_param()
1753 network->tim.tim_period = info_element->data[1]; in ieee80211_parse_info_param()
2330 memcpy(&dst->tim, &src->tim, sizeof(struct ieee80211_tim_parameters)); in update_network()
/drivers/staging/rtl8192e/
Drtllib_rx.c1858 network->tim.tim_count = info_element->data[0]; in rtllib_parse_info_param()
1859 network->tim.tim_period = info_element->data[1]; in rtllib_parse_info_param()
2404 memcpy(&dst->tim, &src->tim, sizeof(struct rtllib_tim_parameters)); in update_network()

12