/linux/drivers/net/ethernet/samsung/sxgbe/ |
A D | sxgbe_desc.c | 23 static void sxgbe_init_tx_desc(struct sxgbe_tx_norm_desc *p) in sxgbe_init_tx_desc() 58 static void sxgbe_set_tx_owner(struct sxgbe_tx_norm_desc *p) in sxgbe_set_tx_owner() 64 static int sxgbe_get_tx_owner(struct sxgbe_tx_norm_desc *p) in sxgbe_get_tx_owner() 70 static void sxgbe_close_tx_desc(struct sxgbe_tx_norm_desc *p) in sxgbe_close_tx_desc() 77 static void sxgbe_release_tx_desc(struct sxgbe_tx_norm_desc *p) in sxgbe_release_tx_desc() 85 static void sxgbe_clear_tx_ic(struct sxgbe_tx_norm_desc *p) in sxgbe_clear_tx_ic() 91 static int sxgbe_get_tx_ls(struct sxgbe_tx_norm_desc *p) in sxgbe_get_tx_ls() 97 static int sxgbe_get_tx_len(struct sxgbe_tx_norm_desc *p) in sxgbe_get_tx_len() 222 static int sxgbe_get_rx_owner(struct sxgbe_rx_norm_desc *p) in sxgbe_get_rx_owner() 228 static void sxgbe_set_rx_owner(struct sxgbe_rx_norm_desc *p) in sxgbe_set_rx_owner() [all …]
|
/linux/include/asm-generic/ |
A D | unaligned.h | 25 static inline u16 get_unaligned_le16(const void *p) in get_unaligned_le16() 30 static inline u32 get_unaligned_le32(const void *p) in get_unaligned_le32() 35 static inline u64 get_unaligned_le64(const void *p) in get_unaligned_le64() 40 static inline void put_unaligned_le16(u16 val, void *p) in put_unaligned_le16() 55 static inline u16 get_unaligned_be16(const void *p) in get_unaligned_be16() 60 static inline u32 get_unaligned_be32(const void *p) in get_unaligned_be32() 65 static inline u64 get_unaligned_be64(const void *p) in get_unaligned_be64() 85 static inline u32 __get_unaligned_be24(const u8 *p) in __get_unaligned_be24() 90 static inline u32 get_unaligned_be24(const void *p) in get_unaligned_be24() 95 static inline u32 __get_unaligned_le24(const u8 *p) in __get_unaligned_le24() [all …]
|
/linux/drivers/net/ethernet/stmicro/stmmac/ |
A D | dwxgmac2_descs.c | 12 struct dma_desc *p, void __iomem *ioaddr) in dwxgmac2_get_tx_status() 26 struct dma_desc *p) in dwxgmac2_get_rx_status() 42 static int dwxgmac2_get_tx_len(struct dma_desc *p) in dwxgmac2_get_tx_len() 47 static int dwxgmac2_get_tx_owner(struct dma_desc *p) in dwxgmac2_get_tx_owner() 52 static void dwxgmac2_set_tx_owner(struct dma_desc *p) in dwxgmac2_set_tx_owner() 65 static int dwxgmac2_get_tx_ls(struct dma_desc *p) in dwxgmac2_get_tx_ls() 87 struct dma_desc *p = (struct dma_desc *)desc; in dwxgmac2_get_timestamp() local 98 struct dma_desc *p = (struct dma_desc *)desc; in dwxgmac2_rx_check_timestamp() local 119 struct dma_desc *p = (struct dma_desc *)desc; in dwxgmac2_get_rx_timestamp_status() local 229 static void dwxgmac2_set_tx_ic(struct dma_desc *p) in dwxgmac2_set_tx_ic() [all …]
|
A D | dwmac4_descs.c | 17 struct dma_desc *p, in dwmac4_wrback_get_tx_status() 75 struct dma_desc *p) in dwmac4_wrback_get_rx_status() 176 static int dwmac4_rd_get_tx_len(struct dma_desc *p) in dwmac4_rd_get_tx_len() 181 static int dwmac4_get_tx_owner(struct dma_desc *p) in dwmac4_get_tx_owner() 186 static void dwmac4_set_tx_owner(struct dma_desc *p) in dwmac4_set_tx_owner() 199 static int dwmac4_get_tx_ls(struct dma_desc *p) in dwmac4_get_tx_ls() 230 struct dma_desc *p = (struct dma_desc *)desc; in dwmac4_get_timestamp() local 242 struct dma_desc *p = (struct dma_desc *)desc; in dwmac4_rx_check_timestamp() local 269 struct dma_desc *p = (struct dma_desc *)desc; in dwmac4_wrback_get_rx_timestamp_status() local 414 struct dma_desc *p = (struct dma_desc *)head; in dwmac4_display_ring() local [all …]
|
A D | norm_desc.c | 16 struct dma_desc *p, void __iomem *ioaddr) in ndesc_get_tx_status() 64 static int ndesc_get_tx_len(struct dma_desc *p) in ndesc_get_tx_len() 74 struct dma_desc *p) in ndesc_get_rx_status() 153 static int ndesc_get_tx_owner(struct dma_desc *p) in ndesc_get_tx_owner() 158 static void ndesc_set_tx_owner(struct dma_desc *p) in ndesc_set_tx_owner() 168 static int ndesc_get_tx_ls(struct dma_desc *p) in ndesc_get_tx_ls() 214 static void ndesc_set_tx_ic(struct dma_desc *p) in ndesc_set_tx_ic() 250 struct dma_desc *p = (struct dma_desc *)desc; in ndesc_get_timestamp() local 262 struct dma_desc *p = (struct dma_desc *)desc; in ndesc_get_rx_timestamp_status() local 275 struct dma_desc *p = (struct dma_desc *)head; in ndesc_display_ring() local [all …]
|
A D | enh_desc.c | 16 struct dma_desc *p, void __iomem *ioaddr) in enh_desc_get_tx_status() 82 static int enh_desc_get_tx_len(struct dma_desc *p) in enh_desc_get_tx_len() 121 struct dma_extended_desc *p) in enh_desc_get_ext_status() 185 struct dma_desc *p) in enh_desc_get_rx_status() 285 static int enh_desc_get_tx_owner(struct dma_desc *p) in enh_desc_get_tx_owner() 290 static void enh_desc_set_tx_owner(struct dma_desc *p) in enh_desc_set_tx_owner() 300 static int enh_desc_get_tx_ls(struct dma_desc *p) in enh_desc_get_tx_ls() 354 static void enh_desc_set_tx_ic(struct dma_desc *p) in enh_desc_set_tx_ic() 395 struct dma_desc *p = (struct dma_desc *)desc; in enh_desc_get_timestamp() local 410 struct dma_desc *p = (struct dma_desc *)desc; in enh_desc_get_rx_timestamp_status() local [all …]
|
A D | descs_com.h | 22 static inline void ehn_desc_rx_set_on_ring(struct dma_desc *p, int end, in ehn_desc_rx_set_on_ring() 34 static inline void enh_desc_end_tx_desc_on_ring(struct dma_desc *p, int end) in enh_desc_end_tx_desc_on_ring() 42 static inline void enh_set_tx_desc_len_on_ring(struct dma_desc *p, int len) in enh_set_tx_desc_len_on_ring() 68 static inline void ndesc_end_tx_desc_on_ring(struct dma_desc *p, int end) in ndesc_end_tx_desc_on_ring() 76 static inline void norm_set_tx_desc_len_on_ring(struct dma_desc *p, int len) in norm_set_tx_desc_len_on_ring() 91 static inline void ehn_desc_rx_set_on_chain(struct dma_desc *p) in ehn_desc_rx_set_on_chain() 96 static inline void enh_desc_end_tx_desc_on_chain(struct dma_desc *p) in enh_desc_end_tx_desc_on_chain() 101 static inline void enh_set_tx_desc_len_on_chain(struct dma_desc *p, int len) in enh_set_tx_desc_len_on_chain() 107 static inline void ndesc_rx_set_on_chain(struct dma_desc *p, int end) in ndesc_rx_set_on_chain() 112 static inline void ndesc_tx_set_on_chain(struct dma_desc *p) in ndesc_tx_set_on_chain() [all …]
|
/linux/arch/arm/include/asm/ |
A D | bitops.h | 180 #define ATOMIC_BITOP(name,nr,p) \ argument 183 #define ATOMIC_BITOP(name,nr,p) _##name(nr,p) argument 189 #define set_bit(nr,p) ATOMIC_BITOP(set_bit,nr,p) argument 190 #define clear_bit(nr,p) ATOMIC_BITOP(clear_bit,nr,p) argument 191 #define change_bit(nr,p) ATOMIC_BITOP(change_bit,nr,p) argument 200 #define find_first_zero_bit(p,sz) _find_first_zero_bit_le(p,sz) argument 202 #define find_first_bit(p,sz) _find_first_bit_le(p,sz) argument 203 #define find_next_bit(p,sz,off) _find_next_bit_le(p,sz,off) argument 209 #define find_first_zero_bit(p,sz) _find_first_zero_bit_be(p,sz) argument 211 #define find_first_bit(p,sz) _find_first_bit_be(p,sz) argument [all …]
|
/linux/include/linux/ceph/ |
A D | decode.h | 19 static inline u64 ceph_decode_64(void **p) in ceph_decode_64() 25 static inline u32 ceph_decode_32(void **p) in ceph_decode_32() 31 static inline u16 ceph_decode_16(void **p) in ceph_decode_16() 37 static inline u8 ceph_decode_8(void **p) in ceph_decode_8() 57 #define ceph_decode_need(p, end, n, bad) \ argument 63 #define ceph_decode_64_safe(p, end, v, bad) \ argument 78 #define ceph_decode_8_safe(p, end, v, bad) \ argument 145 #define ceph_decode_skip_64(p, end, bad) \ argument 148 #define ceph_decode_skip_32(p, end, bad) \ argument 151 #define ceph_decode_skip_16(p, end, bad) \ argument [all …]
|
/linux/drivers/target/iscsi/ |
A D | iscsi_target_parameters.h | 175 #define IS_USE_ALL(p) ((p)->use & USE_ALL) argument 189 #define IS_SENDER_TARGET(p) ((p)->sender & SENDER_TARGET) argument 190 #define IS_SENDER_BOTH(p) ((p)->sender & SENDER_BOTH) argument 209 #define IS_PHASE_SECURITY(p) ((p)->phase & PHASE_SECURITY) argument 212 #define IS_PHASE_FFP0(p) ((p)->phase & PHASE_FFP0) argument 224 #define IS_TYPE_BOOL_AND(p) ((p)->type & TYPE_BOOL_AND) argument 225 #define IS_TYPE_BOOL_OR(p) ((p)->type & TYPE_BOOL_OR) argument 226 #define IS_TYPE_NUMBER(p) ((p)->type & TYPE_NUMBER) argument 228 #define IS_TYPE_STRING(p) ((p)->type & TYPE_STRING) argument 260 #define IS_TYPERANGE_SESSIONTYPE(p) ((p)->type_range & \ argument [all …]
|
/linux/drivers/net/ethernet/apm/xgene/ |
A D | xgene_enet_sgmac.c | 25 static void xgene_enet_wr_ring_if(struct xgene_enet_pdata *p, in xgene_enet_wr_ring_if() 31 static void xgene_enet_wr_diag_csr(struct xgene_enet_pdata *p, in xgene_enet_wr_diag_csr() 60 static int xgene_enet_ecc_init(struct xgene_enet_pdata *p) in xgene_enet_ecc_init() 160 static void xgene_sgmac_reset(struct xgene_enet_pdata *p) in xgene_sgmac_reset() 180 static u32 xgene_enet_link_status(struct xgene_enet_pdata *p) in xgene_enet_link_status() 197 static void xgene_sgmii_configure(struct xgene_enet_pdata *p) in xgene_sgmii_configure() 212 static void xgene_sgmii_reset(struct xgene_enet_pdata *p) in xgene_sgmii_reset() 225 static void xgene_sgmac_set_speed(struct xgene_enet_pdata *p) in xgene_sgmac_set_speed() 329 static void xgene_sgmac_init(struct xgene_enet_pdata *p) in xgene_sgmac_init() 437 static int xgene_enet_reset(struct xgene_enet_pdata *p) in xgene_enet_reset() [all …]
|
/linux/net/bridge/ |
A D | br_sysfs_if.c | 59 static int store_flag(struct net_bridge_port *p, unsigned long v, in store_flag() 92 static ssize_t show_priority(struct net_bridge_port *p, char *buf) in show_priority() 124 static ssize_t show_port_id(struct net_bridge_port *p, char *buf) in show_port_id() 155 static ssize_t show_message_age_timer(struct net_bridge_port *p, in show_message_age_timer() 169 static ssize_t show_hold_timer(struct net_bridge_port *p, in show_hold_timer() 188 static int store_group_fwd_mask(struct net_bridge_port *p, in store_group_fwd_mask() 250 static int store_multicast_router(struct net_bridge_port *p, in store_multicast_router() 305 struct net_bridge_port *p = kobj_to_brport(kobj); in brport_show() local 318 struct net_bridge_port *p = kobj_to_brport(kobj); in brport_store() local 370 int br_sysfs_addif(struct net_bridge_port *p) in br_sysfs_addif() [all …]
|
A D | br_if.c | 137 struct net_bridge_port *p; in br_manage_promisc() local 223 struct net_bridge_port *p; in nbp_update_port_count() local 251 struct net_bridge_port *p in release_nbp() local 284 struct net_bridge_port *p = in destroy_nbp_rcu() local 292 struct net_bridge_port *p; in get_max_headroom() local 306 struct net_bridge_port *p; in update_headroom() local 393 struct net_bridge_port *p; in find_portno() local 414 struct net_bridge_port *p; in new_nbp() local 538 struct net_bridge_port *p; in br_features_recompute() local 560 struct net_bridge_port *p; in br_add_if() local [all …]
|
/linux/tools/include/tools/ |
A D | le_byteshift.h | 7 static inline uint16_t __get_unaligned_le16(const uint8_t *p) in __get_unaligned_le16() 12 static inline uint32_t __get_unaligned_le32(const uint8_t *p) in __get_unaligned_le32() 17 static inline uint64_t __get_unaligned_le64(const uint8_t *p) in __get_unaligned_le64() 23 static inline void __put_unaligned_le16(uint16_t val, uint8_t *p) in __put_unaligned_le16() 29 static inline void __put_unaligned_le32(uint32_t val, uint8_t *p) in __put_unaligned_le32() 41 static inline uint16_t get_unaligned_le16(const void *p) in get_unaligned_le16() 46 static inline uint32_t get_unaligned_le32(const void *p) in get_unaligned_le32() 51 static inline uint64_t get_unaligned_le64(const void *p) in get_unaligned_le64() 56 static inline void put_unaligned_le16(uint16_t val, void *p) in put_unaligned_le16() 61 static inline void put_unaligned_le32(uint32_t val, void *p) in put_unaligned_le32() [all …]
|
A D | be_byteshift.h | 7 static inline uint16_t __get_unaligned_be16(const uint8_t *p) in __get_unaligned_be16() 12 static inline uint32_t __get_unaligned_be32(const uint8_t *p) in __get_unaligned_be32() 17 static inline uint64_t __get_unaligned_be64(const uint8_t *p) in __get_unaligned_be64() 23 static inline void __put_unaligned_be16(uint16_t val, uint8_t *p) in __put_unaligned_be16() 29 static inline void __put_unaligned_be32(uint32_t val, uint8_t *p) in __put_unaligned_be32() 41 static inline uint16_t get_unaligned_be16(const void *p) in get_unaligned_be16() 46 static inline uint32_t get_unaligned_be32(const void *p) in get_unaligned_be32() 51 static inline uint64_t get_unaligned_be64(const void *p) in get_unaligned_be64() 56 static inline void put_unaligned_be16(uint16_t val, void *p) in put_unaligned_be16() 61 static inline void put_unaligned_be32(uint32_t val, void *p) in put_unaligned_be32() [all …]
|
/linux/arch/arm/mach-ixp4xx/include/mach/ |
A D | io.h | 66 #define readb(p) __indirect_readb(p) argument 67 #define readw(p) __indirect_readw(p) argument 95 const void *p, int count) in __indirect_writesb() 120 const void *p, int count) in __indirect_writesw() 141 const void *p, int count) in __indirect_writesl() 165 void *p, u32 count) in __indirect_readsb() 190 void *p, u32 count) in __indirect_readsw() 213 void *p, u32 count) in __indirect_readsl() 360 #define ioread8(p) ioread8(p) argument 388 #define ioread16(p) ioread16(p) argument [all …]
|
/linux/drivers/watchdog/ |
A D | iTCO_wdt.c | 71 #define TCOBASE(p) ((p)->tco_res->start) argument 73 #define SMI_EN(p) ((p)->smi_res->start) argument 150 static inline u32 no_reboot_bit(struct iTCO_wdt_private *p) in no_reboot_bit() 179 struct iTCO_wdt_private *p = priv; in update_no_reboot_bit_pci() local 199 struct iTCO_wdt_private *p = priv; in update_no_reboot_bit_mem() local 219 struct iTCO_wdt_private *p = priv; in update_no_reboot_bit_cnt() local 269 struct iTCO_wdt_private *p = watchdog_get_drvdata(wd_dev); in iTCO_wdt_start() local 304 struct iTCO_wdt_private *p = watchdog_get_drvdata(wd_dev); in iTCO_wdt_stop() local 465 struct iTCO_wdt_private *p; in iTCO_wdt_probe() local 617 struct iTCO_wdt_private *p = dev_get_drvdata(dev); in iTCO_wdt_suspend_noirq() local [all …]
|
/linux/include/linux/ |
A D | parport_pc.h | 9 #define ECONTROL(p) ((p)->base_hi + 0x2) argument 10 #define CONFIGB(p) ((p)->base_hi + 0x1) argument 11 #define CONFIGA(p) ((p)->base_hi + 0x0) argument 12 #define FIFO(p) ((p)->base_hi + 0x0) argument 13 #define EPPDATA(p) ((p)->base + 0x4) argument 14 #define EPPADDR(p) ((p)->base + 0x3) argument 15 #define CONTROL(p) ((p)->base + 0x2) argument 16 #define STATUS(p) ((p)->base + 0x1) argument 17 #define DATA(p) ((p)->base + 0x0) argument 217 static __inline__ void parport_pc_disable_irq(struct parport *p) in parport_pc_disable_irq() [all …]
|
/linux/drivers/crypto/ccp/ |
A D | ccp-dev-v5.c | 137 #define CCP_AES_SIZE(p) ((p)->aes.size) argument 139 #define CCP_AES_MODE(p) ((p)->aes.mode) argument 140 #define CCP_AES_TYPE(p) ((p)->aes.type) argument 148 #define CCP_SHA_TYPE(p) ((p)->sha.type) argument 156 #define CCP5_CMD_DW0(p) ((p)->dw0) argument 166 #define CCP5_CMD_DW1(p) ((p)->length) argument 170 #define CCP5_CMD_DW2(p) ((p)->src_lo) argument 174 #define CCP5_CMD_DW3(p) ((p)->dw3) argument 181 #define CCP5_CMD_DW4(p) ((p)->dw4) argument 191 #define CCP5_CMD_DW6(p) ((p)->key_lo) argument [all …]
|
/linux/drivers/gpu/drm/i915/ |
A D | i915_syncmap.c | 99 static inline u32 *__sync_seqno(struct i915_syncmap *p) in __sync_seqno() 118 __sync_leaf_idx(const struct i915_syncmap *p, u64 id) in __sync_leaf_idx() 156 struct i915_syncmap *p; in i915_syncmap_is_later() local 201 struct i915_syncmap *p; in __sync_alloc_leaf() local 219 __sync_seqno(p)[idx] = seqno; in __sync_set_seqno() local 227 __sync_child(p)[idx] = child; in __sync_set_child() local 232 struct i915_syncmap *p = *root; in __sync_set() local 299 __sync_child(p->parent)[idx] = next; in __sync_set() local 355 struct i915_syncmap *p = *root; in i915_syncmap_set() local 369 static void __sync_free(struct i915_syncmap *p) in __sync_free() [all …]
|
/linux/drivers/thermal/ |
A D | thermal_netlink.c | 113 static int thermal_genl_event_tz(struct param *p) in thermal_genl_event_tz() 228 struct param *p) in thermal_genl_send_event() 263 struct param p = { .tz_id = tz_id, .name = name }; in thermal_notify_tz_create() local 270 struct param p = { .tz_id = tz_id }; in thermal_notify_tz_delete() local 277 struct param p = { .tz_id = tz_id }; in thermal_notify_tz_enable() local 284 struct param p = { .tz_id = tz_id }; in thermal_notify_tz_disable() local 339 struct param p = { .cdev_id = cdev_id, .name = name, in thermal_notify_cdev_add() local 347 struct param p = { .cdev_id = cdev_id }; in thermal_notify_cdev_delete() local 354 struct param p = { .tz_id = tz_id, .name = name }; in thermal_notify_tz_gov_change() local 548 struct param p = { .msg = skb }; in thermal_genl_cmd_dumpit() local [all …]
|
/linux/arch/ia64/kernel/ |
A D | mca_drv.h | 43 #define peidx_head(p) (((p)->info)) argument 44 #define peidx_mid(p) (((p)->id)) argument 45 #define peidx_bottom(p) (((p)->regs)) argument 47 #define peidx_psp(p) (&(peidx_head(p)->proc_state_parameter)) argument 48 #define peidx_field_valid(p) (&(peidx_head(p)->valid)) argument 49 #define peidx_minstate_area(p) (&(peidx_bottom(p)->min_state_area)) argument 52 #define peidx_tlb_check_num(p) (peidx_head(p)->valid.num_tlb_check) argument 53 #define peidx_bus_check_num(p) (peidx_head(p)->valid.num_bus_check) argument 55 #define peidx_ms_check_num(p) (peidx_head(p)->valid.num_ms_check) argument 57 #define peidx_cache_check_idx(p, n) (n) argument [all …]
|
/linux/drivers/parport/ |
A D | parport_gsc.h | 45 #define EPPDATA(p) ((p)->base + 0x4) argument 46 #define EPPADDR(p) ((p)->base + 0x3) argument 47 #define CONTROL(p) ((p)->base + 0x2) argument 48 #define STATUS(p) ((p)->base + 0x1) argument 49 #define DATA(p) ((p)->base + 0x0) argument 79 static inline unsigned char parport_gsc_read_data(struct parport *p) in parport_gsc_read_data() 108 static inline void parport_gsc_data_reverse(struct parport *p) in parport_gsc_data_reverse() 113 static inline void parport_gsc_data_forward(struct parport *p) in parport_gsc_data_forward() 118 static inline void parport_gsc_write_control(struct parport *p, in parport_gsc_write_control() 178 static inline void parport_gsc_disable_irq(struct parport *p) in parport_gsc_disable_irq() [all …]
|
A D | parport_amiga.c | 32 static void amiga_write_data(struct parport *p, unsigned char data) in amiga_write_data() 40 static unsigned char amiga_read_data(struct parport *p) in amiga_read_data() 54 static void amiga_write_control(struct parport *p, unsigned char control) in amiga_write_control() 60 static unsigned char amiga_read_control( struct parport *p) in amiga_read_control() 91 static unsigned char amiga_read_status(struct parport *p) in amiga_read_status() 100 static void amiga_enable_irq(struct parport *p) in amiga_enable_irq() 105 static void amiga_disable_irq(struct parport *p) in amiga_disable_irq() 110 static void amiga_data_forward(struct parport *p) in amiga_data_forward() 117 static void amiga_data_reverse(struct parport *p) in amiga_data_reverse() 132 static void amiga_save_state(struct parport *p, struct parport_state *s) in amiga_save_state() [all …]
|
A D | parport_atari.c | 25 parport_atari_read_data(struct parport *p) in parport_atari_read_data() 38 parport_atari_write_data(struct parport *p, unsigned char data) in parport_atari_write_data() 49 parport_atari_read_control(struct parport *p) in parport_atari_read_control() 63 parport_atari_write_control(struct parport *p, unsigned char control) in parport_atari_write_control() 77 parport_atari_frob_control(struct parport *p, unsigned char mask, in parport_atari_frob_control() 86 parport_atari_read_status(struct parport *p) in parport_atari_read_status() 108 parport_atari_enable_irq(struct parport *p) in parport_atari_enable_irq() 114 parport_atari_disable_irq(struct parport *p) in parport_atari_disable_irq() 120 parport_atari_data_forward(struct parport *p) in parport_atari_data_forward() 132 parport_atari_data_reverse(struct parport *p) in parport_atari_data_reverse() [all …]
|