Searched refs:yaps (Results 1 – 5 of 5) sorted by relevance
| /linux/drivers/net/wireless/morsemicro/mm81x/ |
| H A D | yaps.c | 23 static int mm81x_yaps_alloc_pkt_buffers(struct mm81x_yaps *yaps) in mm81x_yaps_alloc_pkt_buffers() argument 25 yaps->hw.to_chip_pkts = kcalloc(MAX_PKTS_PER_TX_TXN, in mm81x_yaps_alloc_pkt_buffers() 26 sizeof(*yaps->hw.to_chip_pkts), in mm81x_yaps_alloc_pkt_buffers() 28 if (!yaps->hw.to_chip_pkts) in mm81x_yaps_alloc_pkt_buffers() 31 yaps->hw.from_chip_pkts = kcalloc(MAX_PKTS_PER_RX_TXN, in mm81x_yaps_alloc_pkt_buffers() 32 sizeof(*yaps->hw.from_chip_pkts), in mm81x_yaps_alloc_pkt_buffers() 34 if (!yaps->hw.from_chip_pkts) { in mm81x_yaps_alloc_pkt_buffers() 35 kfree(yaps->hw.to_chip_pkts); in mm81x_yaps_alloc_pkt_buffers() 36 yaps->hw.to_chip_pkts = NULL; in mm81x_yaps_alloc_pkt_buffers() 43 static void mm81x_yaps_free_pkt_buffers(struct mm81x_yaps *yaps) in mm81x_yaps_free_pkt_buffers() argument [all …]
|
| H A D | yaps_hw.c | 136 static int mm81x_yaps_hw_lock(struct mm81x_yaps *yaps) in mm81x_yaps_hw_lock() argument 138 if (test_and_set_bit_lock(0, &yaps->aux_data->access_lock)) in mm81x_yaps_hw_lock() 143 static void mm81x_yaps_hw_unlock(struct mm81x_yaps *yaps) in mm81x_yaps_hw_unlock() argument 145 clear_bit_unlock(0, &yaps->aux_data->access_lock); in mm81x_yaps_hw_unlock() 190 static u32 mm81x_write_pkts_h_build_delim(struct mm81x_yaps *yaps, in mm81x_write_pkts_h_build_delim() argument 214 mm81x_yaps_hw_fill_aux_data_from_hw_tbl(mors->hif.u.yaps.aux_data, in mm81x_yaps_hw_read_table() 219 static unsigned int mm81x_write_pkts_h_pages_required(struct mm81x_yaps *yaps, in mm81x_write_pkts_h_pages_required() argument 224 yaps->aux_data->reserved_yaps_page_size, in mm81x_write_pkts_h_pages_required() 234 static bool mm81x_write_pkts_h_will_fit(struct mm81x_yaps *yaps, in mm81x_write_pkts_h_will_fit() argument 239 mm81x_write_pkts_h_pages_required(yaps, pkt->skb->len); in mm81x_write_pkts_h_will_fit() [all …]
|
| H A D | yaps.h | 60 int (*write_pkts)(struct mm81x_yaps *yaps, struct mm81x_yaps_pkt *pkts, 62 int (*read_pkts)(struct mm81x_yaps *yaps, struct mm81x_yaps_pkt *pkts, 64 int (*update_status)(struct mm81x_yaps *yaps); 68 void mm81x_yaps_show(struct mm81x_yaps *yaps, struct seq_file *file);
|
| H A D | Makefile | 13 mm81x_core-y += yaps.o
|
| H A D | core.h | 348 struct mm81x_yaps yaps; member
|